can't use galmorous package in react-native - react-native

I tried to use glamorous package in react-native.
So I used command as following.
npm install --save glamorous-native
But I encountered error
npm ERR! path E:\Project\IOS\react-Native\Log_IN_DEMO\node_modules\glamorous-native
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename 'E:\Project\IOS\react-Native\Log_IN_DEMO\node_modules\glamorous-native' -> 'E:\Project\IOS\react-Native\Log_IN_DEMO\node_modules\.glamorous-native.DELETE'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Autho\AppData\Roaming\npm-cache\_logs\2018-12-03T08_14_26_976Z-debug.log
This is Log file
0 info it worked if it ends with ok
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 'galmorous-native' ]
2 info using npm#6.4.1
3 info using node#v10.12.0
4 verbose npm-session 875ecedb0dc7d640
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 http fetch GET 404 https://registry.npmjs.org/galmorous-native 4267ms
8 silly fetchPackageMetaData error for galmorous-native#latest 404 Not Found: galmorous-native#latest
9 timing stage:rollbackFailedOptional Completed in 0ms
10 timing stage:runTopLevelLifecycles Completed in 5404ms
11 verbose stack Error: 404 Not Found: galmorous-native#latest
11 verbose stack at fetch.then.res (C:\Program Files\nodejs\node_modules\npm\node_modules\pacote\lib\fetchers\registry\fetch.js:42:19)
11 verbose stack at tryCatcher (C:\Program Files\nodejs\node_modules\npm\node_modules\bluebird\js\release\util.js:16:23)
11 verbose stack at Promise._settlePromiseFromHandler (C:\Program Files\nodejs\node_modules\npm\node_modules\bluebird\js\release\promise.js:512:31)
11 verbose stack at Promise._settlePromise (C:\Program Files\nodejs\node_modules\npm\node_modules\bluebird\js\release\promise.js:569:18)
11 verbose stack at Promise._settlePromise0 (C:\Program Files\nodejs\node_modules\npm\node_modules\bluebird\js\release\promise.js:614:10)
11 verbose stack at Promise._settlePromises (C:\Program Files\nodejs\node_modules\npm\node_modules\bluebird\js\release\promise.js:693:18)
11 verbose stack at Async._drainQueue (C:\Program Files\nodejs\node_modules\npm\node_modules\bluebird\js\release\async.js:133:16)
11 verbose stack at Async._drainQueues (C:\Program Files\nodejs\node_modules\npm\node_modules\bluebird\js\release\async.js:143:10)
11 verbose stack at Immediate.Async.drainQueues [as _onImmediate] (C:\Program Files\nodejs\node_modules\npm\node_modules\bluebird\js\release\async.js:17:14)
11 verbose stack at runCallback (timers.js:705:18)
11 verbose stack at tryOnImmediate (timers.js:676:5)
11 verbose stack at processImmediate (timers.js:658:5)
12 verbose cwd E:\Project\IOS\react-Native\Log_IN_DEMO
13 verbose Windows_NT 10.0.17134
14 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "galmorous-native"
15 verbose node v10.12.0
16 verbose npm v6.4.1
17 error code E404
18 error 404 Not Found: galmorous-native#latest
19 verbose exit [ 1, true ]
What is the reason?
Anyone know the reason?
Thanks for your attention.

In your Error :-
npm ERR! code E404
npm ERR! 404 Not Found: galmorous-native#latest
I think you have spelled glamorous-native wrong.

Related

I got error message 'not finished load plugins'

I got error message 'not finished load plugins', when I trying to load local server with [npm run develop]
What should I do?
This is the error message I got:
not finished load plugins - 0.975s
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! Henisis#0.2.0 develop: `GATSBY_ENV=staging gatsby develop`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the Henisis#0.2.0 develop 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! /Users/mingyeongso/.npm/_logs/2020-04-08T06_51_49_655Z-debug.log
mingyeongui-MacBookPro:henesis-website mingyeongso$
From the debug file:
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', 'develop' ]
2 info using npm#6.14.2
3 info using node#v10.16.3
4 verbose run-script [ 'predevelop', 'develop', 'postdevelop' ]
5 info lifecycle Henisis#0.2.0~predevelop: Henisis#0.2.0
6 info lifecycle Henisis#0.2.0~develop: Henisis#0.2.0
7 verbose lifecycle Henisis#0.2.0~develop: unsafe-perm in lifecycle true
8 verbose lifecycle Henisis#0.2.0~develop: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/mingyeongso/Documents/GitHub/henesis-website/node_modules/.bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
9 verbose lifecycle Henisis#0.2.0~develop: CWD: /Users/mingyeongso/Documents/GitHub/henesis-website
10 silly lifecycle Henisis#0.2.0~develop: Args: [ '-c', 'GATSBY_ENV=staging gatsby develop' ]
11 silly lifecycle Henisis#0.2.0~develop: Returned: code: 1 signal: null
12 info lifecycle Henisis#0.2.0~develop: Failed to exec develop script
13 verbose stack Error: Henisis#0.2.0 develop: GATSBY_ENV=staging gatsby develop
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:198:13)
13 verbose stack at ChildProcess. (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:198:13)
13 verbose stack at maybeClose (internal/child_process.js:982:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
14 verbose pkgid Henisis#0.2.0
15 verbose cwd /Users/mingyeongso/Documents/GitHub/henesis-website
16 verbose Darwin 18.7.0
17 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "develop"
18 verbose node v10.16.3
19 verbose npm v6.14.2
20 error code ELIFECYCLE
21 error errno 1
22 error Henisis#0.2.0 develop: GATSBY_ENV=staging gatsby develop
22 error Exit status 1
23 error Failed at the Henisis#0.2.0 develop script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
I resolved this error by this:
npm cache clean --force
delete package-lock.json file
npm install

NPM ERR! exit status code 77 when using "npm start"

I receive an error when using "npm start" it throws me this error.
I've already tried npm-cache-clean , and also trying delete the node_modules as well as deleting the package-lock.json , followed by "npm install" this didn't yield a different result.
npm ERR! code ELIFECYCLE
npm ERR! errno 77
npm ERR! crimstock#1.0.0 start: `electron .`
npm ERR! Exit status 77
npm ERR!
npm ERR! Failed at the crimstock#1.0.0 start 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\Negus\AppData\Roaming\npm-cache\_logs\2019-04-23T04_45_49_315Z-debug.log
info it worked if it ends with ok
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 'start' ]
2 info using npm#6.4.1
3 info using node#v8.12.0
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle crimstock#1.0.0~prestart: crimstock#1.0.0
6 info lifecycle crimstock#1.0.0~start: crimstock#1.0.0
7 verbose lifecycle crimstock#1.0.0~start: unsafe-perm in lifecycle true
8 verbose lifecycle crimstock#1.0.0~start: PATH: C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;D:\Desktop\Crimstock2\node_modules\.bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Users\Negus\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Users\Negus\Desktop\Code\phantomjs-2.1.1-windows\phantomjs-2.1.1-windows\bin;C:\Program Files\Git\cmd;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\Program Files\nodejs;C:\Users\Negus\AppData\Local\Programs\Python\Python36-32\Scripts;C:\Users\Negus\AppData\Local\Programs\Python\Python36-32;C:\Phantom\phantomjs-2.1.1-windows\bin;C:\Users\Negus\AppData\Roaming\npm;C:\Users\Negus\AppData\Local\Microsoft\WindowsApps;C:\Mongodb\bin;C:\Program Files\heroku\bin
9 verbose lifecycle crimstock#1.0.0~start: CWD: D:\Desktop\Crimstock2
10 silly lifecycle crimstock#1.0.0~start: Args: [ '/d /s /c', 'electron .' ]
11 silly lifecycle crimstock#1.0.0~start: Returned: code: 77 signal: null
12 info lifecycle crimstock#1.0.0~start: Failed to exec start script
13 verbose stack Error: crimstock#1.0.0 start: `electron .`
13 verbose stack Exit status 77
13 verbose stack at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:301:16)
13 verbose stack at emitTwo (events.js:126:13)
13 verbose stack at EventEmitter.emit (events.js:214:7)
13 verbose stack at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack at emitTwo (events.js:126:13)
13 verbose stack at ChildProcess.emit (events.js:214:7)
13 verbose stack at maybeClose (internal/child_process.js:915:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
14 verbose pkgid crimstock#1.0.0
15 verbose cwd D:\Desktop\Crimstock2
16 verbose Windows_NT 10.0.17134
17 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "start"
18 verbose node v8.12.0
19 verbose npm v6.4.1
20 error code ELIFECYCLE
21 error errno 77
22 error crimstock#1.0.0 start: `electron .`
22 error Exit status 77
23 error Failed at the crimstock#1.0.0 start script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 77, true ]
I want the electron app to start and not throw and error because I can't test any javascript in the index.js file I have

Can not install npm scoped package

My project uses private registry packages along with common packages.
I setup my scope registry according to docs at https://docs.npmjs.com/misc/scope
here is config list output:
C:\Users\anam\Desktop\login_page>npm config list
; cli configs
metrics-registry = "https://registry.npmjs.org/"
scope = ""
user-agent = "npm/6.4.1 node/v8.12.0 win32 x64"
; userconfig C:\Users\anam\.npmrc
#infromatica:registry = "http://infamvn:8081/nexus/content/groups/npmJs_GRP/"
email = "anam#informatica.com"
registry = "https://registry.npmjs.org/"
; builtin config undefined
prefix = "C:\\Users\\anam\\AppData\\Roaming\\npm"
; node bin location = C:\Program Files\nodejs\node.exe
; cwd = C:\Users\anam\Desktop\login_page
; HOME = C:\Users\anam
; "npm config ls -l" to show all defaults.
When I try to install scoped packages I get:
C:\Users\anam\Desktop\login_page>npm i #informatica/archipelago-icons
npm ERR! code E404
npm ERR! 404 Not Found: #informatica/archipelago-icons#0.0.2
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\anam\AppData\Roaming\npm-cache\_logs\2018-10-10T08_57_43_329Z-debug.log
here is log file:
0 info it worked if it ends with ok
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 'i',
1 verbose cli '#informatica/archipelago-icons' ]
2 info using npm#6.4.1
3 info using node#v8.12.0
4 verbose npm-session 758a10490a81bd2d
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 http fetch GET 404 https://registry.npmjs.org/#informatica%2farchipelago-icons 3339ms
8 silly fetchPackageMetaData error for #informatica/archipelago-icons#0.0.2 404 Not Found: #informatica/archipelago-icons#0.0.2
9 timing stage:rollbackFailedOptional Completed in 0ms
10 timing stage:runTopLevelLifecycles Completed in 3589ms
11 verbose stack Error: 404 Not Found: #informatica/archipelago-icons#0.0.2
11 verbose stack at fetch.then.res (C:\Users\anam\AppData\Roaming\nvm\v8.12.0\node_modules\npm\node_modules\pacote\lib\fetchers\registry\fetch.js:42:19)
11 verbose stack at tryCatcher (C:\Users\anam\AppData\Roaming\nvm\v8.12.0\node_modules\npm\node_modules\bluebird\js\release\util.js:16:23)
11 verbose stack at Promise._settlePromiseFromHandler (C:\Users\anam\AppData\Roaming\nvm\v8.12.0\node_modules\npm\node_modules\bluebird\js\release\promise.js:512:31)
11 verbose stack at Promise._settlePromise (C:\Users\anam\AppData\Roaming\nvm\v8.12.0\node_modules\npm\node_modules\bluebird\js\release\promise.js:569:18)
11 verbose stack at Promise._settlePromise0 (C:\Users\anam\AppData\Roaming\nvm\v8.12.0\node_modules\npm\node_modules\bluebird\js\release\promise.js:614:10)
11 verbose stack at Promise._settlePromises (C:\Users\anam\AppData\Roaming\nvm\v8.12.0\node_modules\npm\node_modules\bluebird\js\release\promise.js:693:18)
11 verbose stack at Async._drainQueue (C:\Users\anam\AppData\Roaming\nvm\v8.12.0\node_modules\npm\node_modules\bluebird\js\release\async.js:133:16)
11 verbose stack at Async._drainQueues (C:\Users\anam\AppData\Roaming\nvm\v8.12.0\node_modules\npm\node_modules\bluebird\js\release\async.js:143:10)
11 verbose stack at Immediate.Async.drainQueues (C:\Users\anam\AppData\Roaming\nvm\v8.12.0\node_modules\npm\node_modules\bluebird\js\release\async.js:17:14)
11 verbose stack at runCallback (timers.js:810:20)
11 verbose stack at tryOnImmediate (timers.js:768:5)
11 verbose stack at processImmediate [as _immediateCallback] (timers.js:745:5)
12 verbose cwd C:\Users\anam\Desktop\login_page
13 verbose Windows_NT 10.0.16299
14 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "i" "#informatica/archipelago-icons"
15 verbose node v8.12.0
16 verbose npm v6.4.1
17 error code E404
18 error 404 Not Found: #informatica/archipelago-icons#0.0.2
19 verbose exit [ 1, true ]
Pay attention to line 7:
7 http fetch GET 404 https://registry.npmjs.org/#informatica%2farchipelago-icons
It seems like it looks for the package in the default registry instead of scoped.
Any help is appreciated.
Thank you.
It turned out the cause of the error was wrong scope naming:
#infromatica:registry = "http://infamvn:8081/nexus/content/groups/npmJs_GRP/"

Error building on npm

I'm having the following error when running 'npm run build' for my app.
⠋ building for production.../home/edu/Dropbox/projects/personal/for good/musixshare/node_modules/last-call-webpack-plugin/src/index.js:170
compiler.hooks.compilation.tap(
^
TypeError: Cannot read property 'compilation' of undefined
at OptimizeCssAssetsWebpackPlugin.apply (/home/edu/Dropbox/projects/personal/for good/musixshare/node_modules/last-call-webpack-plugin/src/index.js:170:20)
at Compiler.apply (/home/edu/Dropbox/projects/personal/for good/musixshare/node_modules/tapable/lib/Tapable.js:375:16)
at webpack (/home/edu/Dropbox/projects/personal/for good/musixshare/node_modules/webpack/lib/webpack.js:33:19)
at err (/home/edu/Dropbox/projects/personal/for good/musixshare/build/build.js:19:3)
at next (/home/edu/Dropbox/projects/personal/for good/musixshare/node_modules/rimraf/rimraf.js:75:7)
at CB (/home/edu/Dropbox/projects/personal/for good/musixshare/node_modules/rimraf/rimraf.js:111:9)
at /home/edu/Dropbox/projects/personal/for good/musixshare/node_modules/rimraf/rimraf.js:137:14
at FSReqWrap.oncomplete (fs.js:152:21)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! musixshare#1.0.0 build: `node build/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the musixshare#1.0.0 build 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! /home/edu/.npm/_logs/2018-05-25T17_24_14_199Z-debug.log
And this is the error log I got:
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'build' ]
2 info using npm#6.1.0
3 info using node#v8.11.2
4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
5 info lifecycle musixshare#1.0.0~prebuild: musixshare#1.0.0
6 info lifecycle musixshare#1.0.0~build: musixshare#1.0.0
7 verbose lifecycle musixshare#1.0.0~build: unsafe-perm in lifecycle true
8 verbose lifecycle musixshare#1.0.0~build: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/edu/Dropbox/projects/personal/for good/musixshare/node_modules/.bin:/home/edu/bin:/home/edu/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
9 verbose lifecycle musixshare#1.0.0~build: CWD: /home/edu/Dropbox/projects/personal/for good/musixshare
10 silly lifecycle musixshare#1.0.0~build: Args: [ '-c', 'node build/build.js' ]
11 silly lifecycle musixshare#1.0.0~build: Returned: code: 1 signal: null
12 info lifecycle musixshare#1.0.0~build: Failed to exec build script
13 verbose stack Error: musixshare#1.0.0 build: `node build/build.js`
13 verbose stack Exit status 1
13 verbose stack at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:304:16)
13 verbose stack at emitTwo (events.js:126:13)
13 verbose stack at EventEmitter.emit (events.js:214:7)
13 verbose stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at emitTwo (events.js:126:13)
13 verbose stack at ChildProcess.emit (events.js:214:7)
13 verbose stack at maybeClose (internal/child_process.js:925:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
14 verbose pkgid musixshare#1.0.0
15 verbose cwd /home/edu/Dropbox/projects/personal/for good/musixshare
16 verbose Linux 4.13.0-43-generic
17 verbose argv "/usr/bin/node" "/usr/bin/npm" "run" "build"
18 verbose node v8.11.2
19 verbose npm v6.1.0
20 error code ELIFECYCLE
21 error errno 1
22 error musixshare#1.0.0 build: `node build/build.js`
22 error Exit status 1
23 error Failed at the musixshare#1.0.0 build script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
How can I solve this? I can run 'npm run dev' normally, just the build return this error. I've already tried updating all the dependencies.
I've got the solution, the problem was a incompatibility between webpack and optimize-css-assets-webpack-plugin. Downgrading the package to v3.2.0 got it fixed.

error running npm-windows-upgrade command

After I run this command:
npm install -g npm-windows-upgrade
I am getting this error:
PS C:\WINDOWS\system32> npm install -g npm-windows-upgrade
npm ERR! code E404
npm ERR! 404 Not Found: npm-windows-upgrade#latest
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\USERS1\AppData\Roaming\npm-cache\_logs\2018-04-12T15_31_25_623Z-debug.log
Here is the log file
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'C:\\Users\\USER1\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'install',
1 verbose cli '-g',
1 verbose cli 'npm-windows-upgrade' ]
2 info using npm#5.6.0
3 info using node#v8.9.3
4 verbose npm-session 4b47ac8f869b6388
5 silly install loadCurrentTree
6 silly install readGlobalPackageData
7 http fetch GET 404 https://registry.npmjs.org/moment.js/npm-windows-upgrade 119130ms attempt #3
8 silly fetchPackageMetaData error for npm-windows-upgrade#latest 404 Not Found: npm-windows-upgrade#latest
9 verbose stack Error: 404 Not Found: npm-windows-upgrade#latest
9 verbose stack at fetch.then.res (C:\Users\USER1\AppData\Roaming\npm\node_modules\npm\node_modules\pacote\lib\fetchers\registry\fetch.js:42:19)
9 verbose stack at tryCatcher (C:\Users\USER1\AppData\Roaming\npm\node_modules\npm\node_modules\bluebird\js\release\util.js:16:23)
9 verbose stack at Promise._settlePromiseFromHandler (C:\Users\USER1\AppData\Roaming\npm\node_modules\npm\node_modules\bluebird\js\release\promise.js:512:31)
9 verbose stack at Promise._settlePromise (C:\Users\USER1\AppData\Roaming\npm\node_modules\npm\node_modules\bluebird\js\release\promise.js:569:18)
9 verbose stack at Promise._settlePromise0 (C:\Users\USER1\AppData\Roaming\npm\node_modules\npm\node_modules\bluebird\js\release\promise.js:614:10)
9 verbose stack at Promise._settlePromises (C:\Users\USER1\AppData\Roaming\npm\node_modules\npm\node_modules\bluebird\js\release\promise.js:693:18)
9 verbose stack at Async._drainQueue (C:\Users\USER1\AppData\Roaming\npm\node_modules\npm\node_modules\bluebird\js\release\async.js:133:16)
9 verbose stack at Async._drainQueues (C:\Users\USER1\AppData\Roaming\npm\node_modules\npm\node_modules\bluebird\js\release\async.js:143:10)
9 verbose stack at Immediate.Async.drainQueues (C:\Users\USER1\AppData\Roaming\npm\node_modules\npm\node_modules\bluebird\js\release\async.js:17:14)
9 verbose stack at runCallback (timers.js:789:20)
9 verbose stack at tryOnImmediate (timers.js:751:5)
9 verbose stack at processImmediate [as _immediateCallback] (timers.js:722:5)
10 verbose cwd C:\WINDOWS\system32
11 verbose Windows_NT 10.0.16299
12 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\USER1\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "npm-windows-upgrade"
13 verbose node v8.9.3
14 verbose npm v5.6.0
15 error code E404
16 error 404 Not Found: npm-windows-upgrade#latest
17 verbose exit [ 1, true ]
What needs to be done?
Thanks-