I'm trying to upgrade to Node v0.6.17. I followed the instructions in this post:

http://blog.nodester.com/

but I'm still running version 0.4.9

Any suggestions?

Thanks

有帮助吗?

解决方案

There can be several issues why it's not working. It'd be good if you paste your package.json somewhere.

FWIW To upgrade the node.js you just need to add the next key/value pair:

"node":"0.6.17"

In the top level of the package.json, it's case-sensitive and it can be only one of the versions that the api returns when you request http://nodester.com/env/version.

In other words your package.json should look like this:

{
   "name":"jwerre",
   "description":"my awesome app",
   "version":"0.0.1",
   "node":"0.6.17"
   ... 
}
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top