I'm a junior programmer and I got a mission to run old code on my computer.
When I try to do npm install in the project folder I get these errors:
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: grunt-mocha-istanbul#3.0.1
npm ERR! Found: grunt#1.5.3
npm ERR! node_modules/grunt
npm ERR! dev grunt#"^1.0.1" from the root project
npm ERR! peer grunt#">=0.4.0" from grunt-concurrent#2.3.1
npm ERR! node_modules/grunt-concurrent
npm ERR! dev grunt-concurrent#"^2.0.0" from the root project
npm ERR! 8 more (grunt-contrib-connect, grunt-contrib-jshint, ...)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer grunt#"0.4.x" from grunt-mocha-istanbul#3.0.1
npm ERR! node_modules/grunt-mocha-istanbul
npm ERR! dev grunt-mocha-istanbul#"^3.0.1" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: grunt#0.4.5
npm ERR! node_modules/grunt
npm ERR! peer grunt#"0.4.x" from grunt-mocha-istanbul#3.0.1
npm ERR! node_modules/grunt-mocha-istanbul
npm ERR! dev grunt-mocha-istanbul#"^3.0.1" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See C:\Users\dotan\AppData\Local\npm-cache\eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\dotan\AppData\Local\npm-cache\_logs\2022-08-14T06_34_16_477Z-debug-0.log
In addition when I'm using administrator cmd and run grunt --version I get: grunt-cli v1.4.0
and when I run npm i grunt from admin cmd I get (on my windows 11):
C:\Windows\system32>npm i grunt
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
npm ERR! code EPERM
npm ERR! syscall mkdir
npm ERR! path C:\
npm ERR! errno -4048
npm ERR! Error: EPERM: operation not permitted, mkdir 'C:\'
npm ERR! [Error: EPERM: operation not permitted, mkdir 'C:\'] {
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'mkdir',
npm ERR! path: 'C:\\'
npm ERR! }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It's possible that the file was already in use (by a text editor or antivirus),
npm ERR! or that you lack permissions to access it.
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\dotan\AppData\Local\npm-cache\_logs\2022-08-14T06_57_44_173Z-debug-0.log
and when using the same command (npm i grunt) in the terminal in the project folder I get:
PS C:\Users\dotan\Desktop\ECO-OS\ecoos> npm i grunt
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
npm WARN idealTree Removing dependencies.grunt in favor of devDependencies.grunt
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: ecoos#0.4.2
npm WARN Found: grunt#1.5.3
npm WARN node_modules/grunt
npm WARN peer grunt#">=0.4.0" from grunt-concurrent#2.3.1
npm WARN node_modules/grunt-concurrent
npm WARN dev grunt-concurrent#"^2.0.0" from the root project
npm WARN 9 more (grunt-contrib-connect, grunt-contrib-jshint, ...)
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer grunt#"0.4.x" from grunt-mocha-istanbul#3.0.1
npm WARN node_modules/grunt-mocha-istanbul
npm WARN dev grunt-mocha-istanbul#"^3.0.1" from the root project
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: 'grunt-istanbul#0.6.2',
npm WARN EBADENGINE required: { node: '~0.12.0' },
npm WARN EBADENGINE current: { node: 'v16.16.0', npm: '8.11.0' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: 'karma#0.13.22',
npm WARN EBADENGINE required: { node: '0.10 || 0.12 || 4 || 5' },
npm WARN EBADENGINE current: { node: 'v16.16.0', npm: '8.11.0' }
npm WARN EBADENGINE }
npm WARN deprecated angular-aria#1.8.3: For the actively supported Angular, see https://www.npmjs.com/package/#angular/core. AngularJS support has officially ended. For extended AngularJS support options, see https://goo.gle/angularjs-path-forward.
npm WARN deprecated angular-animate#1.8.3: For the actively supported Angular, see https://www.npmjs.com/package/#angular/core. AngularJS support has officially ended. For extended AngularJS support options, see https://goo.gle/angularjs-path-forward.
npm WARN deprecated angular#1.8.3: For the actively supported Angular, see https://www.npmjs.com/package/#angular/core. AngularJS support has officially ended. For extended AngularJS support options, see https://goo.gle/angularjs-path-forward.
[##################] / reify:node-inspector: timing metavuln:calculate:security-advisory:socket
npm ERR! code 1
npm ERR! path C:\Users\dotan\Desktop\ECO-OS\ecoos\node_modules\v8-debug:security-advisory:socket
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\dotan\AppData\Roaming\nvm\v16.16.0\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\Users\dotan\Desktop\ECO-OS\ecoos\node_modules\v8-debug\build\debug\v0.7.7\node-v93-win32-x64\debug.node --module_name=debug --module_path=C:\Users\dotan\Desktop\ECO-OS\ecoos\node_modules\v8-debug\build\debug\v0.7.7\node-v93-win32-x64' (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.6.39
npm ERR! node-pre-gyp info using node#16.16.0 | win32 | x64
npm ERR! node-pre-gyp info check checked for "C:\Users\dotan\Desktop\ECO-OS\ecoos\node_modules\v8-debug\build\debug\v0.7.7\node-v93-win32-x64\debug.node" (not found)
npm ERR! node-pre-gyp http GET https://node-inspector.s3.amazonaws.com/debug/v0.7.7/node-v93-win32-x64.tar.gz
npm ERR! node-pre-gyp http 404 https://node-inspector.s3.amazonaws.com/debug/v0.7.7/node-v93-win32-x64.tar.gz
npm ERR! node-pre-gyp ERR! Tried to download(404): https://node-inspector.s3.amazonaws.com/debug/v0.7.7/node-v93-win32-x64.tar.gz
npm ERR! node-pre-gyp ERR! Pre-built binaries not found for v8-debug#0.7.7 and node#16.16.0 (node-v93 ABI, unknown) (falling back to source compile with node-gyp)
npm ERR! node-pre-gyp http 404 status code downloading tarball https://node-inspector.s3.amazonaws.com/debug/v0.7.7/node-v93-win32-x64.tar.gz
npm ERR! node-pre-gyp ERR! Tried to download(undefined): https://node-inspector.s3.amazonaws.com/debug/v0.7.7/node-v93-win32-x64.tar.gz
npm ERR! node-pre-gyp ERR! Pre-built binaries not found for v8-debug#0.7.7 and node#16.16.0 (node-v93 ABI, unknown) (falling back to source compile with node-gyp)
npm ERR! node-pre-gyp http Connection closed while downloading tarball file
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp#9.0.0
npm ERR! gyp info using node#16.16.0 | win32 | x64
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp#9.0.0
npm ERR! gyp info using node#16.16.0 | win32 | x64
npm ERR! gyp info ok
npm ERR! gyp info ok
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp#9.0.0
npm ERR! gyp info using node#16.16.0 | win32 | x64
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp#9.0.0
npm ERR! gyp info using node#16.16.0 | win32 | x64
npm ERR! gyp info find Python using Python version 3.10.6 found at "C:\Python310\python.exe"
npm ERR! gyp info find Python using Python version 3.10.6 found at "C:\Python310\python.exe"
npm ERR! gyp info find VS using VS2022 (17.3.32804.467) found at:
npm ERR! gyp info find VS "C:\Program Files\Microsoft Visual Studio\2022\Community"
npm ERR! gyp info find VS run with --verbose for detailed information
npm ERR! gyp info find VS using VS2022 (17.3.32804.467) found at:
npm ERR! gyp info find VS "C:\Program Files\Microsoft Visual Studio\2022\Community"
npm ERR! gyp info find VS run with --verbose for detailed information
npm ERR! gyp info spawn C:\Python310\python.exe
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args 'C:\\Users\\dotan\\AppData\\Roaming\\nvm\\v16.16.0\\node_modules\\npm\\node_modules\\node-gyp\\gyp\\gyp_main.py',
npm ERR! gyp info spawn args 'binding.gyp',
npm ERR! gyp info spawn args '-f',
npm ERR! gyp info spawn args 'msvs',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args 'C:\\Users\\dotan\\Desktop\\ECO-OS\\ecoos\\node_modules\\v8-debug\\build\\config.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args 'C:\\Users\\dotan\\AppData\\Roaming\\nvm\\v16.16.0\\node_modules\\npm\\node_modules\\node-gyp\\addon.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args 'C:\\Users\\dotan\\AppData\\Local\\node-gyp\\Cache\\16.16.0\\include\\node\\common.gypi',
npm ERR! gyp info spawn args '-Dlibrary=shared_library',
npm ERR! gyp info spawn args '-Dvisibility=default',
npm ERR! gyp info spawn args '-Dnode_root_dir=C:\\Users\\dotan\\AppData\\Local\\node-gyp\\Cache\\16.16.0',
npm ERR! gyp info spawn args '-Dnode_gyp_dir=C:\\Users\\dotan\\AppData\\Roaming\\nvm\\v16.16.0\\node_modules\\npm\\node_modules\\node-gyp',
npm ERR! gyp info spawn args '-Dnode_lib_file=C:\\\\Users\\\\dotan\\\\AppData\\\\Local\\\\node-gyp\\\\Cache\\\\16.16.0\\\\<(target_arch)\\\\node.lib',
npm ERR! gyp info spawn args '-Dmodule_root_dir=C:\\Users\\dotan\\Desktop\\ECO-OS\\ecoos\\node_modules\\v8-debug',
npm ERR! gyp info spawn args '-Dnode_engine=v8',
npm ERR! gyp info spawn args '--depth=.',
npm ERR! gyp info spawn args '--no-parallel',
npm ERR! gyp info spawn args '--generator-output',
npm ERR! gyp info spawn args 'C:\\Users\\dotan\\Desktop\\ECO-OS\\ecoos\\node_modules\\v8-debug\\build',
npm ERR! gyp info spawn args '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp info spawn C:\Python310\python.exe
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args 'C:\\Users\\dotan\\AppData\\Roaming\\nvm\\v16.16.0\\node_modules\\npm\\node_modules\\node-gyp\\gyp\\gyp_main.py',
npm ERR! gyp info spawn args 'binding.gyp',
npm ERR! gyp info spawn args '-f',
npm ERR! gyp info spawn args 'msvs',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args 'C:\\Users\\dotan\\Desktop\\ECO-OS\\ecoos\\node_modules\\v8-debug\\build\\config.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args 'C:\\Users\\dotan\\AppData\\Roaming\\nvm\\v16.16.0\\node_modules\\npm\\node_modules\\node-gyp\\addon.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args 'C:\\Users\\dotan\\AppData\\Local\\node-gyp\\Cache\\16.16.0\\include\\node\\common.gypi',
npm ERR! gyp info spawn args '-Dlibrary=shared_library',
npm ERR! gyp info spawn args '-Dvisibility=default',
npm ERR! gyp info spawn args '-Dnode_root_dir=C:\\Users\\dotan\\AppData\\Local\\node-gyp\\Cache\\16.16.0',
npm ERR! gyp info spawn args '-Dnode_gyp_dir=C:\\Users\\dotan\\AppData\\Roaming\\nvm\\v16.16.0\\node_modules\\npm\\node_modules\\node-gyp',
npm ERR! gyp info spawn args '-Dnode_lib_file=C:\\\\Users\\\\dotan\\\\AppData\\\\Local\\\\node-gyp\\\\Cache\\\\16.16.0\\\\<(target_arch)\\\\node.lib',
npm ERR! gyp info spawn args '-Dmodule_root_dir=C:\\Users\\dotan\\Desktop\\ECO-OS\\ecoos\\node_modules\\v8-debug',
npm ERR! gyp info spawn args '-Dnode_engine=v8',
npm ERR! gyp info spawn args '--depth=.',
npm ERR! gyp info spawn args '--no-parallel',
npm ERR! gyp info spawn args '--generator-output',
npm ERR! gyp info spawn args 'C:\\Users\\dotan\\Desktop\\ECO-OS\\ecoos\\node_modules\\v8-debug\\build',
npm ERR! gyp info spawn args '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! Traceback (most recent call last):
npm ERR! File "C:\Users\dotan\AppData\Roaming\nvm\v16.16.0\node_modules\npm\node_modules\node-gyp\gyp\gyp_main.py", line 45, in <module>
npm ERR! sys.exit(gyp.script_main())
npm ERR! File "C:\Users\dotan\AppData\Roaming\nvm\v16.16.0\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\__init__.py", line 662, in script_main
npm ERR! return main(sys.argv[1:])
npm ERR! File "C:\Users\dotan\AppData\Roaming\nvm\v16.16.0\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\__init__.py", line 654, in main
npm ERR! return gyp_main(args)
npm ERR! File "C:\Users\dotan\AppData\Roaming\nvm\v16.16.0\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\__init__.py", line 639, in gyp_main
npm ERR! generator.GenerateOutput(flat_list, targets, data, params)
npm ERR! File "C:\Users\dotan\AppData\Roaming\nvm\v16.16.0\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\generator\msvs.py", line 2162, in GenerateOutput
npm ERR! sln = MSVSNew.MSVSSolution(
npm ERR! File "C:\Users\dotan\AppData\Roaming\nvm\v16.16.0\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\MSVSNew.py", line 228, in __init__
npm ERR! self.Write()
npm ERR! File "C:\Users\dotan\AppData\Roaming\nvm\v16.16.0\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\MSVSNew.py", line 367, in Write
npm ERR! f.close()
npm ERR! File "C:\Users\dotan\AppData\Roaming\nvm\v16.16.0\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\common.py", line 413, in close
npm ERR! os.rename(self.tmp_path, filename)
npm ERR! FileExistsError: [WinError 183] Cannot create a file when that file already exists: 'C:\\Users\\dotan\\Desktop\\ECO-OS\\ecoos\\node_modules\\v8-debug\\build\\binding.sln.gyp.4ckqfiz7.tmp' -> 'C:\\Users\\dotan\\Desktop\\ECO-OS\\ecoos\\node_modules\\v8-debug\\build\\binding.sln'
npm ERR! gyp info ok
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: `gyp` failed with exit code: 1
npm ERR! gyp ERR! stack at ChildProcess.onCpExit (C:\Users\dotan\AppData\Roaming\nvm\v16.16.0\node_modules\npm\node_modules\node-gyp\lib\configure.js:261:16)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:527:28)
npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
npm ERR! gyp ERR! System Windows_NT 10.0.22000
npm ERR! gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\dotan\\AppData\\Roaming\\nvm\\v16.16.0\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "configure" "--fallback-to-build" "--module=C:\\Users\\dotan\\Desktop\\ECO-OS\\ecoos\\node_modules\\v8-debug\\build\\debug\\v0.7.7\\node-v93-win32-x64\\debug.node" "--module_name=debug" "--module_path=C:\\Users\\dotan\\Desktop\\ECO-OS\\ecoos\\node_modules\\v8-debug\\build\\debug\\v0.7.7\\node-v93-win32-x64"
npm ERR! gyp ERR! cwd C:\Users\dotan\Desktop\ECO-OS\ecoos\node_modules\v8-debug
npm ERR! gyp ERR! node -v v16.16.0
npm ERR! gyp ERR! node-gyp -v v9.0.0
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\dotan\AppData\Roaming\nvm\v16.16.0\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\Users\dotan\Desktop\ECO-OS\ecoos\node_modules\v8-debug\build\debug\v0.7.7\node-v93-win32-x64\debug.node --module_name=debug --module_path=C:\Users\dotan\Desktop\ECO-OS\ecoos\node_modules\v8-debug\build\debug\v0.7.7\node-v93-win32-x64' (1)
npm ERR! node-pre-gyp ERR! stack at ChildProcess.<anonymous> (C:\Users\dotan\Desktop\ECO-OS\ecoos\node_modules\node-pre-gyp\lib\util\compile.js:83:29)
npm ERR! node-pre-gyp ERR! stack at ChildProcess.emit (node:events:527:28)
npm ERR! node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1092:16)
npm ERR! node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
npm ERR! node-pre-gyp ERR! System Windows_NT 10.0.22000
npm ERR! node-pre-gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\dotan\\Desktop\\ECO-OS\\ecoos\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build"
npm ERR! node-pre-gyp ERR! cwd C:\Users\dotan\Desktop\ECO-OS\ecoos\node_modules\v8-debug
npm ERR! node-pre-gyp ERR! node -v v16.16.0
npm ERR! node-pre-gyp ERR! node-pre-gyp -v v0.6.39
npm ERR! node-pre-gyp ERR! not ok
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\dotan\AppData\Local\npm-cache\_logs\2022-08-14T06_57_28_583Z-debug-0.log
Here are the program dependencies from the package.json file:
"dependencies": {
"acl": "~0.4.4",
"angular-material": "^1.0.1",
"angular-toastr": "^1.7.0",
"angularjs-toaster": "^1.1.0",
"async": "^2.0.0-rc.2",
"body-parser": "^1.14.2",
"bower": "^1.4.1",
"cfenv": "~1.0.0",
"chalk": "^1.1.0",
"compression": "^1.5.0",
"connect-flash": "~0.1.1",
"connect-mongo": "~1.1.0",
"consolidate": "~0.14.0",
"cookie-parser": "^1.3.2",
"crypto": "0.0.3",
"csvtojson": ">=0.5.2",
"event-stream": "^3.3.2",
"express": "^4.13.1",
"express-session": "^1.11.3",
"file-stream-rotator": "~0.0.6",
"forever": "~0.15.1",
"generate-password": "^1.1.1",
"glob": "^7.0.0",
"grunt": "^1.0.1",
"grunt-cli": "~1.4.0",
"helmet": "~1.3.0",
"jasmine-core": "^2.3.4",
"lodash": "^4.5.0",
"method-override": "^2.3.3",
"mocha": "~2.4.5",
"mongoose": "~4.4.4",
"morgan": "^1.6.1",
"multer": "~1.1.0",
"nodemailer": "^2.2.0",
"owasp-password-strength-test": "^1.3.0",
"passport": "~0.3.2",
"passport-facebook": "^2.0.0",
"passport-github": "~1.1.0",
"passport-google-oauth": "~1.0.0",
"passport-linkedin": "~1.0.0",
"passport-local": "^1.0.0",
"passport-paypal-openidconnect": "^0.1.1",
"passport-twitter": "^1.0.2",
"pdfkit": "^0.7.2",
"phantom": "^2.1.7",
"phantom-html2pdf": "^2.0.2",
"phantom-proxy": "^0.1.792",
"phantomjs-prebuilt": "^2.1.7",
"regression": "^1.2.1",
"save-svg-as-png": "^1.0.2",
"serve-favicon": "^2.3.0",
"socket.io": "^1.3.7",
"stream-to-mongo": "^0.1.5",
"swig": "^1.4.2",
"toastr": "^2.1.2",
"validator": "^5.2.0"
},
"devDependencies": {
"coveralls": "^2.11.4",
"grunt": "^1.0.1",
"grunt-concurrent": "^2.0.0",
"grunt-contrib-copy": "~1.0.0",
"grunt-contrib-csslint": "~1.0.0",
"grunt-contrib-cssmin": "~1.0.1",
"grunt-contrib-jshint": "~1.0.0",
"grunt-contrib-less": "^1.0.1",
"grunt-contrib-sass": "^1.0.0",
"grunt-contrib-uglify": "~1.0.1",
"grunt-contrib-watch": "~1.0.0",
"grunt-env": "~0.4.4",
"grunt-eslint": "~18.0.0",
"grunt-karma": "~0.12.1",
"grunt-mocha-istanbul": "~5.0.1",
"grunt-mocha-test": "~0.12.7",
"grunt-ng-annotate": "^2.0.1",
"grunt-node-inspector": "~0.4.1",
"grunt-nodemon": "~0.4.0",
"grunt-protractor-coverage": "~0.2.15",
"grunt-protractor-runner": "^3.0.0",
"gulp": "^3.9.0",
"gulp-angular-templatecache": "^1.7.0",
"gulp-autoprefixer": "^3.1.0",
"gulp-concat": "^2.6.0",
"gulp-csslint": "~0.3.0",
"gulp-cssmin": "~0.1.7",
"gulp-eslint": "~2.0.0",
"gulp-jshint": "^2.0.0",
"gulp-karma": "~0.0.4",
"gulp-less": "^3.0.3",
"gulp-livereload": "^3.8.0",
"gulp-load-plugins": "^1.0.0-rc.1",
"gulp-mocha": "^2.1.2",
"gulp-ng-annotate": "^2.0.0",
"gulp-nodemon": "^2.0.3",
"gulp-protractor": "^2.1.0",
"gulp-rename": "^1.2.2",
"gulp-sass": "^2.0.3",
"gulp-uglify": "^1.2.0",
"gulp-util": "^3.0.6",
"karma": "~0.13.21",
"karma-chrome-launcher": "~0.2.0",
"karma-coverage": "~0.5.3",
"karma-firefox-launcher": "~0.1.6",
"karma-jasmine": "~0.3.6",
"karma-ng-html2js-preprocessor": "^0.2.1",
"karma-phantomjs-launcher": "~1.0.0",
"load-grunt-tasks": "^3.2.0",
"mock-fs": "~3.8.0",
"run-sequence": "^1.1.1",
"should": "^8.2.2",
"supertest": "^1.0.1"
}
I currently using npm 8.11.0, 16.16.0.
Thanks a lot.
I'm trying to install Gekko and I get the following error:
node-pre-gyp ERR! Tried to download(undefined): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.13/node-v48-win32-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for sqlite3#3.1.13 and node#6.9.4 (node-v48 ABI) (falling back to source compile with node-gyp)
C:\Users\SOBER CHECK\Downloads\gekko-develop\gekko-develop\node_modules\sqlite3>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" clean ) else (node "" clean )
C:\Users\SOBER CHECK\Downloads\gekko-develop\gekko-develop\node_modules\sqlite3>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" configure --fallback-to-build "--module=C:\Users\SOBER CHECK\Downloads\gekko-develop\gekko-develop\node_modules\sqlite3\lib\binding\node-v48-win32-x64\node_sqlite3.node" --module_name=node_sqlite3 "--module_path=C:\Users\SOBER CHECK\Downloads\gekko-develop\gekko-develop\node_modules\sqlite3\lib\binding\node-v48-win32-x64" ) else (node "" configure --fallback-to-build "--module=C:\Users\SOBER CHECK\Downloads\gekko-develop\gekko-develop\node_modules\sqlite3\lib\binding\node-v48-win32-x64\node_sqlite3.node" --module_name=node_sqlite3 "--module_path=C:\Users\SOBER CHECK\Downloads\gekko-develop\gekko-develop\node_modules\sqlite3\lib\binding\node-v48-win32-x64" )
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack at failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:449:14)
gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:404:11
gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:264:29
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:123:15)
gyp ERR! System Windows_NT 10.0.16299
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "configure" "--fallback-to-build" "--module=C:\\Users\\SOBER CHECK\\Downloads\\gekko-develop\\gekko-develop\\node_modules\\sqlite3\\lib\\binding\\node-v48-win32-x64\\node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=C:\\Users\\SOBER CHECK\\Downloads\\gekko-develop\\gekko-develop\\node_modules\\sqlite3\\lib\\binding\\node-v48-win32-x64"
gyp ERR! cwd C:\Users\SOBER CHECK\Downloads\gekko-develop\gekko-develop\node_modules\sqlite3
gyp ERR! node -v v6.9.4
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute 'node-gyp.cmd configure --fallback-to-build --module=C:\Users\SOBER CHECK\Downloads\gekko-develop\gekko-develop\node_modules\sqlite3\lib\binding\node-v48-win32-x64\node_sqlite3.node --module_name=node_sqlite3 --module_path=C:\Users\SOBER CHECK\Downloads\gekko-develop\gekko-develop\node_modules\sqlite3\lib\binding\node-v48-win32-x64' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (C:\Users\SOBER CHECK\Downloads\gekko-develop\gekko-develop\node_modules\sqlite3\node_modules\node-pre-gyp\lib\util\compile.js:83:29)
node-pre-gyp ERR! stack at emitTwo (events.js:106:13)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:191:7)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:877:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
node-pre-gyp ERR! System Windows_NT 10.0.16299
node-pre-gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\SOBER CHECK\\Downloads\\gekko-develop\\gekko-develop\\node_modules\\sqlite3\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd C:\Users\SOBER CHECK\Downloads\gekko-develop\gekko-develop\node_modules\sqlite3
node-pre-gyp ERR! node -v v6.9.4
node-pre-gyp ERR! node-pre-gyp -v v0.6.38
node-pre-gyp ERR! not ok
Failed to execute 'node-gyp.cmd configure --fallback-to-build --module=C:\Users\SOBER CHECK\Downloads\gekko-develop\gekko-develop\node_modules\sqlite3\lib\binding\node-v48-win32-x64\node_sqlite3.node --module_name=node_sqlite3 --module_path=C:\Users\SOBER CHECK\Downloads\gekko-develop\gekko-develop\node_modules\sqlite3\lib\binding\node-v48-win32-x64' (1)
npm ERR! Windows_NT 10.0.16299
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "sqlite3"
npm ERR! node v6.9.4
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! sqlite3#3.1.13 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the sqlite3#3.1.13 install script 'node-pre-gyp install --fallback-to-build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the sqlite3 package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-pre-gyp install --fallback-to-build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs sqlite3
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls sqlite3
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\SOBER CHECK\Downloads\gekko-develop\gekko-develop\npm-debug.log
I'm on Windows 10 with Node version 6.9.4 and NPM version 3.10.10.
Please help - what can I do to resolve this and finish installing Gekko?
I've also posted this question as an issue on the Github repo, but I don't have much hope of a reply from there.
Any help to make this example more minimal (as in minimum verifiable example) or about any extra information required would be much appreciated; I don't know enough about this to ask an easily-answerable question.
installing sqlite 4.0.1 instead of 3.1.13 fixed it for me
Your linked GitHub issue was resolved with the solution of updating to sqlite3#^4.0.1. However, the commenters on your issue are using later versions of Node v9 or later Node v10 so this sqlite3 version upgrade may not fix your issue. Gekko updated to sqlite3 v4.0.2 in Gekko v0.6.3 so upgrade to that version or above, reinstall and then you'll be using the latest version of sqlite3 at the time of writing which contains the resolution for your issue.
All that said, looking at your error message, it appears that you don't have python available on your PATH:
Error: Can't find Python executable "python", you can set the PYTHON env variable.
So try both approaches - upgrade Gekko and ensure Python is installed and available within your environment.
I am trying to add accounts-password package to my project, but I get this error instead, I have no clue what causes it or how to fix it. I tried to run
meteor npm install node-gyp rebuild as mentioned in the error but it does not help...
...seed>meteor add accounts-password
=> Errors while adding packages:
While loading package npm-bcrypt#0.8.7:
error: Command failed:
C:\Users\...\AppData\Local\.meteor\packages\meteor-tool\1.4.0-1\mt-os.windows.x86_
32\dev_bundle\bin\npm.cmd
rebuild --no-bin-links --update-binary
gyp ERR! build error
gyp ERR! stack Error:
`C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe` failed with exit
code: 1
gyp ERR! stack at ChildProcess.onExit
(C:\Users\...\AppData\Local\.meteor\packages\meteor-tool\1.4.0-1\mt-os.windows.x86
_32\dev_bundle\lib\node_modules\node-gyp\lib\build.js:276:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit
(internal/child_process.js:200:12)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command
"C:\\Users\\...\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.4.0-1\\mt-os.wi
ndows.x86_32\\dev_bundle\\bin\\node.exe"
"C:\\Users\\...\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.4.0-1\\mt-os.wi
ndows.x86_32\\dev_bundle\\lib\\node_modules\\node-gyp\\bin\\node-gyp.js"
"rebuild"
gyp ERR! cwd
C:\Users\...\AppData\Local\.meteor\packages\npm-bcrypt\0.8.7\npm\node_modules\.tem
p-pilafw\node_modules\bcrypt
gyp ERR! node -v v4.4.7
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm ERR! Windows_NT 6.1.7601
npm ERR! argv
"C:\\Users\\...\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.4.0-1\\mt-os.wi
ndows.x86_32\\dev_bundle\\bin\\node.exe"
"C:\\Users\\...\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.4.0-1\\mt-os.wi
ndows.x86_32\\dev_bundle\\lib\\node_modules\\npm\\bin\\npm-cli.js"
"rebuild" "--no-bin-links" "--update-binary"
npm ERR! node v4.4.7
npm ERR! npm v3.10.5
npm ERR! code ELIFECYCLE
npm ERR! bcrypt#0.8.7 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the bcrypt#0.8.7 install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the bcrypt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project
with:
npm ERR! npm bugs bcrypt
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls bcrypt
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!
C:\Users\...\AppData\Local\.meteor\packages\npm-bcrypt\0.8.7\npm\node_modules\.tem
p-pilafw\npm-debug.log
gyp ERR! build error
gyp ERR! stack Error:
`C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe` failed with exit
code: 1
gyp ERR! stack at ChildProcess.onExit
(C:\Users\...\AppData\Local\.meteor\packages\meteor-tool\1.4.0-1\mt-os.windows.x86
_32\dev_bundle\lib\node_modules\node-gyp\lib\build.js:276:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit
(internal/child_process.js:200:12)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command
"C:\\Users\\...\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.4.0-1\\mt-os.wi
ndows.x86_32\\dev_bundle\\bin\\node.exe"
"C:\\Users\\...\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.4.0-1\\mt-os.wi
ndows.x86_32\\dev_bundle\\lib\\node_modules\\node-gyp\\bin\\node-gyp.js"
"rebuild"
gyp ERR! cwd
C:\Users\...\AppData\Local\.meteor\packages\npm-bcrypt\0.8.7\npm\node_modules\.tem
p-pilafw\node_modules\bcrypt
gyp ERR! node -v v4.4.7
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm ERR! Windows_NT 6.1.7601
npm ERR! argv
"C:\\Users\\...\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.4.0-1\\mt-os.wi
ndows.x86_32\\dev_bundle\\bin\\node.exe"
"C:\\Users\\...\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.4.0-1\\mt-os.wi
ndows.x86_32\\dev_bundle\\lib\\node_modules\\npm\\bin\\npm-cli.js"
"rebuild" "--no-bin-links" "--update-binary"
npm ERR! node v4.4.7
npm ERR! npm v3.10.5
npm ERR! code ELIFECYCLE
npm ERR! bcrypt#0.8.7 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the bcrypt#0.8.7 install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the bcrypt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project
with:
npm ERR! npm bugs bcrypt
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls bcrypt
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!
C:\Users\...\AppData\Local\.meteor\packages\npm-bcrypt\0.8.7\npm\node_modules\.tem
p-pilafw\npm-debug.log
Im am using Windows7-x64. meteor 1.4.0.1 and the inspina meteor theme.
I reinstalled meteor, I tried to create a new virgin project and add accounts-password to it, but I get the same issue...
Tried to install meteor on my Laptop, and getting the same issue... is there something wrong with meteor itself?
I think your issue is mentioned here.
Try to run npm install --global --production windows-build-tools from Powershell as mentioned here
If some one who tired of trying 'npm install --global --production windows-build-tools', they can skip it after the Python installation and continue buid tools manually, by browsing to C:\Users\#user#\.windows-build-tools'. Refer this link