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.
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?