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

getting this issue when trying to install it using npm #916

Closed
ghost opened this issue Jan 23, 2022 · 2 comments
Closed

getting this issue when trying to install it using npm #916

ghost opened this issue Jan 23, 2022 · 2 comments

Comments

@ghost
Copy link

ghost commented Jan 23, 2022

npm i bcrypt
npm ERR! code 1
npm ERR! path D:\LEARN & PRACTICE\WEB DEVELOPMENT\LEARNING\ANJELA YU BOOTCAMP\32. Authentication & Security\2.1 Secrets - Starting Code\Secrets - Starting Code\node_modules\bcrypt
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node-pre-gyp install --fallback-to-build
npm ERR! The system cannot find the path specified.
npm ERR! The system cannot find the path specified.
npm ERR! node:internal/modules/cjs/loader:936
npm ERR! throw err;
npm ERR! ^
npm ERR!
npm ERR! Error: Cannot find module 'D:@mapbox\node-pre-gyp\bin\node-pre-gyp'
npm ERR! at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
npm ERR! at Function.Module._load (node:internal/modules/cjs/loader:778:27)
npm ERR! at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
npm ERR! at node:internal/main/run_main_module:17:47 {
npm ERR! code: 'MODULE_NOT_FOUND',
npm ERR! requireStack: []
npm ERR! }

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\yash\AppData\Local\npm-cache_logs\2022-01-23T19_26_21_637Z-debug.log

@Frezeralfred
Copy link

upgrade node to LTS using nvm and also update npm**(npm update -g)**

@recrsn
Copy link
Collaborator

recrsn commented Oct 6, 2022

Tracking it here: #961

@recrsn recrsn closed this as completed Oct 6, 2022
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

2 participants