-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
it is not installing even after i installed vs build tools and also node-gyp
how to install this?
how to connect it to gridbd which is running in docker while nodejs is in windows.
C:\Users\Priyanshu Singh\Desktop\griddb-sample-app>npm install griddb-node-api
npm warn cleanup Failed to remove some directories [
npm warn cleanup [
npm warn cleanup 'C:\\Users\\Priyanshu Singh\\Desktop\\griddb-sample-app\\node_modules\\griddb-node-api',
npm warn cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\Priyanshu Singh\Desktop\griddb-sample-app\node_modules\griddb-node-api\build'] {
npm warn cleanup errno: -4048,
npm warn cleanup code: 'EPERM',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'C:\\Users\\Priyanshu Singh\\Desktop\\griddb-sample-app\\node_modules\\griddb-node-api\\build'
npm warn cleanup }
npm warn cleanup ]
npm warn cleanup ]
npm error code 1
npm error path C:\Users\Priyanshu Singh\Desktop\griddb-sample-app\node_modules\griddb-node-api
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@10.1.0
npm error gyp info using node@18.20.5 | win32 | x64
npm error gyp info find Python using Python version 3.11.9 found at "C:\Users\Priyanshu Singh\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\python.exe"
npm error gyp info find VS using VS2022 (17.12.35521.163) found at:
npm error gyp info find VS "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools"
npm error gyp info find VS run with --verbose for detailed information
npm error gyp info spawn C:\Users\Priyanshu Singh\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\python.exe
npm error gyp info spawn args [
npm error gyp info spawn args 'C:\\Users\\Priyanshu Singh\\AppData\\Roaming\\nvm\\v18.20.5\\node_modules\\npm\\node_modules\\node-gyp\\gyp\\gyp_main.py',
npm error gyp info spawn args 'binding.gyp',
npm error gyp info spawn args '-f',
npm error gyp info spawn args 'msvs',
npm error gyp info spawn args '-I',
npm error gyp info spawn args 'C:\\Users\\Priyanshu Singh\\Desktop\\griddb-sample-app\\node_modules\\griddb-node-api\\build\\config.gypi',
npm error gyp info spawn args '-I',
npm error gyp info spawn args 'C:\\Users\\Priyanshu Singh\\AppData\\Roaming\\nvm\\v18.20.5\\node_modules\\npm\\node_modules\\node-gyp\\addon.gypi',
npm error gyp info spawn args '-I',
npm error gyp info spawn args 'C:\\Users\\Priyanshu Singh\\AppData\\Local\\node-gyp\\Cache\\18.20.5\\include\\node\\common.gypi',
npm error gyp info spawn args '-Dlibrary=shared_library',
npm error gyp info spawn args '-Dvisibility=default',
npm error gyp info spawn args '-Dnode_root_dir=C:\\Users\\Priyanshu Singh\\AppData\\Local\\node-gyp\\Cache\\18.20.5',
npm error gyp info spawn args '-Dnode_gyp_dir=C:\\Users\\Priyanshu Singh\\AppData\\Roaming\\nvm\\v18.20.5\\node_modules\\npm\\node_modules\\node-gyp',
npm error gyp info spawn args '-Dnode_lib_file=C:\\\\Users\\\\Priyanshu Singh\\\\AppData\\\\Local\\\\node-gyp\\\\Cache\\\\18.20.5\\\\<(target_arch)\\\\node.lib',
npm error gyp info spawn args '-Dmodule_root_dir=C:\\Users\\Priyanshu Singh\\Desktop\\griddb-sample-app\\node_modules\\griddb-node-api',
npm error gyp info spawn args '-Dnode_engine=v8',
npm error gyp info spawn args '--depth=.',
npm error gyp info spawn args '--no-parallel',
npm error gyp info spawn args '--generator-output',
npm error gyp info spawn args 'C:\\Users\\Priyanshu Singh\\Desktop\\griddb-sample-app\\node_modules\\griddb-node-api\\build',
npm error gyp info spawn args '-Goutput_dir=.'
npm error gyp info spawn args ]
npm error gyp: binding.gyp not found (cwd: C:\Users\Priyanshu Singh\Desktop\griddb-sample-app\node_modules\griddb-node-api) while trying to load binding.gyp
npm error gyp ERR! configure error
npm error gyp ERR! stack Error: `gyp` failed with exit code: 1
npm error gyp ERR! stack at ChildProcess.<anonymous> (C:\Users\Priyanshu Singh\AppData\Roaming\nvm\v18.20.5\node_modules\npm\node_modules\node-gyp\lib\configure.js:297:18)
npm error gyp ERR! stack at ChildProcess.emit (node:events:517:28)
npm error gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:292:12)
npm error gyp ERR! System Windows_NT 10.0.26100
npm error gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\Priyanshu Singh\\AppData\\Roaming\\nvm\\v18.20.5\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
npm error gyp ERR! cwd C:\Users\Priyanshu Singh\Desktop\griddb-sample-app\node_modules\griddb-node-api
npm error gyp ERR! node -v v18.20.5
npm error gyp ERR! node-gyp -v v10.1.0
npm error gyp ERR! not ok
npm error A complete log of this run can be found in: C:\Users\Priyanshu Singh\AppData\Local\npm-cache\_logs\2024-11-27T05_47_22_161Z-debug-0.log
these are the errors
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
