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 upCannot find module 'eslint-plugin-import' #1081
Comments
This comment has been minimized.
This comment has been minimized.
|
This is super odd. We depend on it in I just cloned the branch and tested locally with the exact same version of Node and npm and it worked fine. I merged master into that PR branch and re-triggered a build. My guess is that it's a race condition npm bug. We'll see if that fixes it. |
This comment has been minimized.
This comment has been minimized.
|
Didn't work. I'm stumped. npm is not installing the deps: @zkat Do you have any ideas about this? Thanks :) |
feross
added
help wanted
need more info
labels
Feb 28, 2018
This comment has been minimized.
This comment has been minimized.
zkat
commented
Feb 28, 2018
|
I'll look at it in more detail tomorrow but: this looks like it's the peerdep hoisting issue. You'll likely have to manually install the missing peerdep at the top level. tl:dr: npm knows not to hoist peerdeps in some situations but then it turns out it hoists the thing that requires that peerdep. This is not really trivial to fix because it needs a big change to the installer. But a workaround is that you can just install a matching version of This bug, afaik, has been around pretty much since npm@3. |
This comment has been minimized.
This comment has been minimized.
|
Closing, as this appears to have been (perhaps indirectly) resolved in standard@11.0.1 |
zeke
closed this
Mar 15, 2018
This comment has been minimized.
This comment has been minimized.
|
@zeke Nice to hear! |

zeke commentedFeb 27, 2018