You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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.I've tried with permissions to set every file to 777, tried zipping and manual upload.
Any ideas?
The text was updated successfully, but these errors were encountered: