-
Notifications
You must be signed in to change notification settings - Fork 288
Closed
Description
npm i node-pty
npm error code 7
npm error path D:\MewaxAllApp\OptiumStudio\TEST4\node_modules\node-pty
npm error command failed
npm error command C:\Windows\system32\cmd.exe /d /s /c node-gyp rebuild
npm error gyp info it worked if it ends with ok
npm error gyp info using node-gyp@6.1.0
npm error gyp info using node@20.12.2 | win32 | x64
npm error gyp info find Python using Python version 3.12.3 found at "C:\Python312\python.exe"
npm error gyp info find VS using VS2019 (16.11.34729.46) found at:
npm error gyp info find VS "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools"
npm error gyp info find VS run with --verbose for detailed information
npm error gyp ERR! UNCAUGHT EXCEPTION
npm error gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#<Object>'
npm error gyp ERR! stack at createConfigFile (D:\MewaxAllApp\OptiumStudio\TEST4\node_modules\node-gyp\lib\configure.js:118:21)
npm error gyp ERR! stack at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
npm error gyp ERR! System Windows_NT 10.0.22631
npm error gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "D:\\MewaxAllApp\\OptiumStudio\\TEST4\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
npm error gyp ERR! cwd D:\MewaxAllApp\OptiumStudio\TEST4\node_modules\node-pty
npm error gyp ERR! node -v v20.12.2
npm error gyp ERR! node-gyp -v v6.1.0
npm error gyp ERR! This is a bug in `node-gyp`.
npm error gyp ERR! Try to update node-gyp and file an Issue if it does not help:
npm error gyp ERR! <https://github.com/nodejs/node-gyp/issues>
npm error A complete log of this run can be found in: C:\Users\ant-1\AppData\Local\npm-cache\_logs\2024-12-01T20_17_22_893Z-debug-0.log
my json package :
{
"name": "optium-studio",
"version": "1.23.1",
"main": "main.js",
"devDependencies": {
"electron": "^32.2.2",
"electron-rebuild": "^1.11.0",
"electron-tools": "^2.4.2"
},
"scripts": {
"start": "electron .",
"rebuild": "electron-rebuild -f -w node-pty"
},
"author": "MewaxCorp",
"license": "ISC",
"description": "",
"dependencies": {
"@vscode/codicons": "^0.0.36",
"fs": "^0.0.1-security",
"monaco-editor": "^0.52.0",
"monaco-emmet": "^3.1.1",
"path": "^0.12.7",
"xterm": "^5.3.0"
}
}
huynguyeexn
Metadata
Metadata
Assignees
Labels
No labels