Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing the package throws npm error #2

Open
briskteq-faiz opened this issue Mar 9, 2023 · 0 comments
Open

Installing the package throws npm error #2

briskteq-faiz opened this issue Mar 9, 2023 · 0 comments

Comments

@briskteq-faiz
Copy link

npm ERR! code 1
npm ERR! path D:\Faiz\Gatsby\app\node_modules\mozjpeg
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node lib/install.js
npm ERR! node:internal/modules/cjs/loader:1050
npm ERR! throw err;
npm ERR! ^
npm ERR!
npm ERR! Error: Cannot find module 'bin-build'
npm ERR! Require stack:
npm ERR! - D:\Faiz\Gatsby\app\node_modules\mozjpeg\lib\install.js
npm ERR! at Module._resolveFilename (node:internal/modules/cjs/loader:1047:15)
npm ERR! at Module._load (node:internal/modules/cjs/loader:893:27)
npm ERR! at Module.require (node:internal/modules/cjs/loader:1113:19)
npm ERR! at require (node:internal/modules/cjs/helpers:103:18)
npm ERR! at Object. (D:\Faiz\Gatsby\app\node_modules\mozjpeg\lib\install.js:4:18)
npm ERR! at Module._compile (node:internal/modules/cjs/loader:1226:14)
npm ERR! at Module._extensions..js (node:internal/modules/cjs/loader:1280:10)
npm ERR! at Module.load (node:internal/modules/cjs/loader:1089:32)
npm ERR! at Module._load (node:internal/modules/cjs/loader:930:12)
npm ERR! at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) {
npm ERR! code: 'MODULE_NOT_FOUND',
npm ERR! requireStack: [ 'D:\Faiz\Gatsby\app\node_modules\mozjpeg\lib\install.js' ]
npm ERR! }
2023-03-09T05_54_05_269Z-debug-0.log

npm ERR!
npm ERR! Node.js v18.14.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant