This message was deleted.
# general
s
This message was deleted.
g
Are these files in the same project or different projects? it looks like you need to run
npm install
for the second one to install the project's dependencies.
f
it’s the same
I also notice in this example, https://github.com/pulumi/examples/blob/4b978f90d0abfac5e3c8086f7c125a5b09972afa/cloud-js-twitter-athena/index.js . the
require
twitter
inside the
cloud.timer.interval
callback. Instead of importing it on top of the file. Is it somehow related? Can’t
config.require(..)
inside callback and have to
require
twitter
inside the callback?