Comments (3)
gyp ERR! node -v v16.18.1
gyp ERR! node-gyp -v v7.1.2
Both of these tools are end-of-life. https://github.com/nodejs/Release/blob/main/README.md
Please proved the command typed and the full error log when opening issues.
from node-gyp.
the command typed is : yarn
npm version 10.5.2
node -v: 18.18.2
[4/4] Building fresh packages...
error C:\prj\node_modules\node-pty: Command failed.
Exit code: 1
Command: node scripts/install.js
Arguments:
Directory: C:\prj\node_modules\node-pty
Output:
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | win32 | x64
gyp info find Python using Python version 3.10.4 found at "C:\Users\tools\python-3.10.4\python.exe"
gyp info find VS using VS2019 (16.11.32228.343) found at:
gyp info find VS "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools"
gyp info find VS run with --verbose for detailed information
(node:9756) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only.
(Use node --trace-deprecation ...
to show where the warning was created)
gyp info spawn C:\Users\python-3.10.4\python.exe
gyp info spawn args [
gyp info spawn args 'C:\prj\node_modules\@npmcli\run-script\node_modules\node-gyp\gyp\gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'msvs',
gyp info spawn args '-I',
gyp info spawn args 'C:\prj\node_modules\node-pty\build\config.gypi',
gyp info spawn args '-I',
gyp info spawn args 'C:\prj\node_modules\@npmcli\run-script\node_modules\node-gyp\addon.gypi',
gyp info spawn args '-I',
gyp info spawn args 'C:\Users\xxxx\AppData\Local\node-gyp\Cache\18.18.2\include\node\common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=C:\Users\xxx\AppData\Local\node-gyp\Cache\18.18.2',
gyp info spawn args '-Dnode_gyp_dir=C:\prj\node_modules\@npmcli\run-script\node_modules\node-gyp',
gyp info spawn args '-Dnode_lib_file=C:\\Users\\xxx\\AppData\\Local\\node-gyp\\Cache\\18.18.2\\<(target_arch)\\node.lib',
gyp info spawn args '-Dmodule_root_dir=C:\prj\node_modules\node-pty',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'C:\prj\node_modules\node-pty\build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
'cmd' is not recognized as an internal or external command,
operable program or batch file.
gyp: Call to 'cmd /c "cd shared && GetCommitHash.bat"' returned exit status 1 while in deps\winpty\src\winpty.gyp. while loading dependencies of binding.gyp while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: gyp
failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (C:\prj\node_modules@npmcli\run-script\node_modules\node-gyp\lib\configure.js:351:16)
gyp ERR! stack at ChildProcess.emit (node:events:517:28)
gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:292:12)
gyp ERR! System Windows_NT 10.0.19045
gyp ERR! command "C:\Users\safin\cube2-env\tools\node-18.18.2\node.exe" "C:\prj\node_modules\@npmcli\run-script\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\prj\node_modules\node-pty
gyp ERR! node -v v18.18.2
gyp ERR! node-gyp -v v7.1.2
gyp ERR! not ok
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
from node-gyp.
gyp info using [email protected]
'cmd' is not recognized as an internal or external command,
operable program or batch file.
gyp: Call to 'cmd /c "cd shared && GetCommitHash.bat"' returned exit status 1
Seems strange to meβ¦
from node-gyp.
Related Issues (20)
- node-gyp keep downloading header even there is cache
- M2 yarn install failed? HOT 4
- Why gyp is using unofficial-builds.nodejs.org to download node-headers ? HOT 1
- cannot install better-sqlite3 HOT 2
- Mutable default arguments in Python code HOT 1
- tar.Extract is not a function HOT 2
- find-python broke with 18.20.0 (?) on ARM HOT 5
- gyp ERR! UNCAUGHT EXCEPTION gyp ERR! stack Error: spawn C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\15.0\Bin\MSBuild.exe ENOENT
- [Request] Upgrade tar to v6.2.1 HOT 6
- test/test-find-visualstudio.js may fail on Windows on ARM
- complie_commands.json generated by node-gyp doesn't be in clangd search path. HOT 6
- generate compile_commands.json automatically
- Generate .gitignore and .hgignore in build
- Customize default generator
- node-gyp `binding.gyp not found` error HOT 1
- some suggestions about node-gyp build command
- error saat menjalankan "npm install imagemin-webpack-plugin [email protected] --save-dev" HOT 2
- Install of local node packages fails for node-gyp with error "Cannot assign to read only property 'cflags' of object" HOT 9
- Node.js v22: RangeError: Maximum call stack size exceeded HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-gyp.