1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104
| D:\Projects Visual Studio\Web\WeatherProject II 001\GlobalWeather\GlobalWeather\WeatherClient
17:00:53>npm install node-sass
npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.
> node-sass@4.10.0 install D:\Projects Visual Studio\Web\WeatherProject II 001\GlobalWeather\GlobalWeather\WeatherClient\node_modules\@angular-devkit\build-angular\node_modules\node-sass
> node scripts/install.js
Downloading binary from https://npm.taobao.org/mirrors/node-sass/v4.10.0/win32-x64-83_binding.node
Cannot download "https://npm.taobao.org/mirrors/node-sass/v4.10.0/win32-x64-83_binding.node":
HTTP error 404 Not Found
Hint: If github.com is not accessible in your location
try setting a proxy via HTTP_PROXY, e.g.
export HTTP_PROXY=http://example.com:1234
or configure npm proxy via
npm config set proxy http://example.com:8080
> node-sass@4.14.1 install D:\Projects Visual Studio\Web\WeatherProject II 001\GlobalWeather\GlobalWeather\WeatherClient\node_modules\node-sass
> node scripts/install.js
Cached binary found at C:\Users\admin\AppData\Roaming\npm-cache\node-sass\4.14.1\win32-x64-83_binding.node
> node-sass@4.10.0 postinstall D:\Projects Visual Studio\Web\WeatherProject II 001\GlobalWeather\GlobalWeather\WeatherClient\node_modules\@angular-devkit\build-angular\node_modules\node-sass
> node scripts/build.js
Building: C:\Program Files\nodejs\node.exe D:\Projects Visual Studio\Web\WeatherProject II 001\GlobalWeather\GlobalWeather\WeatherClient\node_modules\@angular-devkit\build-angular\node_modules\node-gyp\bin\node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
gyp info it worked if it ends with ok
gyp verb cli [
gyp verb cli 'C:\\Program Files\\nodejs\\node.exe',
gyp verb cli 'D:\\Projects Visual Studio\\Web\\WeatherProject II 001\\GlobalWeather\\GlobalWeather\\WeatherClient\\node_modules\\@angular-devkit\\build-angular\\node_modules\\node-gyp\\bin\\node-gyp.js',
gyp verb cli 'rebuild',
gyp verb cli '--verbose',
gyp verb cli '--libsass_ext=',
gyp verb cli '--libsass_cflags=',
gyp verb cli '--libsass_ldflags=',
gyp verb cli '--libsass_library='
gyp verb cli ]
gyp info using node-gyp@3.8.0
gyp info using node@14.16.0 | win32 | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb download using dist-url https://npm.taobao.org/dist
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb `which` failed Error: not found: python2
gyp verb `which` failed at getNotFoundError (D:\Projects Visual Studio\Web\WeatherProject II 001\GlobalWeather\GlobalWeather\WeatherClient\node_modules\@angular-devkit\build-angular\node_modules\which\which.js:13:12)
gyp verb `which` failed at F (D:\Projects Visual Studio\Web\WeatherProject II 001\GlobalWeather\GlobalWeather\WeatherClient\node_modules\@angular-devkit\build-angular\node_modules\which\which.js:68:19)
gyp verb `which` failed at E (D:\Projects Visual Studio\Web\WeatherProject II 001\GlobalWeather\GlobalWeather\WeatherClient\node_modules\@angular-devkit\build-angular\node_modules\which\which.js:80:29)
gyp verb `which` failed at D:\Projects Visual Studio\Web\WeatherProject II 001\GlobalWeather\GlobalWeather\WeatherClient\node_modules\@angular-devkit\build-angular\node_modules\which\which.js:89:16
gyp verb `which` failed at D:\Projects Visual Studio\Web\WeatherProject II 001\GlobalWeather\GlobalWeather\WeatherClient\node_modules\isexe\index.js:42:5
gyp verb `which` failed at D:\Projects Visual Studio\Web\WeatherProject II 001\GlobalWeather\GlobalWeather\WeatherClient\node_modules\isexe\windows.js:36:5
gyp verb `which` failed at FSReqCallback.oncomplete (fs.js:183:21)
gyp verb `which` failed python2 Error: not found: python2
gyp verb `which` failed at getNotFoundError (D:\Projects Visual Studio\Web\WeatherProject II 001\GlobalWeather\GlobalWeather\WeatherClient\node_modules\@angular-devkit\build-angular\node_modules\which\which.js:13:12)
gyp verb `which` failed at F (D:\Projects Visual Studio\Web\WeatherProject II 001\GlobalWeather\GlobalWeather\WeatherClient\node_modules\@angular-devkit\build-angular\node_modules\which\which.js:68:19)
gyp verb `which` failed at E (D:\Projects Visual Studio\Web\WeatherProject II 001\GlobalWeather\GlobalWeather\WeatherClient\node_modules\@angular-devkit\build-angular\node_modules\which\which.js:80:29)
gyp verb `which` failed at D:\Projects Visual Studio\Web\WeatherProject II 001\GlobalWeather\GlobalWeather\WeatherClient\node_modules\@angular-devkit\build-angular\node_modules\which\which.js:89:16
gyp verb `which` failed at D:\Projects Visual Studio\Web\WeatherProject II 001\GlobalWeather\GlobalWeather\WeatherClient\node_modules\isexe\index.js:42:5
gyp verb `which` failed at D:\Projects Visual Studio\Web\WeatherProject II 001\GlobalWeather\GlobalWeather\WeatherClient\node_modules\isexe\windows.js:36:5
gyp verb `which` failed at FSReqCallback.oncomplete (fs.js:183:21) {
gyp verb `which` failed code: 'ENOENT'
gyp verb `which` failed }
gyp verb check python checking for Python executable "python" in the PATH
gyp verb `which` succeeded python C:\Python39\python.EXE
gyp ERR! configure error
gyp ERR! stack Error: Command failed: C:\Python39\python.EXE -c import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack File "<string>", line 1
gyp ERR! stack import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack ^
gyp ERR! stack SyntaxError: invalid syntax
gyp ERR! stack
gyp ERR! stack at ChildProcess.exithandler (child_process.js:308:12)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at maybeClose (internal/child_process.js:1048:16)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
gyp ERR! System Windows_NT 10.0.19043
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "D:\\Projects Visual Studio\\Web\\WeatherProject II 001\\GlobalWeather\\GlobalWeather\\WeatherClient\\node_modules\\@angular-devkit\\build-angular\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd D:\Projects Visual Studio\Web\WeatherProject II 001\GlobalWeather\GlobalWeather\WeatherClient\node_modules\@angular-devkit\build-angular\node_modules\node-sass
gyp ERR! node -v v14.16.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
Build failed with error code: 1
> node-sass@4.14.1 postinstall D:\Projects Visual Studio\Web\WeatherProject II 001\GlobalWeather\GlobalWeather\WeatherClient\node_modules\node-sass
> node scripts/build.js
Binary found at D:\Projects Visual Studio\Web\WeatherProject II 001\GlobalWeather\GlobalWeather\WeatherClient\node_modules\node-sass\vendor\win32-x64-83\binding.node
Testing binary
Binary is fine
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-sass@4.10.0 (node_modules\@angular-devkit\build-angular\node_modules\node-sass):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-sass@4.10.0 postinstall: `node scripts/build.js`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
+ node-sass@4.14.1
added 1 package from 1 contributor, removed 1 package and updated 24 packages in 31.378s
19 packages are looking for funding
run `npm fund` for details |
Partager