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 script, use deprecated version of estraverse #296
Comments
This comment has been minimized.
This comment has been minimized.
|
It sounds like you have two copies of
|
feross
closed this
Oct 18, 2015
This comment has been minimized.
This comment has been minimized.
|
@feross is |
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
|
TIL, thanks :) |
This comment has been minimized.
This comment has been minimized.
|
https://docs.npmjs.com/cli/install is really interesting, fwiw |
This comment has been minimized.
This comment has been minimized.
|
Yep, I have both global and local standard installed. But both are v5.3.1, so it's not just a version pb. The pb is when local standard is called via npm script, it use the deprecated version of estraverse because of estraverse-fb deprecated dependency. The bug seems to be related to npm3 dependencies collision handling: npm/npm#9708 I worked around the pb, doing this: npm/npm#9708 (comment) |
feross
reopened this
Oct 19, 2015
This comment has been minimized.
This comment has been minimized.
|
Closing this now, since it's not a |
adriengibrat commentedOct 18, 2015
I'm having
ExportDefaultDeclarationerror with npm3 using standard v5.3.1 in npm script ... but no error when using it in cli!This bug is resolved.
But with npm3, when using standard via a npm script, a deprecated version of estraverse (see RReverser/estraverse-fb#5) is used.
It's related on how npm3 resolves dependencies. I did not checked the dependency tree to check if there is peer dependencies...
It's not a bug in standard, but I created an issue here to avoid anyone to spend too much time to track this down.