New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] ERR! Workspaces not supported for global packages (8.5.0+) #4477
Comments
Running into the same issues. Have a package that uses yarn, trying to install yarn |
thanks for the reports! the fix is linked above and will hopefully make it into this week's release |
Some of our developers still encounter this issue on Windows, using npm 8.5.5. |
@siiron is concurrently installed globally, or locally? |
Locally. |
Same issue here... Windows 10, Node.js 16.4.2, NPM 8.5.5 and Turborepo 1.1.10.
|
Same, any workaround? 😟 |
Use Node |
I opted to downgrade to node@16.13.1. That version still works, and it also comes with (PS: I personally recommend using |
You don’t need to change your node version, and shouldn’t. You can |
Though WebStorm would still use the old npm from the Node.js installation by default, so you'd need to change it in Project settings (Languages & Frameworks | Node.js). |
It shouldn't be able to, because the old npm is erased by |
@ljharb, note how |
@VsevolodGolovanov at least on a linux system, that would fail without |
@ljharb Of course I don't want to claim I know it all. Maybe I'm wrong about this, but it has been my experience in the past that you can have multiple
I think, I had those issues happen to me on Mac as well (some 2 years ago), with |
To get back to the matter at hand, can you re-open the issue until this is all fixed? Currently I have to downgrade |
I'm also seeing this when running turborepo commands, with every version of npm I've tried (from 8.1.4 through 8.7). |
I get this error even when I run simple |
use this commandnpm i somepackage --workspace=submodule0 |
Installing npm 8.9.0 fixes this issue for me. |
Installing npm |
trying |
Potential work around for anyone running into this while running bash on Windows. The process seems to throw an error and just stops there. However, when running in Command Prompt the task seems to continue even after the error is thrown. This doesn't solve the error but at least it identifies the error maybe to do with which terminal you're using...? |
Took me a while to figure this out. |
Running %userprofile% in |
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
After updating to 8.5.0 (and 8.5.2), I'm seeing the following when running a script that uses concurrently:
Log:
What is that
"prefix" "-g"
thing?Expected Behavior
No errors.
Steps To Reproduce
concurrently
.Environment
The text was updated successfully, but these errors were encountered: