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

How can I install on node v0.5.0-pre ? #25

Closed
crocodile opened this issue Jun 9, 2011 · 6 comments
Closed

How can I install on node v0.5.0-pre ? #25

crocodile opened this issue Jun 9, 2011 · 6 comments

Comments

@crocodile
Copy link

npm install require-analyzer -g

npm ERR! Unsupported
npm ERR! Not compatible with your version of node/npm: require-analyzer@0.2.9
npm ERR! Required: {"node":"0.4.x"}
npm ERR! Actual: {"npm":"1.0.6","node":"v0.5.0-pre"}
npm ERR!
npm ERR! System Linux 2.6.35.11-83.9.amzn1.x86_64
npm ERR! command "node" "/home/ec2-user/local/node/bin/npm" "install" "require-analyzer" "-g"
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/ec2-user/npm-debug.log

node --version
v0.5.0-pre

@Marak
Copy link

Marak commented Jun 9, 2011

You could also clone the repo, modify the package.json to allow for your version, then run npm install. It should work...

We've been figuring out the best practice for this. We could just modify the package.json to allow for v0.5.x, but technically speaking the 0.5.x branch is unstable by definition. All odd minor version numbers of node follow this convention. You should be aware of this if you are developing applications.

@indexzero
Copy link
Member

@Marak This is my mistake. Module authors should use the syntax:

  "engines": { "node": ">= 0.4.0" }

for node dependencies. I discuss this in detail in my article on the Nodejitsu blog, but I must have missed this package.json file when I was updating everything.

@AvianFlu can you patch the package.json and bump the version to 0.2.10

AvianFlu added a commit that referenced this issue Jun 9, 2011
@indexzero
Copy link
Member

@AvianFlu great. Now you need to create a git tag for this version:

  $ git tag -a 'v0.2.10' -m 'Version 0.2.10'
  $ git push --tags

When you're done with this, ping me and I will publish to npm.

@AvianFlu
Copy link

AvianFlu commented Jun 9, 2011

@indexzero tag pushed.

@indexzero
Copy link
Member

@AvianFlu great. thanks. Closing this. v0.2.10 is now on npm and allows for installation node >= 0.4.0. @crocodile can you confirm this for us? Thanks!

@crocodile
Copy link
Author

Thanks, it works now!

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

No branches or pull requests

4 participants