RyanFitzgerald / devportfolio

A lightweight, customizable single-page personal portfolio website template built with JavaScript and Sass

Home Page:https://ryanfitzgerald.github.io/devportfolio

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

npm install returning errors (i have python3 installed)

bharadwaj-chukkala opened this issue · comments

2218 info run node-sass@4.13.1 install node_modules/node-sass node scripts/install.js
2219 info run node-sass@4.13.1 install { code: 0, signal: null }
2220 timing build:run:install:node_modules/node-sass Completed in 786ms
2221 timing build:run:install Completed in 786ms
2222 info run node-sass@4.13.1 postinstall node_modules/node-sass node scripts/build.js
2223 info run node-sass@4.13.1 postinstall { code: 1, signal: null }
2224 timing reify:rollback:createSparse Completed in 884ms
2225 timing reify:rollback:retireShallow Completed in 0ms
2226 timing command:install Completed in 16028ms
2227 verbose stack Error: command failed
2227 verbose stack at ChildProcess. (C:\Program Files\nodejs\node_modules\npm\node_modules@npmcli\promise-spawn\lib\index.js:63:27)
2227 verbose stack at ChildProcess.emit (node:events:513:28)
2227 verbose stack at maybeClose (node:internal/child_process:1091:16)
2227 verbose stack at ChildProcess._handle.onexit (node:internal/child_process:302:5)
2228 verbose pkgid node-sass@4.13.1
2229 verbose cwd C:\Users\bhara\OneDrive\Desktop\PORTFOLIO\devportfolio
2230 verbose Windows_NT 10.0.22000
2231 verbose node v18.12.1
2232 verbose npm v8.19.2
2233 error code 1
2234 error path C:\Users\bhara\OneDrive\Desktop\PORTFOLIO\devportfolio\node_modules\node-sass
2235 error command failed
2236 error command C:\WINDOWS\system32\cmd.exe /d /s /c node scripts/build.js
2237 error Building: C:\Program Files\nodejs\node.exe C:\Users\bhara\OneDrive\Desktop\PORTFOLIO\devportfolio\node_modules\node-gyp\bin\node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
2238 error gyp info it worked if it ends with ok
2238 error gyp verb cli [
2238 error gyp verb cli 'C:\Program Files\nodejs\node.exe',
2238 error gyp verb cli 'C:\Users\bhara\OneDrive\Desktop\PORTFOLIO\devportfolio\node_modules\node-gyp\bin\node-gyp.js',
2238 error gyp verb cli 'rebuild',
2238 error gyp verb cli '--verbose',
2238 error gyp verb cli '--libsass_ext=',
2238 error gyp verb cli '--libsass_cflags=',
2238 error gyp verb cli '--libsass_ldflags=',
2238 error gyp verb cli '--libsass_library='
2238 error gyp verb cli ]
2238 error gyp info using node-gyp@3.8.0
2238 error gyp info using node@18.12.1 | win32 | x64
2238 error gyp verb command rebuild []
2238 error gyp verb command clean []
2238 error gyp verb clean removing "build" directory
2238 error gyp verb command configure []
2238 error gyp verb check python checking for Python executable "python2" in the PATH
2238 error gyp verb which failed Error: not found: python2
2238 error gyp verb which failed at getNotFoundError (C:\Users\bhara\OneDrive\Desktop\PORTFOLIO\devportfolio\node_modules\which\which.js:13:12)
2238 error gyp verb which failed at F (C:\Users\bhara\OneDrive\Desktop\PORTFOLIO\devportfolio\node_modules\which\which.js:68:19)
2238 error gyp verb which failed at E (C:\Users\bhara\OneDrive\Desktop\PORTFOLIO\devportfolio\node_modules\which\which.js:80:29)
2238 error gyp verb which failed at C:\Users\bhara\OneDrive\Desktop\PORTFOLIO\devportfolio\node_modules\which\which.js:89:16
2238 error gyp verb which failed at C:\Users\bhara\OneDrive\Desktop\PORTFOLIO\devportfolio\node_modules\isexe\index.js:42:5
2238 error gyp verb which failed at C:\Users\bhara\OneDrive\Desktop\PORTFOLIO\devportfolio\node_modules\isexe\windows.js:36:5
2238 error gyp verb which failed at FSReqCallback.oncomplete (node:fs:207:21)
2238 error gyp verb which failed python2 Error: not found: python2
2238 error gyp verb which failed at getNotFoundError (C:\Users\bhara\OneDrive\Desktop\PORTFOLIO\devportfolio\node_modules\which\which.js:13:12)
2238 error gyp verb which failed at F (C:\Users\bhara\OneDrive\Desktop\PORTFOLIO\devportfolio\node_modules\which\which.js:68:19)
2238 error gyp verb which failed at E (C:\Users\bhara\OneDrive\Desktop\PORTFOLIO\devportfolio\node_modules\which\which.js:80:29)
2238 error gyp verb which failed at C:\Users\bhara\OneDrive\Desktop\PORTFOLIO\devportfolio\node_modules\which\which.js:89:16
2238 error gyp verb which failed at C:\Users\bhara\OneDrive\Desktop\PORTFOLIO\devportfolio\node_modules\isexe\index.js:42:5
2238 error gyp verb which failed at C:\Users\bhara\OneDrive\Desktop\PORTFOLIO\devportfolio\node_modules\isexe\windows.js:36:5
2238 error gyp verb which failed at FSReqCallback.oncomplete (node:fs:207:21) {
2238 error gyp verb which failed code: 'ENOENT'
2238 error gyp verb which failed }
2238 error gyp verb check python checking for Python executable "python" in the PATH
2238 error gyp verb which failed Error: not found: python
2238 error gyp verb which failed at getNotFoundError (C:\Users\bhara\OneDrive\Desktop\PORTFOLIO\devportfolio\node_modules\which\which.js:13:12)
2238 error gyp verb which failed at F (C:\Users\bhara\OneDrive\Desktop\PORTFOLIO\devportfolio\node_modules\which\which.js:68:19)
2238 error gyp verb which failed at E (C:\Users\bhara\OneDrive\Desktop\PORTFOLIO\devportfolio\node_modules\which\which.js:80:29)
2238 error gyp verb which failed at C:\Users\bhara\OneDrive\Desktop\PORTFOLIO\devportfolio\node_modules\which\which.js:89:16
2238 error gyp verb which failed at C:\Users\bhara\OneDrive\Desktop\PORTFOLIO\devportfolio\node_modules\isexe\index.js:42:5
2238 error gyp verb which failed at C:\Users\bhara\OneDrive\Desktop\PORTFOLIO\devportfolio\node_modules\isexe\windows.js:36:5
2238 error gyp verb which failed at FSReqCallback.oncomplete (node:fs:207:21)
2238 error gyp verb which failed python Error: not found: python
2238 error gyp verb which failed at getNotFoundError (C:\Users\bhara\OneDrive\Desktop\PORTFOLIO\devportfolio\node_modules\which\which.js:13:12)
2238 error gyp verb which failed at F (C:\Users\bhara\OneDrive\Desktop\PORTFOLIO\devportfolio\node_modules\which\which.js:68:19)
2238 error gyp verb which failed at E (C:\Users\bhara\OneDrive\Desktop\PORTFOLIO\devportfolio\node_modules\which\which.js:80:29)
2238 error gyp verb which failed at C:\Users\bhara\OneDrive\Desktop\PORTFOLIO\devportfolio\node_modules\which\which.js:89:16
2238 error gyp verb which failed at C:\Users\bhara\OneDrive\Desktop\PORTFOLIO\devportfolio\node_modules\isexe\index.js:42:5
2238 error gyp verb which failed at C:\Users\bhara\OneDrive\Desktop\PORTFOLIO\devportfolio\node_modules\isexe\windows.js:36:5
2238 error gyp verb which failed at FSReqCallback.oncomplete (node:fs:207:21) {
2238 error gyp verb which failed code: 'ENOENT'
2238 error gyp verb which failed }
2238 error gyp verb could not find "python". checking python launcher
2238 error gyp verb could not find "python". guessing location
2238 error gyp verb ensuring that file exists: C:\Python27\python.exe
2238 error gyp ERR! configure error
2238 error gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
2238 error gyp ERR! stack at PythonFinder.failNoPython (C:\Users\bhara\OneDrive\Desktop\PORTFOLIO\devportfolio\node_modules\node-gyp\lib\configure.js:484:19)
2238 error gyp ERR! stack at PythonFinder. (C:\Users\bhara\OneDrive\Desktop\PORTFOLIO\devportfolio\node_modules\node-gyp\lib\configure.js:509:16)
2238 error gyp ERR! stack at callback (C:\Users\bhara\OneDrive\Desktop\PORTFOLIO\devportfolio\node_modules\graceful-fs\polyfills.js:295:20)
2238 error gyp ERR! stack at FSReqCallback.oncomplete (node:fs:207:21)
2238 error gyp ERR! System Windows_NT 10.0.22000
2238 error gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\bhara\OneDrive\Desktop\PORTFOLIO\devportfolio\node_modules\node-gyp\bin\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
2238 error gyp ERR! cwd C:\Users\bhara\OneDrive\Desktop\PORTFOLIO\devportfolio\node_modules\node-sass
2238 error gyp ERR! node -v v18.12.1
2238 error gyp ERR! node-gyp -v v3.8.0
2238 error gyp ERR! not ok
2238 error Build failed with error code: 1
2239 verbose exit 1
2240 timing npm Completed in 16545ms
2241 verbose unfinished npm timer reify 1674770029200
2242 verbose unfinished npm timer reify:build 1674770042779
2243 verbose unfinished npm timer build 1674770042780
2244 verbose unfinished npm timer build:deps 1674770042780
2245 verbose unfinished npm timer build:run:postinstall 1674770043830
2246 verbose unfinished npm timer build:run:postinstall:node_modules/node-sass 1674770043830
2247 verbose code 1
2248 error A complete log of this run can be found in:
2248 error C:\Users\bhara\AppData\Local\npm-cache_logs\2023-01-26T21_53_48_704Z-debug-0.log