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

Module initialisation Error #49

Open
doles2 opened this issue Oct 23, 2019 · 0 comments
Open

Module initialisation Error #49

doles2 opened this issue Oct 23, 2019 · 0 comments

Comments

@doles2
Copy link

doles2 commented Oct 23, 2019

Hi, looks like a great function, thank you!

While deployment works, and npm test works, the actual function doesn't. Whenever the lambda function triggers, it posts this error.

module initialization error: Error
at Object.fs.openSync (fs.js:646:18)
at Object.fs.readFileSync (fs.js:551:33)
at Object.Module._extensions..js (module.js:662:20)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)

I've tried with permissions to set every file to 777, tried zipping and manual upload.

Any ideas?

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

1 participant