http-browserify icon indicating copy to clipboard operation
http-browserify copied to clipboard

Node 0.8 required

Open matjaz opened this issue 13 years ago • 6 comments

I know I can upgrade. But I recommend at least updating minor version.

Because now for example browserify requires 0.8 too.

"http-browserify" : "~0.1.1",

https://github.com/substack/http-browserify/commit/c5ffd1d02048b8d723d2809537f29de4104eb2fd#L2R13

matjaz avatar Aug 06 '12 09:08 matjaz

I've kinda (temporarily) solved it with shrinkwrap

npm help shrinkwrap

matjaz avatar Aug 06 '12 12:08 matjaz

At the very least, it would have been nice to change minor version, since browserify depends on ~0.1.1, and this is frankly a breaking change, so I'd like to be able to choose when I upgrade.

seanmonstar avatar Aug 06 '12 17:08 seanmonstar

Try upgrading npm to the latest version where the engine field is advisory or you can try npm install -f browserify so that npm will install it anyways.

ghost avatar Aug 08 '12 06:08 ghost

OK. But still this does not solve the issue: same version of browserify can not be installed anymore from our build script without changing it.

If nothing else, update package.json engine field to 0.8.

matjaz avatar Aug 08 '12 07:08 matjaz

I just ran into this. Quite confusing when i saw that Browserify required 0.6, but was failing for anything under 0.8.

leeola avatar Aug 29 '12 22:08 leeola

I'm still using node 0.6 with browserify with npm 1.1.41 where the engines field is advisory but still works on node 0.6:

npm -g install [email protected]

ghost avatar Aug 30 '12 00:08 ghost