Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloudformation stack get error because of nodes 6.x #9

Open
gitblessk opened this issue Jun 11, 2019 · 3 comments
Open

Cloudformation stack get error because of nodes 6.x #9

gitblessk opened this issue Jun 11, 2019 · 3 comments

Comments

@gitblessk
Copy link

Hello,

Can anyone update the stack?

I tried to run the stack, it get error because lambda is nodejs 6.x, can anyone update the stack to meet the new version 10.x?

Thanks

@samhstein
Copy link

worked with updating the template, also make sure to run in n. virginia region for
access to the pubz bucket for the lamba function.

"Runtime": "nodejs8.10",

@gitblessk
Copy link
Author

worked with updating the template, also make sure to run in n. virginia region for
access to the pubz bucket for the lamba function.

"Runtime": "nodejs8.10",

OK & Thx.

@davidsteed
Copy link

I tried nodejs10.x and this did not work got "errorType": "Runtime.ImportModuleError",
"errorMessage": "Error: Cannot find module 'app'",
"stack": [
"Runtime.ImportModuleError: Error: Cannot find module 'app'",
" at _loadUserApp (/var/runtime/UserFunction.js:100:13)",
" at Object.module.exports.load (/var/runtime/UserFunction.js:140:17)",
" at Object. (/var/runtime/index.js:36:30)",
" at Module._compile (internal/modules/cjs/loader.js:776:30)",
" at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)",
" at Module.load (internal/modules/cjs/loader.js:653:32)",
" at tryModuleLoad (internal/modules/cjs/loader.js:593:12)",
" at Function.Module._load (internal/modules/cjs/loader.js:585:3)",
" at Function.Module.runMain (internal/modules/cjs/loader.js:829:12)",
" at startup (internal/bootstrap/node.js:283:19)"
]
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants