Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upnpm3 flattening incorrectly in a project install with babel / jest / ? #300
Comments
This comment has been minimized.
This comment has been minimized.
|
This comment has been minimized.
This comment has been minimized.
|
Updating npm >> 3 fixes the problem. |
This comment has been minimized.
This comment has been minimized.
|
ah, interesting. okay, so can this be closed now? |
This comment has been minimized.
This comment has been minimized.
|
Hmm...It's weird because the symver would not suggest that such a breaking change exists between 5.1 and 5.2,3. Nor should the behaviour vary between a global and local install (global seems to be okay). |
This comment has been minimized.
This comment has been minimized.
|
So I am a dumby. The problem I was having using
in my package.json...should that break it tho? removing those caused the install to work fine locally. However I am noticing an issue when installing npm3 when I install all my deps at same time: here is my package json https://gist.github.com/sterpe/e37a0e87b743bf85259f And here is the output of There must be some conflict in the way npm3 flattens these out because
maybe a conflict with babel or jest? |
sterpe
changed the title
local project install only works on 5.2+ w/ npm3
npm3 flattening incorrectly in a project install with babel / jest / ?
Oct 21, 2015
This comment has been minimized.
This comment has been minimized.
|
I will investigate a bit more and see if I can narrow down the conflict. Could also potentially be one of the browserify-transforms, they have esprima deps too. |
This comment has been minimized.
This comment has been minimized.
|
This seems to have been fixed by |
sterpe commentedOct 20, 2015
Trying to do a local install of standard=> 5.2 with npm@2 seems fine. But when
node_modules/.bin/standardis run it cannot find it's dependencies.