windows-build-tools icon indicating copy to clipboard operation
windows-build-tools copied to clipboard

Error install windows-build-tools

Open facelinker opened this issue 8 years ago • 21 comments

C:\Windows\system32>npm install --global --production windows-build-tools

[email protected] postinstall C:\Users\Alexander\AppData\Roaming\npm\n ode_modules\windows-build-tools node ./lib/index.js

... and 1 more

... and 1 more Downloaded python-2.7.11.msi. Saved to C:\Users\Alexander.windows-build-tools\p ython-2.7.11.msi. Starting installation... events.js:160 throw er; // Unhandled 'error' event ^

Error: spawn powershell.exe ENOENT at exports._errnoException (util.js:1007:11) at Process.ChildProcess._handle.onexit (internal/child_process.js:182:32) at onErrorNT (internal/child_process.js:348:16) at _combinedTickCallback (internal/process/next_tick.js:74:11) at process._tickCallback (internal/process/next_tick.js:98:9) npm ERR! Windows_NT 6.3.9600 npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs
node_modules\npm\bin\npm-cli.js" "install" "--global" "--production" "windows -build-tools" npm ERR! node v6.2.2 npm ERR! npm v3.9.5 npm ERR! code ELIFECYCLE

npm ERR! [email protected] postinstall: node ./lib/index.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] postinstall script 'node ./lib/ index.js'. 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 windows-build-tools p ackage, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node ./lib/index.js npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs windows-build-tools npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls windows-build-tools npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! C:\Windows\system32\npm-debug.log

facelinker avatar Aug 19 '16 13:08 facelinker

Hey @facelinker, I can see from the logs that the script failed to run PowerShell. Which version of Windows are you running? Are you attempting the installation from PowerShell?

felixrieseberg avatar Aug 19 '16 16:08 felixrieseberg

Same problem here... image

I'm trying to run the installation from an elevated powershell prompt in Windows 7.

Here is the npm-debug.log from the point where the script tries to execute the postinstall tasks:

15161 info lifecycle [email protected]~postinstall: [email protected]
15162 verbose lifecycle [email protected]~postinstall: unsafe-perm in lifecycle true
15163 verbose lifecycle [email protected]~postinstall: PATH: C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin;C:\Users\Milan\AppData\Roaming\npm\node_modules\windows-build-tools\node_modules.bin;C:\Users\Milan\AppData\Roaming\npm\node_modules.bin;C:\Program Files\nodejs;%SystemRoot%\system32\WindowsPowerShell\v1.0\;C:\Python27\;C:\Python27\Scripts;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;c:\Program Files (x86)\CA\SC\Csam\SockAdapter\bin;C:\cygwin\bin;D:\Workspace\Android\SDK\platform-tools;C:\Program Files (x86)\GnuWin32\bin;D:\Programme\Vagrant\bin;D:\Workspace\xampp-5.6.3\php;C:\ProgramData\ComposerSetup\bin;C:\cygwin64\bin;C:\Program Files\TortoiseGit\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Oracle\VirtualBox;D:\dev_box\maven\bin;C:\Program Files\nodejs\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Users\Milan\AppData\Roaming\npm
15164 verbose lifecycle [email protected]~postinstall: CWD: C:\Users\Milan\AppData\Roaming\npm\node_modules\windows-build-tools
15165 silly lifecycle [email protected]~postinstall: Args: [ '/d /s /c', 'node ./lib/index.js' ]
15166 silly lifecycle [email protected]~postinstall: Returned: code: 1  signal: null
15167 info lifecycle [email protected]~postinstall: Failed to exec postinstall script
15168 verbose unlock done using C:\Users\Milan\AppData\Roaming\npm-cache_locks\staging-8a451d69396f2b17.lock for C:\Users\Milan\AppData\Roaming\npm\node_modules.staging
15169 silly rollbackFailedOptional Starting
15170 silly rollbackFailedOptional Finishing
15171 silly runTopLevelLifecycles Starting
15172 silly runTopLevelLifecycles Finishing
15173 silly install printInstalled
15174 verbose stack Error: [email protected] postinstall: `node ./lib/index.js`
15174 verbose stack Exit status 1
15174 verbose stack     at EventEmitter.<anonymous(C:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:242:16)
15174 verbose stack     at emitTwo (events.js:106:13)
15174 verbose stack     at EventEmitter.emit (events.js:191:7)
15174 verbose stack     at ChildProcess.<anonymous(C:\Program Files\nodejs\node_modules\npm\lib\utils\spawn.js:40:14)
15174 verbose stack     at emitTwo (events.js:106:13)
15174 verbose stack     at ChildProcess.emit (events.js:191:7)
15174 verbose stack     at maybeClose (internal/child_process.js:852:16)
15174 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5)
15175 verbose pkgid [email protected]
15176 verbose cwd C:\Users\Milan
15177 error Windows_NT 6.1.7601
15178 error argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "-g" "--production" "windows-build-tools"
15179 error node v6.4.0
15180 error npm  v3.10.3
15181 error code ELIFECYCLE
15182 error [email protected] postinstall: `node ./lib/index.js`
15182 error Exit status 1
15183 error Failed at the [email protected] postinstall script 'node ./lib/index.js'.
15183 error Make sure you have the latest version of node.js and npm installed.
15183 error If you do, this is most likely a problem with the windows-build-tools package,
15183 error not with npm itself.
15183 error Tell the author that this fails on your system:
15183 error     node ./lib/index.js
15183 error You can get information on how to open an issue for this project with:
15183 error     npm bugs windows-build-tools
15183 error Or if that isn't available, you can get their info via:
15183 error     npm owner ls windows-build-tools
15183 error There is likely additional logging output above.
15184 verbose exit [ 1, true ]```

DcBexter avatar Aug 30 '16 11:08 DcBexter

Found a solution while writing the post above...

Just add

%SystemRoot%/system32/WindowsPowerShell/v1.0

to your PATH and you should be good to go

DcBexter avatar Aug 30 '16 11:08 DcBexter

If on Jenkins / windows slaves reverse the slashes if you're setting the slave's PATH variable through the ENVIRONMENT feature in node configuration.

srflaxu40 avatar Nov 22 '17 06:11 srflaxu40

run cmd as administrator after doing what DcBexter told above, and then run your command.

razorsharpshady avatar Nov 28 '17 12:11 razorsharpshady

Note also that you should use the system PATH not your user's PATH since it will be running as Administrator.

@felixrieseberg, how hard would it be to output a more meaningful error message for cases where the script can't find/run PowerShell? If I hadn't found this thread I might still be stuck. There wasn't anything in the log about PowerShell, so it wasn't obvious to me. What if it output another line here saying something like, "Could not run PowerShell (Is it in the system's PATH?)"

3891 verbose unlock done using C:\Users\Jacob\AppData\Roaming\npm-cache\_locks\staging-dfd8fbf9c1feea0f.lock for C:\Program Files\nodejs\node_modules\.staging
3892 verbose stack Error: [email protected] postinstall: `node ./lib/index.js`
3892 verbose stack Exit status 1
3892 verbose stack     at EventEmitter.<anonymous> (C:\Users\Jacob\AppData\Roaming\nvm\v8.9.4\node_modules\npm\node_modules\npm-lifecycle\index.js:285:16)
3892 verbose stack     at emitTwo (events.js:126:13)
3892 verbose stack     at EventEmitter.emit (events.js:214:7)
3892 verbose stack     at ChildProcess.<anonymous> (C:\Users\Jacob\AppData\Roaming\nvm\v8.9.4\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
3892 verbose stack     at emitTwo (events.js:126:13)
3892 verbose stack     at ChildProcess.emit (events.js:214:7)
3892 verbose stack     at maybeClose (internal/child_process.js:925:16)
3892 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
3893 verbose pkgid [email protected]
3894 verbose cwd C:\Users\Jacob
3895 verbose Windows_NT 10.0.16299
3896 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "--global" "windows-build-tools"
3897 verbose node v8.9.4
3898 verbose npm  v5.6.0
3899 error code ELIFECYCLE
3900 error errno 1
3901 error [email protected] postinstall: `node ./lib/index.js`
3901 error Exit status 1
3902 error Failed at the [email protected] postinstall script.
3902 error This is probably not a problem with npm. There is likely additional logging output above.
3903 verbose exit [ 1, true ]

jacobq avatar Jan 31 '18 02:01 jacobq

@DcBexter Hi sir, how can i do the adding of %SystemRoot%/system32/WindowsPowerShell/v1.0 to my path? Is it on the CMD? I tried adding but it says The system cannot find the path specified.

It's embarrassing, but i don't get the instruction well.

By the way, my project path is c:\xampp\htdocs\ifsumis... is this the path to add to %SystemRoot%/system32/WindowsPowerShell/v1.0?

resnef avatar Feb 22 '18 07:02 resnef

@resnef Hi, the Path is an environment variable which you can set in "advanced system settings" (Control Panel -> System -> Advanced System Settings -> Environment Variables / Or press "Windows key" + "Pause key" -> Advanced System Settings -> Environment Variables )

It is possible to set the path on the commandline (cmd.exe) with

setx path "%path%;%SystemRoot%/system32/WindowsPowerShell/v1.0"

Which would add %SystemRoot%/system32/WindowsPowerShell/v1.0 To the path of your current user.

If you want to change the path system-wide for all users, you have to start cmd.exe as an administrator and use the /M Parameter:

setx /M "%path%;%SystemRoot%/system32/WindowsPowerShell/v1.0"

If you use powershell instead of cmd.exe you have to use this:

setx /M "$env:path;%SystemRoot%/system32/WindowsPowerShell/v1.0"

DcBexter avatar Mar 17 '18 01:03 DcBexter

@DcBexter Hi,

After making the changes to PATH variable as mentioned, i ran the command

npm install --global --production windows-build-tool

But it's for running the command is running for a long time. Python was installed, but Windows build tools is taking time.

Its 15 mins & is still running. Should i be worried??

+Update--Installed successfully after running for around 30 mins.

Thanks for the help @DcBexter & All.

jsurya9311 avatar Mar 24 '18 11:03 jsurya9311

Hi, i am getting this, and i tried adding values to the path variable: npm install --global --production windows-build-tools > [email protected] postinstall C:\Users\Nahida\AppData\Roaming\npm\node_modules\windows-build-tools > node ./lib/index.js C:\Users\Nahida\AppData\Roaming\npm\node_modules\windows-build-tools\node_modules\in-gfw\lib\os.js:53 throw resultError; ^ Error: Exited with status null at closeArgsToError (C:\Users\Nahida\AppData\Roaming\npm\node_modules\windows-build-tools\node_modules\in-gfw\lib\geo.js:5:15) at spawnSync (C:\Users\Nahida\AppData\Roaming\npm\node_modules\windows-build-tools\node_modules\in-gfw\lib\geo.js:62:16) at regQuery (C:\Users\Nahida\AppData\Roaming\npm\node_modules\windows-build-tools\node_modules\in-gfw\lib\geo.js:83:3) at getNation (C:\Users\Nahida\AppData\Roaming\npm\node_modules\windows-build-tools\node_modules\in-gfw\lib\geo.js:93:3) at Object.geo [as sync] (C:\Users\Nahida\AppData\Roaming\npm\node_modules\windows-build-tools\node_modules\in-gfw\lib\geo.js:105:3) at Object.osSync (C:\Users\Nahida\AppData\Roaming\npm\node_modules\windows-build-tools\node_modules\in-gfw\lib\os.js:48:7) at Object. (C:\Users\Nahida\AppData\Roaming\npm\node_modules\windows-build-tools\lib\constants.js:4:99) at Module._compile (internal/modules/cjs/loader.js:654:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10) at Module.load (internal/modules/cjs/loader.js:566:32) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] postinstall: node ./lib/index.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] postinstall script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Nahida\AppData\Roaming\npm-cache_logs\2018-04-25T05_43_38_023Z-debug.log

nahidarashid avatar Apr 25 '18 05:04 nahidarashid

@nahidarashid Could you please edit your message so that the console output is formatted such that it is easier to read? (e.g. currently there are no newlines, so it just looks like a "wall of text")

jacobq avatar Apr 25 '18 15:04 jacobq

@nahidarashid Your problem may also be caused by a geolocation problem. Feel free to check out https://github.com/felixrieseberg/windows-build-tools/issues/110 and try setting the environment variable to work around the problem as I suggsted to TikiLobel.

jacobq avatar Apr 30 '18 11:04 jacobq

@DcBexter Hi,

After making the changes to PATH variable as mentioned, i ran the command

npm install --global --production windows-build-tool

But it's for running the command is running for a long time. Python was installed, but Windows build tools is taking time.

Its 15 mins & is still running. Should i be worried??

+Update--Installed successfully after running for around 30 mins.

Thanks for the help @DcBexter & All.

Hi jsurya9311, please contact me about development 7010482701

Rahanmohan1 avatar Oct 24 '18 14:10 Rahanmohan1

Pls check this and tell how to fix this ?

https://github.com/victorbutler/binance-profit-calculator/issues/22#issue-398143509

suyash796 avatar Jan 11 '19 08:01 suyash796

Windows PowerShell (Mouse right click - Administrator), write here install --global --production windows-build-tools will be successfully install

kevin950 avatar Jul 31 '19 05:07 kevin950

Complete solution is

  • First add Poweshell to PATH as %SystemRoot%/system32/WindowsPowerShell/v1.0.
  • open powershell as admin and write this command Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force.
  • last thing fire npm-windows-upgrade.

MahmoudMabrok avatar Oct 22 '19 06:10 MahmoudMabrok

i have done all possible ways that listed on this page but my problem not solve till now power shell showing: PS C:\Windows\System32\WindowsPowerShell\v1.0> npm install --global --production windows-build-tools

[email protected] postinstall C:\Users\NEETESH\AppData\Roaming\npm\node_modules\windows-build-tools node ./dist/index.js

Downloading python-2.7.15.amd64.msi [> ] 0.0% (0 B/s) Downloaded python-2.7.15.amd64.msi. Saved to C:\Users\NEETESH.windows-build-tools\python-2.7.15.amd64.msi. Downloading vs_BuildTools.exe [> ] 0.0% (0 B/s) Downloaded vs_BuildTools.exe. Saved to C:\Users\NEETESH.windows-build-tools\vs_BuildTools.exe.

Starting installation... Please restart this script from an administrative PowerShell! The build tools cannot be installed without administrative rights. To fix, right-click on PowerShell and run "as Administrator". npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] postinstall: node ./dist/index.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] postinstall script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\NEETESH\AppData\Roaming\npm-cache_logs\2020-02-07T05_40_27_834Z-debug.log PS C:\Windows\System32\WindowsPowerShell\v1.0> help me

neetesh1996 avatar Feb 07 '20 05:02 neetesh1996

Did you try running the Powershell with elevated rights? Because your log tells you right there:

Please restart this script from an administrative PowerShell! The build tools cannot be installed without administrative rights. To fix, right-click on PowerShell and run "as Administrator".

DcBexter avatar Feb 07 '20 11:02 DcBexter

Trying to run npm install --global --production windows-build-tools and i keep getting this issue.

`C:\Users\asus\AppData\Roaming\npm\node_modules\windows-build-tools\dist\compatible.js:4 const { warn } = require('./logging'); ^^^^^ SyntaxError: Use of const in strict mode. at exports.runInThisContext (vm.js:73:16) at Module._compile (module.js:443:25) at Object.Module._extensions..js (module.js:478:10) at Module.load (module.js:355:32) at Function.Module._load (module.js:310:12) at Module.require (module.js:365:17) at require (module.js:384:17) at Object. (C:\Users\asus\AppData\Roaming\npm\node_modules\windows-build-tools\dist\index.js:6:1) at Module._compile (module.js:460:26) at Object.Module._extensions..js (module.js:478:10) npm ERR! Windows_NT 6.3.9600 npm ERR! argv "C:\Program Files (x86)\nodejs\\node.exe" "C:\Program Files (x86)\nodejs\node_modules\npm\bin\npm-cli.js" "install" "--global" "--production" "windows-build-tools" npm ERR! node v0.12.2 npm ERR! npm v2.7.4 npm ERR! code ELIFECYCLE

npm ERR! [email protected] postinstall: node ./dist/index.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] postinstall script 'node ./dist/index.js'. npm ERR! This is most likely a problem with the windows-build-tools package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node ./dist/index.js npm ERR! You can get their info via: npm ERR! npm owner ls windows-build-tools npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! D:\Programming Projects\8rent-owner\npm-debug.log`

boringz avatar Jan 10 '21 11:01 boringz

I have solved it as follows:

1.- open visual studio installer image

2.- click on modify image

3.- select - visual c++ build tools: - Node.js build tools - .NET Core build tools and click on "Modify" image

After this it was no longer necessary to execute the command line: "npm install --global --production windows-build-tools" and my application in visual studio works perfectly.

gumaroald avatar Jun 18 '21 00:06 gumaroald

Error How to fix $ npm install --global windows-build-tools

2021-07-04T22_04_08_032Z-debug.log

0 info it worked if it ends with ok 1 verbose cli [ 1 verbose cli 'C:\Program Files\nodejs\node.exe', 1 verbose cli 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js', 1 verbose cli 'install', 1 verbose cli '--global', 1 verbose cli 'windows-build-tools' 1 verbose cli ] 2 info using [email protected] 3 info using [email protected] 4 verbose npm-session a5e0e42a628073da 5 silly install loadCurrentTree 6 silly install readGlobalPackageData 7 http fetch GET 304 http://registry.npmjs.org/windows-build-tools 1013ms (from cache) 8 silly pacote tag manifest for windows-build-tools@latest fetched in 1203ms 9 timing stage:loadCurrentTree Completed in 1433ms 10 silly install loadIdealTree 11 silly install cloneCurrentTreeToIdealTree 12 timing stage:loadIdealTree:cloneCurrentTree Completed in 2ms 13 silly install loadShrinkwrap 14 timing stage:loadIdealTree:loadShrinkwrap Completed in 13ms 15 silly install loadAllDepsIntoIdealTree 16 silly resolveWithNewModule [email protected] checking installable status 17 http fetch GET 304 http://registry.npmjs.org/chalk 1180ms (from cache) 18 silly pacote range manifest for chalk@^2.4.2 fetched in 1252ms 19 silly resolveWithNewModule [email protected] checking installable status 20 http fetch GET 304 http://registry.npmjs.org/nugget 1571ms (from cache) 21 http fetch GET 304 http://registry.npmjs.org/in-gfw 1742ms (from cache) 22 silly pacote range manifest for nugget@^2.0.1 fetched in 1849ms 23 silly resolveWithNewModule [email protected] checking installable status 24 silly pacote range manifest for in-gfw@^1.2.0 fetched in 1947ms 25 silly resolveWithNewModule [email protected] checking installable status 26 http fetch GET 304 http://registry.npmjs.org/string-width 1885ms (from cache) 27 silly pacote range manifest for string-width@^4.1.0 fetched in 1979ms 28 silly resolveWithNewModule [email protected] checking installable status 29 http fetch GET 304 http://registry.npmjs.org/debug 2290ms (from cache) 30 http fetch GET 304 http://registry.npmjs.org/fs-extra 2293ms (from cache) 31 silly pacote range manifest for debug@^4.1.1 fetched in 2354ms 32 silly resolveWithNewModule [email protected] checking installable status 33 silly pacote range manifest for fs-extra@^8.0.1 fetched in 2354ms 34 silly resolveWithNewModule [email protected] checking installable status 35 http fetch GET 304 http://registry.npmjs.org/escape-string-regexp 1194ms (from cache) 36 silly pacote range manifest for escape-string-regexp@^1.0.5 fetched in 1235ms 37 silly resolveWithNewModule [email protected] checking installable status 38 http fetch GET 304 http://registry.npmjs.org/supports-color 2447ms (from cache) 39 silly pacote range manifest for supports-color@^5.3.0 fetched in 2461ms 40 silly resolveWithNewModule [email protected] checking installable status 41 http fetch GET 304 http://registry.npmjs.org/ansi-styles 3681ms (from cache) 42 silly pacote range manifest for ansi-styles@^3.2.1 fetched in 3693ms 43 silly resolveWithNewModule [email protected] checking installable status 44 http fetch GET 200 http://registry.npmjs.org/color-convert 82ms (from cache) 45 silly pacote range manifest for color-convert@^1.9.0 fetched in 104ms 46 silly resolveWithNewModule [email protected] checking installable status 47 http fetch GET 304 http://registry.npmjs.org/color-name 334ms (from cache) 48 silly pacote version manifest for [email protected] fetched in 382ms 49 silly resolveWithNewModule [email protected] checking installable status 50 http fetch GET 304 http://registry.npmjs.org/has-flag 433ms (from cache) 51 silly pacote range manifest for has-flag@^3.0.0 fetched in 473ms 52 silly resolveWithNewModule [email protected] checking installable status 53 http fetch GET 304 http://registry.npmjs.org/ms 381ms (from cache) 54 silly pacote version manifest for [email protected] fetched in 389ms 55 silly resolveWithNewModule [email protected] checking installable status 56 http fetch GET 304 http://registry.npmjs.org/jsonfile 415ms (from cache) 57 http fetch GET 304 http://registry.npmjs.org/graceful-fs 433ms (from cache) 58 silly pacote range manifest for jsonfile@^4.0.0 fetched in 451ms 59 silly resolveWithNewModule [email protected] checking installable status 60 silly pacote range manifest for graceful-fs@^4.2.0 fetched in 471ms 61 silly resolveWithNewModule [email protected] checking installable status 62 http fetch GET 304 http://registry.npmjs.org/universalify 9059ms (from cache) 63 silly pacote range manifest for universalify@^0.1.0 fetched in 9075ms 64 silly resolveWithNewModule [email protected] checking installable status 65 http fetch GET 304 http://registry.npmjs.org/glob 506ms (from cache) 66 silly pacote range manifest for glob@^7.1.2 fetched in 522ms 67 silly resolveWithNewModule [email protected] checking installable status 68 http fetch GET 304 http://registry.npmjs.org/is-wsl 5713ms (from cache) 69 http fetch GET 304 http://registry.npmjs.org/mem 5719ms (from cache) 70 silly pacote range manifest for is-wsl@^1.1.0 fetched in 5733ms 71 silly resolveWithNewModule [email protected] checking installable status 72 silly pacote range manifest for mem@^3.0.1 fetched in 5735ms 73 silly resolveWithNewModule [email protected] checking installable status 74 http fetch GET 304 http://registry.npmjs.org/fs.realpath 497ms (from cache) 75 http fetch GET 304 http://registry.npmjs.org/inflight 493ms (from cache) 76 http fetch GET 304 http://registry.npmjs.org/once 501ms (from cache) 77 silly pacote range manifest for fs.realpath@^1.0.0 fetched in 513ms 78 silly resolveWithNewModule [email protected] checking installable status 79 http fetch GET 304 http://registry.npmjs.org/minimatch 518ms (from cache) 80 silly pacote range manifest for inflight@^1.0.4 fetched in 525ms 81 silly resolveWithNewModule [email protected] checking installable status 82 http fetch GET 304 http://registry.npmjs.org/path-is-absolute 513ms (from cache) 83 silly pacote range manifest for once@^1.3.0 fetched in 532ms 84 silly resolveWithNewModule [email protected] checking installable status 85 silly pacote range manifest for minimatch@^3.0.4 fetched in 535ms 86 silly resolveWithNewModule [email protected] checking installable status 87 silly pacote range manifest for path-is-absolute@^1.0.0 fetched in 530ms 88 silly resolveWithNewModule [email protected] checking installable status 89 http fetch GET 304 http://registry.npmjs.org/inherits 5315ms (from cache) 90 silly pacote range manifest for inherits@2 fetched in 5321ms 91 silly resolveWithNewModule [email protected] checking installable status 92 http fetch GET 304 http://registry.npmjs.org/wrappy 1520ms (from cache) 93 silly pacote range manifest for wrappy@1 fetched in 1530ms 94 silly resolveWithNewModule [email protected] checking installable status 95 http fetch GET 304 http://registry.npmjs.org/brace-expansion 770ms (from cache) 96 silly pacote range manifest for brace-expansion@^1.1.7 fetched in 781ms 97 silly resolveWithNewModule [email protected] checking installable status 98 http fetch GET 304 http://registry.npmjs.org/concat-map 780ms (from cache) 99 silly pacote version manifest for [email protected] fetched in 858ms 100 silly resolveWithNewModule [email protected] checking installable status 101 http fetch GET 304 http://registry.npmjs.org/balanced-match 1107ms (from cache) 102 silly pacote range manifest for balanced-match@^1.0.0 fetched in 1119ms 103 silly resolveWithNewModule [email protected] checking installable status 104 http fetch GET 304 http://registry.npmjs.org/p-is-promise 739ms (from cache) 105 silly pacote range manifest for p-is-promise@^1.1.0 fetched in 754ms 106 silly resolveWithNewModule [email protected] checking installable status 107 http fetch GET 304 http://registry.npmjs.org/mimic-fn 13910ms (from cache) 108 silly pacote range manifest for mimic-fn@^1.0.0 fetched in 13941ms 109 silly resolveWithNewModule [email protected] checking installable status 110 silly pacote range manifest for debug@^2.1.3 fetched in 468ms 111 silly resolveWithNewModule [email protected] checking installable status 112 http fetch GET 304 http://registry.npmjs.org/progress-stream 1306ms (from cache) 113 silly pacote range manifest for progress-stream@^1.1.0 fetched in 1336ms 114 silly resolveWithNewModule [email protected] checking installable status 115 http fetch GET 304 http://registry.npmjs.org/request 1967ms (from cache) 116 http fetch GET 304 http://registry.npmjs.org/single-line-log 1988ms (from cache) 117 silly pacote range manifest for request@^2.45.0 fetched in 2269ms 118 warn deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142 119 silly resolveWithNewModule [email protected] checking installable status 120 silly pacote range manifest for single-line-log@^1.1.2 fetched in 2285ms 121 silly resolveWithNewModule [email protected] checking installable status 122 http fetch GET 304 http://registry.npmjs.org/throttleit 2752ms (from cache) 123 silly pacote version manifest for [email protected] fetched in 2786ms 124 silly resolveWithNewModule [email protected] checking installable status 125 http fetch GET 304 http://registry.npmjs.org/minimist 5662ms (from cache) 126 silly pacote range manifest for minimist@^1.1.0 fetched in 5687ms 127 silly resolveWithNewModule [email protected] checking installable status 128 http fetch GET 304 http://registry.npmjs.org/pretty-bytes 6429ms (from cache) 129 silly pacote range manifest for pretty-bytes@^1.0.2 fetched in 6497ms 130 silly resolveWithNewModule [email protected] checking installable status 131 silly pacote version manifest for [email protected] fetched in 13ms 132 silly resolveWithNewModule [email protected] checking installable status 133 http fetch GET 304 http://registry.npmjs.org/meow 487ms (from cache) 134 silly pacote range manifest for meow@^3.1.0 fetched in 503ms 135 silly resolveWithNewModule [email protected] checking installable status 136 http fetch GET 304 http://registry.npmjs.org/get-stdin 32353ms attempt #2 (from cache) 137 silly pacote range manifest for get-stdin@^4.0.1 fetched in 32383ms 138 silly resolveWithNewModule [email protected] checking installable status 139 http fetch GET 200 http://registry.npmjs.org/map-obj 1202ms (from cache) 140 silly pacote range manifest for map-obj@^1.0.1 fetched in 1361ms 141 silly resolveWithNewModule [email protected] checking installable status 142 http fetch GET 304 http://registry.npmjs.org/camelcase-keys 1806ms (from cache) 143 silly pacote range manifest for camelcase-keys@^2.0.0 fetched in 1817ms 144 silly resolveWithNewModule [email protected] checking installable status 145 http fetch GET 304 http://registry.npmjs.org/decamelize 1931ms (from cache) 146 silly pacote range manifest for decamelize@^1.1.2 fetched in 1960ms 147 silly resolveWithNewModule [email protected] checking installable status 148 http fetch GET 304 http://registry.npmjs.org/object-assign 2439ms (from cache) 149 http fetch GET 304 http://registry.npmjs.org/normalize-package-data 2462ms (from cache) 150 http fetch GET 304 http://registry.npmjs.org/read-pkg-up 2458ms (from cache) 151 silly pacote range manifest for object-assign@^4.0.1 fetched in 2464ms 152 silly resolveWithNewModule [email protected] checking installable status 153 silly pacote range manifest for normalize-package-data@^2.3.4 fetched in 2620ms 154 silly resolveWithNewModule [email protected] checking installable status 155 silly pacote range manifest for read-pkg-up@^1.0.1 fetched in 2622ms 156 silly resolveWithNewModule [email protected] checking installable status 157 http fetch GET 304 http://registry.npmjs.org/redent 2773ms (from cache) 158 silly pacote range manifest for redent@^1.0.0 fetched in 2784ms 159 silly resolveWithNewModule [email protected] checking installable status 160 http fetch GET 304 http://registry.npmjs.org/trim-newlines 2784ms (from cache) 161 silly pacote range manifest for trim-newlines@^1.0.0 fetched in 2790ms 162 silly resolveWithNewModule [email protected] checking installable status 163 http fetch GET 304 http://registry.npmjs.org/loud-rejection 3120ms (from cache) 164 silly pacote range manifest for loud-rejection@^1.0.0 fetched in 3196ms 165 silly resolveWithNewModule [email protected] checking installable status 166 http fetch GET 304 http://registry.npmjs.org/camelcase 531ms (from cache) 167 silly pacote range manifest for camelcase@^2.0.0 fetched in 554ms 168 silly resolveWithNewModule [email protected] checking installable status 169 http fetch GET 304 http://registry.npmjs.org/signal-exit 805ms (from cache) 170 silly pacote range manifest for signal-exit@^3.0.0 fetched in 813ms 171 silly resolveWithNewModule [email protected] checking installable status 172 http fetch GET 304 http://registry.npmjs.org/currently-unhandled 1254ms (from cache) 173 silly pacote range manifest for currently-unhandled@^0.4.1 fetched in 1410ms 174 silly resolveWithNewModule [email protected] checking installable status 175 http fetch GET 304 http://registry.npmjs.org/array-find-index 719ms (from cache) 176 silly pacote range manifest for array-find-index@^1.0.1 fetched in 725ms 177 silly resolveWithNewModule [email protected] checking installable status 178 http fetch GET 304 http://registry.npmjs.org/validate-npm-package-license 907ms (from cache) 179 silly pacote range manifest for validate-npm-package-license@^3.0.1 fetched in 984ms 180 silly resolveWithNewModule [email protected] checking installable status 181 http fetch GET 304 http://registry.npmjs.org/semver 1365ms (from cache) 182 silly pacote range manifest for semver@2 || 3 || 4 || 5 fetched in 1432ms 183 silly resolveWithNewModule [email protected] checking installable status 184 http fetch GET 304 http://registry.npmjs.org/resolve 1462ms (from cache) 185 silly pacote range manifest for resolve@^1.10.0 fetched in 1492ms 186 silly resolveWithNewModule [email protected] checking installable status 187 http fetch GET 304 http://registry.npmjs.org/hosted-git-info 2816ms (from cache) 188 silly pacote range manifest for hosted-git-info@^2.1.4 fetched in 3085ms 189 silly resolveWithNewModule [email protected] checking installable status 190 http fetch GET 304 http://registry.npmjs.org/path-parse 666ms (from cache) 191 silly pacote range manifest for path-parse@^1.0.6 fetched in 771ms 192 silly resolveWithNewModule [email protected] checking installable status 193 http fetch GET 304 http://registry.npmjs.org/is-core-module 2967ms (from cache) 194 silly pacote range manifest for is-core-module@^2.2.0 fetched in 2978ms 195 silly resolveWithNewModule [email protected] checking installable status 196 http fetch GET 304 http://registry.npmjs.org/has 481ms (from cache) 197 silly pacote range manifest for has@^1.0.3 fetched in 627ms 198 silly resolveWithNewModule [email protected] checking installable status 199 http fetch GET 304 http://registry.npmjs.org/function-bind 259ms (from cache) 200 silly pacote range manifest for function-bind@^1.1.1 fetched in 329ms 201 silly resolveWithNewModule [email protected] checking installable status 202 http fetch GET 304 http://registry.npmjs.org/spdx-expression-parse 767ms (from cache) 203 http fetch GET 304 http://registry.npmjs.org/spdx-correct 924ms (from cache) 204 silly pacote range manifest for spdx-expression-parse@^3.0.0 fetched in 925ms 205 silly resolveWithNewModule [email protected] checking installable status 206 silly pacote range manifest for spdx-correct@^3.0.0 fetched in 937ms 207 silly resolveWithNewModule [email protected] checking installable status 208 http fetch GET 304 http://registry.npmjs.org/spdx-license-ids 19776ms attempt #2 (from cache) 209 silly pacote range manifest for spdx-license-ids@^3.0.0 fetched in 19786ms 210 silly resolveWithNewModule [email protected] checking installable status 211 http fetch GET 200 http://registry.npmjs.org/spdx-exceptions 31ms (from cache) 212 silly pacote range manifest for spdx-exceptions@^2.1.0 fetched in 31ms 213 silly resolveWithNewModule [email protected] checking installable status 214 http fetch GET 304 http://registry.npmjs.org/find-up 251ms (from cache) 215 silly pacote range manifest for find-up@^1.0.0 fetched in 267ms 216 silly resolveWithNewModule [email protected] checking installable status 217 http fetch GET 304 http://registry.npmjs.org/read-pkg 844ms (from cache) 218 silly pacote range manifest for read-pkg@^1.0.0 fetched in 844ms 219 silly resolveWithNewModule [email protected] checking installable status 220 http fetch GET 304 http://registry.npmjs.org/path-exists 340ms (from cache) 221 silly pacote range manifest for path-exists@^2.0.0 fetched in 346ms 222 silly resolveWithNewModule [email protected] checking installable status 223 http fetch GET 304 http://registry.npmjs.org/pinkie-promise 355ms (from cache) 224 silly pacote range manifest for pinkie-promise@^2.0.0 fetched in 359ms 225 silly resolveWithNewModule [email protected] checking installable status 226 http fetch GET 304 http://registry.npmjs.org/pinkie 219ms (from cache) 227 silly pacote range manifest for pinkie@^2.0.0 fetched in 235ms 228 silly resolveWithNewModule [email protected] checking installable status 229 http fetch GET 304 http://registry.npmjs.org/path-type 5073ms (from cache) 230 silly pacote range manifest for path-type@^1.0.0 fetched in 5073ms 231 silly resolveWithNewModule [email protected] checking installable status 232 http fetch GET 304 http://registry.npmjs.org/load-json-file 5946ms (from cache) 233 silly pacote range manifest for load-json-file@^1.0.0 fetched in 5962ms 234 silly resolveWithNewModule [email protected] checking installable status 235 http fetch GET 304 http://registry.npmjs.org/pify 296ms (from cache) 236 silly pacote range manifest for pify@^2.0.0 fetched in 312ms 237 silly resolveWithNewModule [email protected] checking installable status 238 http fetch GET 304 http://registry.npmjs.org/parse-json 312ms (from cache) 239 silly pacote range manifest for parse-json@^2.2.0 fetched in 327ms 240 silly resolveWithNewModule [email protected] checking installable status 241 http fetch GET 304 http://registry.npmjs.org/strip-bom 452ms (from cache) 242 silly pacote range manifest for strip-bom@^2.0.0 fetched in 468ms 243 silly resolveWithNewModule [email protected] checking installable status 244 http fetch GET 304 http://registry.npmjs.org/error-ex 218ms (from cache) 245 silly pacote range manifest for error-ex@^1.2.0 fetched in 234ms 246 silly resolveWithNewModule [email protected] checking installable status 247 http fetch GET 304 http://registry.npmjs.org/is-arrayish 780ms (from cache) 248 silly pacote range manifest for is-arrayish@^0.2.1 fetched in 795ms 249 silly resolveWithNewModule [email protected] checking installable status 250 http fetch GET 304 http://registry.npmjs.org/is-utf8 845ms (from cache) 251 silly pacote range manifest for is-utf8@^0.2.0 fetched in 861ms 252 silly resolveWithNewModule [email protected] checking installable status 253 http fetch GET 304 http://registry.npmjs.org/strip-indent 343ms (from cache) 254 http fetch GET 304 http://registry.npmjs.org/indent-string 359ms (from cache) 255 silly pacote range manifest for strip-indent@^1.0.1 fetched in 343ms 256 silly resolveWithNewModule [email protected] checking installable status 257 silly pacote range manifest for indent-string@^2.1.0 fetched in 375ms 258 silly resolveWithNewModule [email protected] checking installable status 259 http fetch GET 304 http://registry.npmjs.org/repeating 3276ms (from cache) 260 silly pacote range manifest for repeating@^2.0.0 fetched in 3291ms 261 silly resolveWithNewModule [email protected] checking installable status 262 http fetch GET 304 http://registry.npmjs.org/is-finite 645ms (from cache) 263 silly pacote range manifest for is-finite@^1.0.0 fetched in 652ms 264 silly resolveWithNewModule [email protected] checking installable status 265 http fetch GET 304 http://registry.npmjs.org/through2 458ms (from cache) 266 silly pacote range manifest for through2@~0.2.3 fetched in 475ms 267 silly resolveWithNewModule [email protected] checking installable status 268 http fetch GET 304 http://registry.npmjs.org/speedometer 487ms (from cache) 269 silly pacote range manifest for speedometer@~0.1.2 fetched in 487ms 270 silly resolveWithNewModule [email protected] checking installable status 271 http fetch GET 200 http://registry.npmjs.org/readable-stream 54ms (from cache) 272 silly pacote range manifest for readable-stream@~1.1.9 fetched in 70ms 273 silly resolveWithNewModule [email protected] checking installable status 274 http fetch GET 304 http://registry.npmjs.org/xtend 320ms (from cache) 275 silly pacote range manifest for xtend@~2.1.1 fetched in 335ms 276 silly resolveWithNewModule [email protected] checking installable status 277 http fetch GET 304 http://registry.npmjs.org/isarray 737ms (from cache) 278 http fetch GET 304 http://registry.npmjs.org/core-util-is 758ms (from cache) 279 silly pacote version manifest for [email protected] fetched in 738ms 280 silly resolveWithNewModule [email protected] checking installable status 281 silly pacote range manifest for core-util-is@~1.0.0 fetched in 774ms 282 silly resolveWithNewModule [email protected] checking installable status 283 http fetch GET 304 http://registry.npmjs.org/string_decoder 750ms (from cache) 284 silly pacote range manifest for string_decoder@~0.10.x fetched in 766ms 285 silly resolveWithNewModule [email protected] checking installable status 286 http fetch GET 304 http://registry.npmjs.org/object-keys 221ms (from cache) 287 silly pacote range manifest for object-keys@~0.4.0 fetched in 236ms 288 silly resolveWithNewModule [email protected] checking installable status 289 http fetch GET 304 http://registry.npmjs.org/aws-sign2 468ms (from cache) 290 silly pacote range manifest for aws-sign2@~0.7.0 fetched in 468ms 291 silly resolveWithNewModule [email protected] checking installable status 292 http fetch GET 304 http://registry.npmjs.org/caseless 484ms (from cache) 293 http fetch GET 304 http://registry.npmjs.org/aws4 484ms (from cache) 294 silly fetchPackageMetaData error for aws4@^1.8.0 Unexpected end of JSON input while parsing near '...,"devDependencies":{"' 295 silly pacote range manifest for caseless@~0.12.0 fetched in 515ms 296 silly resolveWithNewModule [email protected] checking installable status 297 http fetch GET 304 http://registry.npmjs.org/forever-agent 983ms (from cache) 298 http fetch GET 304 http://registry.npmjs.org/har-validator 983ms (from cache) 299 http fetch GET 304 http://registry.npmjs.org/form-data 999ms (from cache) 300 http fetch GET 304 http://registry.npmjs.org/combined-stream 1014ms (from cache) 301 http fetch GET 304 http://registry.npmjs.org/http-signature 1030ms (from cache) 302 silly pacote range manifest for forever-agent@~0.6.1 fetched in 1046ms 303 silly resolveWithNewModule [email protected] checking installable status 304 silly pacote range manifest for har-validator@~5.1.3 fetched in 1046ms 305 warn deprecated [email protected]: this library is no longer supported 306 silly resolveWithNewModule [email protected] checking installable status 307 silly pacote range manifest for form-data@~2.3.2 fetched in 1077ms 308 silly resolveWithNewModule [email protected] checking installable status 309 silly pacote range manifest for combined-stream@~1.0.6 fetched in 1092ms 310 silly resolveWithNewModule [email protected] checking installable status 311 http fetch GET 304 http://registry.npmjs.org/isstream 655ms (from cache) 312 silly pacote range manifest for http-signature@~1.2.0 fetched in 1139ms 313 silly resolveWithNewModule [email protected] checking installable status 314 http fetch GET 304 http://registry.npmjs.org/json-stringify-safe 718ms (from cache) 315 http fetch GET 304 http://registry.npmjs.org/mime-types 733ms (from cache) 316 silly pacote range manifest for isstream@~0.1.2 fetched in 764ms 317 silly resolveWithNewModule [email protected] checking installable status 318 silly pacote range manifest for json-stringify-safe@~5.0.1 fetched in 796ms 319 silly resolveWithNewModule [email protected] checking installable status 320 silly pacote range manifest for mime-types@~2.1.19 fetched in 796ms 321 silly resolveWithNewModule [email protected] checking installable status 322 http fetch GET 304 http://registry.npmjs.org/extend 1341ms (from cache) 323 http fetch GET 304 http://registry.npmjs.org/is-typedarray 1358ms (from cache) 324 silly pacote range manifest for extend@~3.0.2 fetched in 1373ms 325 silly resolveWithNewModule [email protected] checking installable status 326 silly pacote range manifest for is-typedarray@~1.0.0 fetched in 1436ms 327 silly resolveWithNewModule [email protected] checking installable status 328 http fetch GET 304 http://registry.npmjs.org/oauth-sign 452ms (from cache) 329 silly pacote range manifest for oauth-sign@~0.9.0 fetched in 468ms 330 silly resolveWithNewModule [email protected] checking installable status 331 http fetch GET 304 http://registry.npmjs.org/performance-now 499ms (from cache) 332 silly pacote range manifest for performance-now@^2.1.0 fetched in 577ms 333 silly resolveWithNewModule [email protected] checking installable status 334 http fetch GET 304 http://registry.npmjs.org/tunnel-agent 531ms (from cache) 335 http fetch GET 304 http://registry.npmjs.org/qs 686ms (from cache) 336 http fetch GET 304 http://registry.npmjs.org/safe-buffer 702ms (from cache) 337 silly pacote range manifest for tunnel-agent@^0.6.0 fetched in 577ms 338 silly resolveWithNewModule [email protected] checking installable status 339 http fetch GET 304 http://registry.npmjs.org/uuid 530ms (from cache) 340 http fetch GET 304 http://registry.npmjs.org/tough-cookie 671ms (from cache) 341 silly pacote range manifest for qs@~6.5.2 fetched in 811ms 342 silly resolveWithNewModule [email protected] checking installable status 343 silly pacote range manifest for safe-buffer@^5.1.2 fetched in 796ms 344 silly resolveWithNewModule [email protected] checking installable status 345 silly pacote range manifest for uuid@^3.3.2 fetched in 624ms 346 warn deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. 347 silly resolveWithNewModule [email protected] checking installable status 348 silly pacote range manifest for tough-cookie@~2.5.0 fetched in 765ms 349 silly resolveWithNewModule [email protected] checking installable status 350 timing stage:rollbackFailedOptional Completed in 15ms 351 timing stage:runTopLevelLifecycles Completed in 138830ms 352 verbose stack SyntaxError: Unexpected end of JSON input while parsing near '...,"devDependencies":{"' 352 verbose stack at JSON.parse () 352 verbose stack at parseJson (C:\Program Files\nodejs\node_modules\npm\node_modules\json-parse-better-errors\index.js:7:17) 352 verbose stack at C:\Program Files\nodejs\node_modules\npm\node_modules\node-fetch-npm\src\body.js:96:50 352 verbose stack at runMicrotasks () 352 verbose stack at processTicksAndRejections (internal/process/task_queues.js:97:5) 353 verbose cwd C:\Users\Michael 354 verbose Windows_NT 6.1.7601 355 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "--global" "windows-build-tools" 356 verbose node v12.18.0 357 verbose npm v6.14.4 358 error Unexpected end of JSON input while parsing near '...,"devDependencies":{"' 359 verbose exit [ 1, true ]

MichaelMagdyG avatar Jul 04 '21 22:07 MichaelMagdyG