Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to install node cli #2

Open
wants to merge 23 commits into
base: master
Choose a base branch
from
Open

Not able to install node cli #2

wants to merge 23 commits into from

Conversation

Raj1071
Copy link

@Raj1071 Raj1071 commented Apr 18, 2019

below is the code and exception:-

C:\Users\rajkuma\Desktop>npm install node-cli -g
npm http GET http://registry.npmjs.org/node-cli
npm http 304 http://registry.npmjs.org/node-cli
npm http GET http://registry.npmjs.org/node-cli/-/node-cli-0.1.0.tgz
npm http 200 http://registry.npmjs.org/node-cli/-/node-cli-0.1.0.tgz
npm ERR! Error: shasum check failed for C:\Users\rajkuma\AppData\Local\Temp\npm-7352-ygJM5zgM\1555569954173-0.005827664863318205\tmp.tgz
npm ERR! Expected: 264c4126f8e858562d0296a677914fd709786f7a
npm ERR! Actual: 20fe2d6a30f6aeaed917667f69d0593e0a66bc51
npm ERR! at C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\sha\index.js:38:8
npm ERR! at ReadStream. (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\sha\index.js:85:7)
npm ERR! at ReadStream.EventEmitter.emit (events.js:117:20)
npm ERR! at _stream_readable.js:920:16
npm ERR! at process._tickCallback (node.js:415:13)
npm ERR! If you need help, you may report this log at:
npm ERR! http://github.com/isaacs/npm/issues
npm ERR! or email it to:
npm ERR! [email protected]

Benjamin and others added 19 commits November 3, 2018 15:25
fix: default registry should be set to NPM_REGISTRY_URL
Fix incorrect secret name in README usage example
That would help running tools like `lerna`:
https://github.com/actions/npm/issues/8
Update example to only publish for a "tag push"
Fix entrypoint tests and observe shell linting rules
Changed NPM tag 10-slim to 10.
Add a CODEOWNERS file to streamline review.
…necting

to insecure npm registries from within an action.
Adds support for the NPM_STRICT_SSL environment variable
@ghost
Copy link

ghost commented Aug 7, 2019

Unable to install 'hls-live-thumbnails' using npm. [Error:- No compatible version found: m3u8@'github:tjenkinson/node-m3u8#hls-live-thumbnails'].

Any help will be appreciated.

complete logs

root@a:~/.npm/hls-live-thumbnails/1.5.0/package# npm install -g hls-live-thumbnails
npm http GET https://registry.npmjs.org/hls-live-thumbnails
npm http 304 https://registry.npmjs.org/hls-live-thumbnails
npm http GET https://registry.npmjs.org/body-parser
npm http GET https://registry.npmjs.org/event-emitter
npm http GET https://registry.npmjs.org/command-line-args
npm http GET https://registry.npmjs.org/js-logger
npm http GET https://registry.npmjs.org/express
npm http GET https://registry.npmjs.org/fluent-ffmpeg
npm http GET https://registry.npmjs.org/m3u8
npm http GET https://registry.npmjs.org/request
npm http 304 https://registry.npmjs.org/body-parser
npm http 304 https://registry.npmjs.org/event-emitter
npm http 304 https://registry.npmjs.org/command-line-args
npm http 304 https://registry.npmjs.org/express
npm http 304 https://registry.npmjs.org/fluent-ffmpeg
npm http 304 https://registry.npmjs.org/m3u8
npm http 304 https://registry.npmjs.org/request
npm http 304 https://registry.npmjs.org/js-logger

npm ERR! Error: No compatible version found: m3u8@'github:tjenkinson/node-m3u8#hls-live-thumbnails'
npm ERR! Valid install targets:
npm ERR! ["0.0.1","0.0.2","0.0.3","0.0.4","0.0.5","0.0.6","0.0.7","0.0.8"]
npm ERR! at installTargetsError (/usr/share/npm/lib/cache.js:719:10)
npm ERR! at /usr/share/npm/lib/cache.js:638:10
npm ERR! at saved (/usr/share/npm/node_modules/npm-registry-client/lib/get.js:142:7)
npm ERR! at /usr/lib/nodejs/graceful-fs/polyfills.js:133:7
npm ERR! at Object.oncomplete (fs.js:107:15)
npm ERR! If you need help, you may report this log at:
npm ERR! http://github.com/isaacs/npm/issues
npm ERR! or email it to:
npm ERR! [email protected]

npm ERR! System Linux 4.4.0-148-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "-g" "hls-live-thumbnails"
npm ERR! cwd /root/.npm/hls-live-thumbnails/1.5.0/package
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /root/.npm/hls-live-thumbnails/1.5.0/package/npm-debug.log
npm ERR! not ok code 0

@chinalinux2012
Copy link

GET https://registry.npmjs.org/gitbook-cli
GET https://registry.npmjs.org/gitbook-cli
GET https://registry.npmjs.org/gitbook-cli
Error: CERT_UNTRUSTED
at SecurePair. (tls.js:1430:32)
at SecurePair.emit (events.js:92:17)
at SecurePair.maybeInitFinished (tls.js:1029:10)
at CleartextStream.read [as _read] (tls.js:521:13)
at CleartextStream.Readable.read (_stream_readable.js:341:10)
at EncryptedStream.write [as _write] (tls.js:418:25)
at doWrite (_stream_writable.js:226:10)
at writeOrBuffer (_stream_writable.js:216:5)
at EncryptedStream.Writable.write (_stream_writable.js:183:11)
at write (_stream_readable.js:602:24)
If you need help, you may report this log at:
http://github.com/isaacs/npm/issues
or email it to:
[email protected]
System Linux 2.6.32-754.10.1.el6.x86_64
command "node" "/usr/bin/npm" "install" "gitbook-cli" "-g"
cwd /root
node -v v0.10.48
npm -v 1.3.6

Additional logging details can be found in:
/root/npm-debug.log
not ok code 0

@lizhenxiu
Copy link

07:38:50 [ERROR] npm http GET https://registry.npmjs.org/grunt-contrib-imagemin
07:39:01 [ERROR] npm http GET https://registry.npmjs.org/grunt-contrib-imagemin
07:40:02 [ERROR] npm http GET https://registry.npmjs.org/grunt-contrib-imagemin
07:40:03 [ERROR] npm ERR! Error: CERT_UNTRUSTED
07:40:03 [ERROR] npm ERR! at SecurePair. (tls.js:1357:32)
07:40:03 [ERROR] npm ERR! at SecurePair.EventEmitter.emit (events.js:92:17)
07:40:03 [ERROR] npm ERR! at SecurePair.maybeInitFinished (tls.js:970:10)
07:40:03 [ERROR] npm ERR! at CleartextStream.read [as _read] (tls.js:463:15)
07:40:03 [ERROR] npm ERR! at CleartextStream.Readable.read (_stream_readable.js:320:10)
07:40:03 [ERROR] npm ERR! at EncryptedStream.write [as _write] (tls.js:366:25)
07:40:03 [ERROR] npm ERR! at doWrite (_stream_writable.js:221:10)
07:40:03 [ERROR] npm ERR! at writeOrBuffer (_stream_writable.js:211:5)
07:40:03 [ERROR] npm ERR! at EncryptedStream.Writable.write (_stream_writable.js:180:11)
07:40:03 [ERROR] npm ERR! at write (_stream_readable.js:583:24)
07:40:03 [ERROR] npm ERR! If you need help, you may report this log at:
07:40:03 [ERROR] npm ERR! http://github.com/isaacs/npm/issues
07:40:03 [ERROR] npm ERR! or email it to:
07:40:03 [ERROR] npm ERR! [email protected]
07:40:03 [ERROR]

@rajeev0347
Copy link

Unable to install yo, grunt and bower. Help needed! Thanks!

vagrant@vagrant-ubuntu-trusty-64:~/node$ npm install -g yo grunt-cli bower
npm http GET https://registry.npmjs.org/yo
npm http GET https://registry.npmjs.org/grunt-cli
npm http GET https://registry.npmjs.org/bower
npm http GET https://registry.npmjs.org/yo
npm http GET https://registry.npmjs.org/bower
npm http GET https://registry.npmjs.org/grunt-cli
npm http GET https://registry.npmjs.org/yo
npm http GET https://registry.npmjs.org/bower
npm http GET https://registry.npmjs.org/grunt-cli
npm ERR! Error: CERT_UNTRUSTED
npm ERR! at SecurePair. (tls.js:1253:32)
npm ERR! at SecurePair.EventEmitter.emit (events.js:91:17)
npm ERR! at SecurePair.maybeInitFinished (tls.js:865:10)
npm ERR! at CleartextStream.read [as _read] (tls.js:416:15)
npm ERR! at CleartextStream.Readable.read (_stream_readable.js:216:10)
npm ERR! at EncryptedStream.write [as _write] (tls.js:329:25)
npm ERR! at EncryptedStream.Writable.write (_stream_writable.js:176:8)
npm ERR! at write (_stream_readable.js:481:24)
npm ERR! at flow (_stream_readable.js:491:7)
npm ERR! at Socket.pipeOnReadable (_stream_readable.js:523:5)
npm ERR! If you need help, you may report this log at:
npm ERR! http://github.com/isaacs/npm/issues
npm ERR! or email it to:
npm ERR! [email protected]

npm ERR! System Linux 3.13.0-170-generic
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "yo" "grunt-cli" "bower"
npm ERR! cwd /home/vagrant/node
npm ERR! node -v v0.9.9
npm ERR! npm -v 1.2.10
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/vagrant/node/npm-debug.log
npm ERR! not ok code 0
vagrant@vagrant-ubuntu-trusty-64:~/node$ node -v
v0.9.9

@rbala14
Copy link

rbala14 commented Dec 16, 2019

Unable to install
#npm install -g verdaccio
npm http GET https://registry.npmjs.org/verdaccio
npm http GET https://registry.npmjs.org/verdaccio
npm http GET https://registry.npmjs.org/verdaccio
npm ERR! Error: CERT_UNTRUSTED
npm ERR! at SecurePair. (tls.js:1430:32)
npm ERR! at SecurePair.emit (events.js:92:17)
npm ERR! at SecurePair.maybeInitFinished (tls.js:1029:10)
npm ERR! at CleartextStream.read [as _read] (tls.js:521:13)
npm ERR! at CleartextStream.Readable.read (_stream_readable.js:341:10)
npm ERR! at EncryptedStream.write [as _write] (tls.js:418:25)
npm ERR! at doWrite (_stream_writable.js:226:10)
npm ERR! at writeOrBuffer (_stream_writable.js:216:5)
npm ERR! at EncryptedStream.Writable.write (_stream_writable.js:183:11)
npm ERR! at write (_stream_readable.js:602:24)
npm ERR! If you need help, you may report this log at:
npm ERR! http://github.com/isaacs/npm/issues
npm ERR! or email it to:
npm ERR! [email protected]

npm ERR! System Linux 2.6.32-754.23.1.el6.x86_64
npm ERR! command "node" "/usr/bin/npm" "install" "-g" "verdaccio"
npm ERR! cwd /root
npm ERR! node -v v0.10.48
npm ERR! npm -v 1.3.6
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /root/npm-debug.log
npm ERR! not ok code 0

@janardhan07
Copy link

jboreddy@jboreddy:~$ sudo npm i latest-version
npm http GET https://registry.npmjs.org/latest-version
npm http GET https://registry.npmjs.org/latest-version
npm http GET https://registry.npmjs.org/latest-version
npm ERR! Error: CERT_UNTRUSTED
npm ERR! at SecurePair. (tls.js:1370:32)
npm ERR! at SecurePair.EventEmitter.emit (events.js:92:17)
npm ERR! at SecurePair.maybeInitFinished (tls.js:982:10)
npm ERR! at CleartextStream.read [as _read] (tls.js:469:13)
npm ERR! at CleartextStream.Readable.read (_stream_readable.js:320:10)
npm ERR! at EncryptedStream.write [as _write] (tls.js:366:25)
npm ERR! at doWrite (_stream_writable.js:223:10)
npm ERR! at writeOrBuffer (_stream_writable.js:213:5)
npm ERR! at EncryptedStream.Writable.write (_stream_writable.js:180:11)
npm ERR! at write (_stream_readable.js:583:24)
npm ERR! If you need help, you may report this log at:
npm ERR! http://github.com/isaacs/npm/issues
npm ERR! or email it to:
npm ERR! [email protected]

npm ERR! System Linux 4.2.0-27-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "i" "latest-version"
npm ERR! cwd /home/jboreddy/GIT/socialmarketing
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/jboreddy/GIT/socialmarketing/npm-debug.log
npm ERR! not ok code 0

the above issue got in Linux OS

@a1043710306
Copy link

npm http 304 https://registry.npmjs.org/micromatch
npm http 304 https://registry.npmjs.org/node-libs-browser
npm http 304 https://registry.npmjs.org/neo-async
npm http 304 https://registry.npmjs.org/schema-utils
npm http 304 https://registry.npmjs.org/tapable
npm http 304 https://registry.npmjs.org/terser-webpack-plugin
npm http 304 https://registry.npmjs.org/watchpack
npm http 304 https://registry.npmjs.org/webpack-sources
npm http 404 https://registry.npmjs.org/webassemblyjs/ast/1.9.0
npm ERR! Error: No dist in undefined package
npm ERR! at next (/usr/local/node/0.10.24/lib/node_modules/npm/lib/cache.js:749:26)
npm ERR! at /usr/local/node/0.10.24/lib/node_modules/npm/lib/cache.js:742:5
npm ERR! at saved (/usr/local/node/0.10.24/lib/node_modules/npm/node_modules/npm-registry-client/lib/get.js:142:7)
npm ERR! at /usr/local/node/0.10.24/lib/node_modules/npm/node_modules/graceful-fs/polyfills.js:133:7
npm ERR! at Object.oncomplete (fs.js:107:15)
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR! http://github.com/isaacs/npm/issues

npm ERR! System Linux 2.6.32-573.26.1.el6.x86_64
npm ERR! command "/usr/local/node/0.10.24/bin/node" "/usr/local/node/0.10.24/bin/npm" "install" "--save-dev" "webpack" "parse-server" "mongodb-runner" "--unsafe-perm"
npm ERR! cwd /tmp/gainful
npm ERR! node -v v0.10.24
npm ERR! npm -v 1.3.21
npm http 404 https://registry.npmjs.org/webassemblyjs/helper-module-context/1.9.0
npm http 404 https://registry.npmjs.org/webassemblyjs/wasm-parser/1.9.0
npm http 404 https://registry.npmjs.org/webassemblyjs/wasm-edit/1.9.0
npm http GET https://registry.npmjs.org/parse/push-adapter/3.2.0
npm http GET https://registry.npmjs.org/parse/simple-mailgun-adapter/1.1.0
npm http GET https://registry.npmjs.org/parse/s3-files-adapter/1.4.0
npm http GET https://registry.npmjs.org/apollo-server-express/2.11.0
npm http GET https://registry.npmjs.org/bcryptjs/2.4.3
npm http GET https://registry.npmjs.org/body-parser/1.19.0
npm http GET https://registry.npmjs.org/commander/5.0.0
npm http GET https://registry.npmjs.org/cors/2.8.5
npm http GET https://registry.npmjs.org/deepcopy/2.0.0
npm http GET https://registry.npmjs.org/express/4.17.1
npm http GET https://registry.npmjs.org/follow-redirects/1.11.0
npm http GET https://registry.npmjs.org/graphql/15.0.0
npm http GET https://registry.npmjs.org/graphql-list-fields/2.0.2
npm http GET https://registry.npmjs.org/graphql-relay
npm http GET https://registry.npmjs.org/graphql-tools
npm http GET https://registry.npmjs.org/graphql-upload/10.0.0
npm http GET https://registry.npmjs.org/intersect/1.0.1
npm http GET https://registry.npmjs.org/jsonwebtoken/8.5.1
npm http GET https://registry.npmjs.org/jwks-rsa/1.7.0
npm http GET https://registry.npmjs.org/ldapjs/1.0.2
npm http GET https://registry.npmjs.org/lru-cache/5.1.1
npm http GET https://registry.npmjs.org/mime/2.4.4
npm http GET https://registry.npmjs.org/mongodb/3.5.5
npm http GET https://registry.npmjs.org/parse/2.12.0
npm http GET https://registry.npmjs.org/pg-promise/10.5.0
npm http GET https://registry.npmjs.org/pluralize

@AJ97184
Copy link

AJ97184 commented Apr 9, 2021

Microsoft Windows [Version 10.0.17763.1817]
(c) 2018 Microsoft Corporation. All rights reserved.

C:\ANUJA\JDOS\02_ADC\emb32-ecu-template>npm i
(node:8644) Warning: Accessing non-existent property 'Reader' of module exports inside circular dependency
(Use node --trace-warnings ... to show where the warning was created)
(node:8644) Warning: Accessing non-existent property 'Reader' of module exports inside circular dependency
npm ERR! install Couldn't read dependencies
npm ERR! Error: Invalid name: "@emb32-bsp/emb32-ecu-template"
npm ERR! at ensureValidName (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\read-package-json\node_modules\normalize-package-data\lib\fixer.js:297:15)
npm ERR! at Object.fixNameField (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\read-package-json\node_modules\normalize-package-data\lib\fixer.js:201:5)
npm ERR! at C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\read-package-json\node_modules\normalize-package-data\lib\normalize.js:29:38
npm ERR! at Array.forEach ()
npm ERR! at normalize (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\read-package-json\node_modules\normalize-package-data\lib\normalize.js:28:15)
npm ERR! at final (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:328:33)
npm ERR! at then (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:126:33)npm ERR! at C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:317:40
npm ERR! at FSReqCallback.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:63:3)
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR! http://github.com/isaacs/npm/issues

npm ERR! System Windows_NT 10.0.17763
npm ERR! command "C:\Program Files (x86)\nodejs\node.exe" "C:\Program Files (x86)\nodejs\node_modules\npm\bin\npm-cli.js" "i"
npm ERR! cwd C:\ANUJA\JDOS\02_ADC\emb32-ecu-template
npm ERR! node -v v14.1.0
npm ERR! npm -v 1.3.24
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\ANUJA\JDOS\02_ADC\emb32-ecu-template\npm-debug.log
npm ERR! not ok code 0

@Fatma84
Copy link

Fatma84 commented Aug 28, 2021

whan im trying to install angular cli i git this errors , any help plz
npm install -g @angular/cli
npm ERR! Error: spawn ENOENT
npm ERR! at errnoException (child_process.js:922:11)
npm ERR! at Process.ChildProcess._handle.onexit (child_process.js:713:34)
npm ERR! at process._makeCallback (node.js:321:24)
npm ERR! If you need help, you may report this log at:
npm ERR! http://github.com/isaacs/npm/issues
npm ERR! or email it to:
npm ERR! [email protected]

npm ERR! System Linux 5.11.0-27-generic
npm ERR! command "/home/fatma/.nvm/v0.9.9/bin/node" "/home/fatma/.nvm/v0.9.9/bin/npm" "install" "-g" "@angular/cli"
npm ERR! cwd /media/fatma/fatma
npm ERR! node -v v0.9.9
npm ERR! npm -v 1.2.10
npm ERR! syscall spawn
npm ERR! code ENOENT
npm ERR! errno ENOENT
npm ERR! Error: EACCES, open 'npm-debug.log'
npm ERR! { [Error: EACCES, open 'npm-debug.log']
npm ERR! stack: 'Error: EACCES, open 'npm-debug.log'',
npm ERR! errno: 3,
npm ERR! code: 'EACCES',
npm ERR! path: 'npm-debug.log' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.

npm ERR! System Linux 5.11.0-27-generic
npm ERR! command "/home/fatma/.nvm/v0.9.9/bin/node" "/home/fatma/.nvm/v0.9.9/bin/npm" "install" "-g" "@angular/cli"
npm ERR! cwd /media/fatma/fatma
npm ERR! node -v v0.9.9
npm ERR! npm -v 1.2.10
npm ERR! path npm-debug.log
npm ERR! code EACCES
npm ERR! errno 3
npm ERR! stack Error: EACCES, open 'npm-debug.log'
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /media/fatma/fatma/npm-debug.log
npm ERR! not ok code 0

@HalaSamir
Copy link

I got his error while installing appium on ubuntu "npm install -g appium"
npm WARN package.json [email protected] No repository field.
npm http GET https://registry.npmjs.org/appium
npm http GET https://registry.npmjs.org/appium
npm http GET https://registry.npmjs.org/appium
npm ERR! Error: 140263601956672:error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version:../deps/openssl/openssl/ssl/s23_clnt.c:658:
npm ERR!
npm ERR! at CleartextStream._puller (tls.js:670:24)
npm ERR! at CleartextStream.CryptoStream._pull (tls.js:604:19)
npm ERR! at SecurePair.cycle (tls.js:894:20)
npm ERR! at EncryptedStream.CryptoStream.write (tls.js:285:13)
npm ERR! at Socket.ondata (stream.js:38:26)
npm ERR! at Socket.EventEmitter.emit (events.js:96:17)
npm ERR! at TCP.onread (net.js:397:14)
npm ERR! If you need help, you may report this log at:
npm ERR! http://github.com/isaacs/npm/issues
npm ERR! or email it to:
npm ERR! [email protected]

npm ERR! System Linux 5.13.0-44-generic
npm ERR! command "/home/halasamir/.nvm/v0.8.28/bin/node" "/home/halasamir/.nvm/v0.8.28/bin/npm" "install" "appium"
npm ERR! cwd /home/halasamir
npm ERR! node -v v0.8.28
npm ERR! npm -v 1.2.30
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/halasamir/npm-debug.log
npm ERR! not ok code 0

@priyankarr156
Copy link

Got below error:
npm ERR! Error: 3772:error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version:openssl\ssl\s23_clnt.c:658:
npm ERR!
npm ERR! at CleartextStream._puller (tls.js:618:24)
npm ERR! at CleartextStream.CryptoStream._pull (tls.js:552:19)
npm ERR! at SecurePair.cycle (tls.js:842:20)
npm ERR! at EncryptedStream.CryptoStream.write (tls.js:230:13)
npm ERR! at Socket.ondata (stream.js:38:26)
npm ERR! at Socket.EventEmitter.emit (events.js:88:17)
npm ERR! at TCP.onread (net.js:395:14)
npm ERR! If you need help, you may report this log at:
npm ERR! http://github.com/isaacs/npm/issues
npm ERR! or email it to:
npm ERR! [email protected]

npm ERR! System Windows_NT 6.2.9200
npm ERR! command "C:\Program Files\nodejs\\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install"
npm ERR! cwd C:\Users\priyanka.ranadive\Downloads\ssadmintool-master-121ab390831e5526570ca55cc839cc09f35bac32
npm ERR! node -v v0.8.8
npm ERR! npm -v 1.1.59

@harsh111166
Copy link

when I try to install npm then this error occurs
npm ERR! command "C:\Program Files\nodejs\\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install"
npm ERR! cwd E:\AARTEK Development\mifos vscode web-self-service-app\web-self-service-app-1.3.0
npm ERR! node -v v0.10.0
npm ERR! npm -v 1.2.14
npm http GET https://registry.npmjs.org/gulp-csso
npm http GET https://registry.npmjs.org/gulp-consolidate
npm http GET https://registry.npmjs.org/gulp-flatten
npm http GET https://registry.npmjs.org/gulp-hash-filename
npm http GET https://registry.npmjs.org/gulp-filter
npm http GET https://registry.npmjs.org/gulp-karma
npm http GET https://registry.npmjs.org/gulp-load-plugins
npm http GET https://registry.npmjs.org/gulp-jshint
npm http GET https://registry.npmjs.org/gulp-gh-pages
npm http GET https://registry.npmjs.org/gulp-minify-html
npm http GET https://registry.npmjs.org/gulp-ng-annotate
npm http GET https://registry.npmjs.org/gulp-protractor
npm http GET https://registry.npmjs.org/gulp-rename
npm http GET https://registry.npmjs.org/gulp-rev
npm http GET https://registry.npmjs.org/gulp-replace
npm http GET https://registry.npmjs.org/gulp-ruby-sass
npm http GET https://registry.npmjs.org/gulp-size
npm http GET https://registry.npmjs.org/gulp-rev-replace
npm http GET https://registry.npmjs.org/gulp-useref
npm http GET https://registry.npmjs.org/gulp-uglify
npm http GET https://registry.npmjs.org/karma-phantomjs-launcher
npm http GET https://registry.npmjs.org/karma-jasmine
npm http GET https://registry.npmjs.org/gulp-inject
npm http GET https://registry.npmjs.org/main-bower-files
npm http GET https://registry.npmjs.org/http-proxy
npm http GET https://registry.npmjs.org/jshint-stylish
npm http GET https://registry.npmjs.org/run-sequence
npm http GET https://registry.npmjs.org/uglify-save-license
npm http GET https://registry.npmjs.org/protractor
npm http GET https://registry.npmjs.org/require-dir
npm http GET https://registry.npmjs.org/wiredep
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! E:\AARTEK Development\mifos vscode web-self-service-app\web-self-service-app-1.3.0\npm-debug.log
npm ERR! not ok code 0

@fizaayesha
Copy link

Unable to install typescript in Ubuntu 22.04
Getting following errors:-

$ npm install -g typescript
npm http GET http://registry.npmjs.org/typescript
npm http GET http://registry.npmjs.org/typescript
npm http GET http://registry.npmjs.org/typescript
npm ERR! Error: getaddrinfo EADDRINFO
npm ERR!     at errnoException (dns.js:37:11)
npm ERR!     at Object.onanswer [as oncomplete] (dns.js:124:16)
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <[email protected]>

npm ERR! System Linux 5.19.0-46-generic
npm ERR! command "/home/ayesha/.nvm/v0.8.28/bin/node" "/home/ayesha/.nvm/v0.8.28/bin/npm" "install" "-g" "typescript"
npm ERR! cwd /home/ayesha
npm ERR! node -v v0.8.28
npm ERR! npm -v 1.2.30
npm ERR! syscall getaddrinfo
npm ERR! code EADDRINFO
npm ERR! errno EADDRINFO
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /home/ayesha/npm-debug.log
npm ERR! not ok code 0

How to resolve it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.