npm module error
See original GitHub issueran through the install steps, ran into an issue when running my test:
{ "errorMessage": "The module '/var/task/node_modules/sharp/build/Release/sharp.node'\nwas compiled against a different Node.js version using\nNODE_MODULE_VERSION 48. This version of Node.js requires\nNODE_MODULE_VERSION 57. Please try re-compiling or re-installing\nthe module (for instance, using
npm rebuildor
npm install).", "errorType": "Error", "stackTrace": [ "NODE_MODULE_VERSION 48. This version of Node.js requires", "NODE_MODULE_VERSION 57. Please try re-compiling or re-installing", "the module (for instance, using
npm rebuildor
npm install).", "Object.Module._extensions..node (module.js:681:18)", "Module.load (module.js:565:32)", "tryModuleLoad (module.js:505:12)", "Function.Module._load (module.js:497:3)", "Module.require (module.js:596:17)", "require (internal/module.js:11:18)", "Object.<anonymous> (/var/task/node_modules/sharp/lib/constructor.js:10:15)", "Module._compile (module.js:652:30)", "Object.Module._extensions..js (module.js:663:10)", "Module.load (module.js:565:32)" ] }
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (4 by maintainers)
Top GitHub Comments
Oh, okay. That’s interesting. Anyway I am going to update README with latest instructions. So I will test everything asap.
@bsweaty @mxnr One more thing that has to be mentioned: You may get the error Access Denied. To fix that you need to Your bucket -> Public access settings -> Edit. Then uncheck the corresponding fields: (I do not use Remove so I have kept that one) Of course I will put this in README soon.