Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Error installing myth : No compatible version found #26

Closed
ssppgit opened this issue Dec 23, 2013 · 14 comments
Closed

Error installing myth : No compatible version found #26

ssppgit opened this issue Dec 23, 2013 · 14 comments

Comments

@ssppgit
Copy link

ssppgit commented Dec 23, 2013

Hi!

I am trying to install myth and when i run "npm install myth" i get an error with dependencies that you can see below.

I am using node.js 0.10.24.

1453 error notarget No compatible version found: concat-stream@'visionmedia/node-concat-stream#0.0.1'
1453 error notarget Valid install targets:
1453 error notarget ["0.0.1","0.0.2","0.0.3","0.0.4","0.0.5","0.0.6","0.0.7","0.0.8","0.0.9","0.1.0","0.1.1","1.0.0","1.0.1","1.1.0","1.2.0","1.2.1"]
1453 error notarget
1453 error notarget This is most likely not a problem with npm itself.
1453 error notarget In most cases you or one of your dependencies are requesting
1453 error notarget a package version that doesn't exist.
1454 error System Windows_NT 6.1.7601
1455 error command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "myth"
1456 error cwd C:\Users\user
1457 error node -v v0.10.24
1458 error npm -v 1.3.21
1459 error code ETARGET
1460 verbose exit [ 1, true ]

How can i solve this problem? Thanks!

@juliangruber
Copy link

do you have git installed?

@ssppgit
Copy link
Author

ssppgit commented Dec 23, 2013

Yes, i have git installed!

@juliangruber
Copy link

can you try this in an empty directory?

$ npm install visionmedia/node-concat-stream

@forgetpluto
Copy link

C:\Users\user\Desktop\Myth>npm install visionmedia/node-concat-stream
npm ERR! addLocal Could not install visionmedia/node-concat-stream
npm ERR! Error: ENOENT, stat 'C:\Users\user\Desktop\Myth\visionmedia\node-concat-stream'
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 6.2.9200
npm ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "visionmedia/node-concat-stream"
npm ERR! cwd C:\Users\user\Desktop\Myth
npm ERR! node -v v0.10.24
npm ERR! npm -v 1.3.21
npm ERR! path C:\Users\user\Desktop\Myth\visionmedia\node-concat-stream
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\Users\user\Desktop\Myth\npm-debug.log
npm ERR! not ok code 0

@juliangruber
Copy link

Def. a problem with your installation, I still suspect npm can't use git. isaacs/npm is the correct place for this.

@juliangruber
Copy link

Please reopen when this can't be fixed on your side and we have to look for another solution.

@ianstormtaylor
Copy link
Contributor

Super weird, looks like an npm on windows thing maybe

@forgetpluto
Copy link

how can i fix it ? i run node.js latest version on windows 8.1.

@ianstormtaylor
Copy link
Contributor

looks like there's two different errors. the one you posted in isaacs/npm is different, and was there for a sec (even i saw it) but now its not. i assume the windows-specific one is still there. that's the one you should probably open as an issue on that repo i think

@forgetpluto
Copy link

C:\Users\user>npm repo
npm ERR! Error: ENOENT, open 'C:\Users\user\package.json'
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 6.2.9200
npm ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js"
"repo"
npm ERR! cwd C:\Users\user
npm ERR! node -v v0.10.24
npm ERR! npm -v 1.3.21
npm ERR! path C:\Users\user\package.json
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\Users\user\npm-debug.log
npm ERR! not ok code 0

@yamafaktory
Copy link

I was dealing with the same error on windows 8.1 and node v0.10.24 too. Thanks to juliangruber's comment, everything is ok now. Just install git for windows (http://git-scm.com/download/win) and don't forget to add git in your path when the installer asked for it.

@ianstormtaylor
Copy link
Contributor

nice, thanks @yamafaktory!

@forgetpluto
Copy link

Thank you 👍

@markatcanary
Copy link

npm http 304 https://registry.npmjs.org/keypress
npm http GET https://registry.npmjs.org/yo
npm http 304 https://registry.npmjs.org/yo
npm ERR! notarget No compatible version found: yo@'>=1.2.0'
npm ERR! notarget Valid install targets:
npm ERR! notarget ["1.0.0-beta.1","1.0.0-beta.2","1.0.0-beta.3","1.0.0-beta.4","1.0.0-beta.5","1.0.0-beta.6","1.0.0-beta.7","1.0.0-rc.1","1.0.0-rc.1.1","1.0.0-rc.1.2","1.0.0-rc.1.3","1.0.0-rc.1.4","1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7-pre.1","1.0.7-pre.2","1.0.7-pre.3","1.1.0","1.1.1","1.1.2"]
npm ERR! notarget
npm ERR! notarget This is most likely not a problem with npm itself.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

npm ERR! System Linux 3.5.0-45-generic
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "generator-angular-fullstack" "--save"
npm ERR! cwd /home/ankur/Desktop/jayu
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.24
npm ERR! code ETARGET
npm ERR! Error: EACCES, open 'npm-debug.log'
npm ERR! { [Error: EACCES, open 'npm-debug.log'] errno: 3, code: 'EACCES', path: 'npm-debug.log' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.

npm ERR! System Linux 3.5.0-45-generic
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "generator-angular-fullstack" "--save"
npm ERR! cwd /home/ankur/Desktop/jayu
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.24
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! /home/ankur/Desktop/jayu/npm-debug.log
npm ERR! not ok code 0

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

No branches or pull requests

6 participants