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

Windows_NT 10.0.19045 #2953

Closed
nhdlam05 opened this issue Dec 15, 2023 · 3 comments
Closed

Windows_NT 10.0.19045 #2953

nhdlam05 opened this issue Dec 15, 2023 · 3 comments
Labels

Comments

@nhdlam05
Copy link

nhdlam05 commented Dec 15, 2023

can't npm install when use node v14 and Visual Studio 2022, node-gyp 9.4.0

yp ERR! configure error
gyp ERR! stack Error: gyp failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (C:\Users\Admin\AppData\Roaming\nvm\v14.21.3\node_modules\node-gyp\lib\configure.js:325:16)
gyp ERR! stack at ChildProcess.emit (events.js:400:28)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:285:12)
gyp ERR! System Windows_NT 10.0.19045
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd D:\sleek-bitbucket\sleek-back\node_modules\mmmagic
gyp ERR! node -v v14.21.3
gyp ERR! node-gyp -v v9.4.0
gyp ERR! not ok

@StefanStojanovic
Copy link
Contributor

Node v14 is no longer supported, The lowest version that is currently supported is v18.

@cclauss
Copy link
Contributor

cclauss commented Dec 15, 2023

README.md must be updated to reflect that:

Multiple target versions of Node.js are supported (i.e. 0.8, ..., 4, 5, 6, etc.), regardless of what version of Node.js is actually installed on your system (node-gyp downloads the necessary development files or headers for the target version).

@StefanStojanovic
Copy link
Contributor

Since the docs PR landed and there was no other feedback, I'm closing this issue.

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

No branches or pull requests

3 participants