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 upStandard 10.0.0 stopped working when installed with pnpm #848
Comments
This comment has been minimized.
This comment has been minimized.
|
@zkochan What happens when you delete your Can you post the complete output from |
This comment has been minimized.
This comment has been minimized.
|
Yes, I tried removing node_modules. However, with pnpm it is not really needed because it always creates the same node_modules structure. Here's a repo to reproduce https://github.com/zkochan/pnpm-standard. I committed the whole node_modules folder. When running
|
This comment has been minimized.
This comment has been minimized.
|
I'm really sorry but I don't have the bandwidth to debug this at the moment, so I'm going to close this issue to reflect that. If you (or someone else!) figure out how to fix this bug and have further information to share, or want to send a PR, I'm happy to take a look again. |
feross
closed this
Apr 14, 2017
This comment has been minimized.
This comment has been minimized.
|
@feross I don't know what you did, but the issue has been fixed by (the issue might have been a missing dependency. npm and yarn flatten dependencies, so frequently packages work even if someone forgets to add a dependency to package.json. Maybe I'll investigate what was the issue later) |
This comment has been minimized.
This comment has been minimized.
|
Glad it worked out for you! |
This comment has been minimized.
This comment has been minimized.
onlywei
commented
Apr 28, 2017
|
I'm currently experiencing this issue now in my own repository. Suddenly my eslint throws this same error message after switching to pnpm (I am not using standard). Let's see if I can investigate more details... |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
onlywei
commented
Apr 28, 2017
|
@zkochan currently putting out some fires, so I temporarily removed the |
This comment has been minimized.
This comment has been minimized.
|
@onlywei Thanks for sharing. If you have additional info, that would be much appreciated. |
This comment has been minimized.
This comment has been minimized.
HeavenSky
commented
Dec 31, 2017
|
@feross @zkochan I found the same issue happend in
|
zkochan commentedApr 8, 2017
Maybe this is something that should be fixed on the pnpm side, but I don't know what caused the issue, so maybe someone could help me to understand.
From version 10, if standard is installed using pnpm, when running standard, it throws these errors:
Resolve error: unable to load resolver "node".pnpm uses a different node_modules structure and bin files format but standard worked fine till v10. Can someone point me to what was changed that could break this?