kflGALORE/generate-file-webpack-plugin

Sharp module error when using node 14.15.3

Closed this issue · 0 comments

Great plugin but getting an error when using Node v14.15.3. It works with Node v13.14.0


Module did not self-register: '\\?\C:\Dev\tenjo-apps\node_modules\sharp\build\Release\sharp.node'.

- Remove the "node_modules/sharp" directory, run "npm install" and look for errors
- Consult the installation documentation at https://sharp.pixelplumbing.com/en/stable/install/ 
- Search for this error at https://github.com/lovell/sharp/issues

(node:14812) UnhandledPromiseRejectionWarning: Error: exec: 
Something went wrong installing the "sharp" module

Module did not self-register: '//?/C:/Dev/tenjo-apps/node_modules/sharp/build/Release/sharp.node'.

- Remove the "node_modules/sharp" directory, run "npm install" and look for errors
- Consult the installation documentation at https://sharp.pixelplumbing.com/en/stable/install/ 
- Search for this error at https://github.com/lovell/sharp/issues