Installing sqlite3: @npmcli/move-file is deprecated, use @npmcli/fs instead #2854
Open
Description
npm WARN deprecated @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs
npm WARN cleanup Failed to remove some directories [
npm WARN cleanup [
npm WARN cleanup 'C:\\Users\\ext-kastured\\Desktop\\DhanashriNK\\Angular\\CopyAMS\\AMS\\ams\\node_modules\\sqlite3\\node_modules',
npm WARN cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\ext-kastured\Desktop\DhanashriNK\Angular\CopyAMS\AMS\ams\node_modules\sqlite3\node_modules\node-gyp\test\fixtures\nodedir\include\node'] {
npm WARN cleanup errno: -4048,
npm WARN cleanup code: 'EPERM',
npm WARN cleanup syscall: 'rmdir',
npm WARN cleanup path: 'C:\\Users\\ext-kastured\\Desktop\\DhanashriNK\\Angular\\CopyAMS\\AMS\\ams\\node_modules\\sqlite3\\node_modules\\node-gyp\\test\\fixtures\\nodedir\\include\\node'
npm WARN cleanup }
npm WARN cleanup ],
npm WARN cleanup [
npm WARN cleanup 'C:\\Users\\ext-kastured\\Desktop\\DhanashriNK\\Angular\\CopyAMS\\AMS\\ams\\node_modules\\sqlite3',npm WARN cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\ext-kastured\Desktop\DhanashriNK\Angular\CopyAMS\AMS\ams\node_modules\sqlite3\node_modules\node-gyp\test\fixtures\nodedir\include'] {
npm WARN cleanup errno: -4048,
npm WARN cleanup code: 'EPERM',
npm WARN cleanup syscall: 'rmdir',
npm WARN cleanup path: 'C:\\Users\\ext-kastured\\Desktop\\DhanashriNK\\Angular\\CopyAMS\\AMS\\ams\\node_modules\\sqlite3\\node_modules\\node-gyp\\test\\fixtures\\nodedir\\include'
npm WARN cleanup }
npm WARN cleanup ]
npm WARN cleanup ]
npm ERR! code 1
npm ERR! path C:\Users\ext-kastured\Desktop\DhanashriNK\Angular\CopyAMS\AMS\ams\node_modules\sqlite3
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node-pre-gyp install --fallback-to-build
npm ERR! Failed to execute 'C:\Program Files\nodejs\node.exe C:\Users\ext-kastured\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\Users\ext-kastured\Desktop\DhanashriNK\Angular\CopyAMS\AMS\ams\node_modules\sqlite3\lib\binding\napi-v6-win32-unknown-x64\node_sqlite3.node --module_name=node_sqlite3 --module_path=C:\Users\ext-kastured\Desktop\DhanashriNK\Angular\CopyAMS\AMS\ams\node_modules\sqlite3\lib\binding\napi-v6-win32-unknown-x64 --napi_version=8 --node_abi_napi=napi --napi_build_version=6 --node_napi_label=napi-v6' (1)
npm ERR! node-pre-gyp info it worked if it ends with ok
npm ERR! node-pre-gyp info using node-pre-gyp@0.17.0
npm ERR! node-pre-gyp info using node@18.14.2 | win32 | x64
npm ERR! node-pre-gyp WARN Using needle for node-pre-gyp https download
npm ERR! node-pre-gyp info check checked for "C:\Users\ext-kastured\Desktop\DhanashriNK\Angular\CopyAMS\AMS\ams\node_modules\sqlite3\lib\binding\napi-v6-win32-unknown-x64\node_sqlite3.node" (not found)
npm ERR! node-pre-gyp http GET https://github.com/TryGhost/node-sqlite3/releases/download/v5.1.6/napi-v6-win32-unknown-x64.tar.gz
npm ERR! node-pre-gyp WARN Pre-built binaries not installable for sqlite3@5.1.6 and node@18.14.2 (node-v108 ABI, unknown) (falling back to source compile with node-gyp)
npm ERR! node-pre-gyp WARN Hit error ENOENT: no such file or directory, open 'C:\KBData\DigiCertHighAssuranceEVRootCA'
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@9.3.1
npm ERR! gyp info using node@18.14.2 | win32 | x64
npm ERR! gyp info ok
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@9.3.1
npm ERR! gyp info using node@18.14.2 | win32 | x64
npm ERR! gyp info find Python using Python version 3.7.8 found at "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\python.exe"
npm ERR! gyp http GET https://nodejs.org/download/release/v18.14.2/node-v18.14.2-headers.tar.gz
npm ERR! gyp WARN install got an error, rolling back install
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: ENOENT: no such file or directory, open 'C:\KBData\DigiCertHighAssuranceEVRootCA'
npm ERR! gyp ERR! System Windows_NT 10.0.19044
npm ERR! gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\ext-kastured\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "configure" "--fallback-to-build" "--module=C:\\Users\\ext-kasturee_sqlite3.node" "--module_name=node_sqlite3" "--module_path=C:\\Users\\ext-kastured\\Desktop\\DhanashriNK\\Angular\\CopyAMS\\AMS\\ams\\node_modules\\sqlite3\\lib\\binding\\napi-v6-win32-unknown-x64" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=6" "--node_napi_label=napi-v6"
npm ERR! gyp ERR! cwd C:\Users\ext-kastured\Desktop\DhanashriNK\Angular\CopyAMS\AMS\ams\node_modules\sqlite3
npm ERR! gyp ERR! node -v v18.14.2
npm ERR! gyp ERR! node-gyp -v v9.3.1
npm ERR! gyp ERR! not ok
npm ERR! node-pre-gyp ERR! build error
npm ERR! node-pre-gyp ERR! stack Error: Failed to execute 'C:\Program Files\nodejs\node.exe C:\Users\ext-kastured\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\Users\ext-kastured\Desktop\DhanashriNK\Angular\CopyAMS\AMS\ams\node_modules\sqlite3\lib\binding\napi-v6-win32-unknown-x64\node_sqlite3.node --module_name=node_sqlite3 --module_path=C:\Users\ext-kastured\Desktop\DhanashriNK\Angular\CopyAMS\AMS\ams\node_modules\sqlite3\lib\binding\napi-v6-win32-unknown-x64 --napi_version=8 --node_abi_napi=napi --napi_build_version=6 --node_napi_label=napi-v6' (1)
npm ERR! node-pre-gyp ERR! stack at ChildProcess.<anonymous> (C:\Users\ext-kastured\Desktop\DhanashriNK\Angular\CopyAMS\AMS\ams\node_modules\node-pre-gyp\lib\util\compile.js:83:29)
npm ERR! node-pre-gyp ERR! stack at ChildProcess.emit (node:events:513:28)
npm ERR! node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1091:16)
npm ERR! node-pre-gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:302:5)
npm ERR! node-pre-gyp ERR! System Windows_NT 10.0.19044
npm ERR! node-pre-gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\ext-kastured\\Desktop\\DhanashriNK\\Angular\\CopyAMS\\AMS\\ams\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build"
npm ERR! node-pre-gyp ERR! cwd C:\Users\ext-kastured\Desktop\DhanashriNK\Angular\CopyAMS\AMS\ams\node_modules\sqlite3
npm ERR! node-pre-gyp ERR! node -v v18.14.2
npm ERR! node-pre-gyp ERR! node-pre-gyp -v v0.17.0
npm ERR! node-pre-gyp ERR! not ok
The dependencies are
"dependencies": {
"@angular/animations": "^15.2.0",
"@angular/cdk": "^15.2.3",
"@angular/common": "^15.2.0",
"@angular/compiler": "^15.2.0",
"@angular/core": "^15.2.0",
"@angular/forms": "^15.2.0",
"@angular/material": "^15.2.3",
"@angular/platform-browser": "^15.2.0",
"@angular/platform-browser-dynamic": "^15.2.0",
"@angular/router": "^15.2.0",
"@mapbox/node-pre-gyp": "^1.0.10",
"bootstrap": "^5.2.3",
"jquery": "^3.6.3",
"ngx-owl-carousel-o": "^15.0.1",
"node-gyp": "^9.3.1",
"node-pre-gyp": "^0.17.0",
"rxjs": "~7.8.0",
"sass": "^1.62.1",
"sqlite": "^4.2.0",
"sweetalert2": "^11.7.3",
"swiper": "^9.1.0",
"tslib": "^2.5.0",
"zone.js": "~0.12.0"
}