Open StephenMarkToms opened 4 years ago
Thanks. This fixed the following error for me:
Something went wrong installing the "sharp" module
Cannot find module '../build/Release/sharp.node'
Thanks. This fixed the following error for me:
Something went wrong installing the "sharp" module Cannot find module '../build/Release/sharp.node'
Anytime! :)
Working off of the latest version of the repository and found a bug and a solution. Documenting here the bug and fix incase anyone else is having the issue:
error on build looks something like this: Cannot find module '/Users/stephentoms/Sites/Sutura/node_modules/responsive-loader/lib/index.js/sharp' Require stack:
/Users/stephentoms/Sites/Sutura/server/index.js
Error: Cannot find module 'node_modules/responsive-loader/lib/index.js/sharp' Require stack:
Fix is to by installing responsive-loader as a dependency to the project till the dependency is updated in this package.
npm i responsive-loader@latest