You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also note that it generally has the same problems with yarn@1, but supposedly works with yarn@2 and yarn@3 (haven't tried that yet).
The text was updated successfully, but these errors were encountered:
Domiii
changed the title
WARNING to all yalc users: your npm version matters! (docs might need updating)
WARNING to all yalc users: your npm and yarn versions matter! (docs might need updating)
Mar 30, 2022
TL;DR
npm@8.1.0
,yalc
does not work properly.npm@8.5.*
(see [BUG] ERR! Workspaces not supported for global packages (8.5.0+) npm/cli#4477)npm@8.1.2
it works smooth as butter.Attempt 1
Steps to repro (after
yalc publish
):yalc add @my-scope/my-package
npm install
@my-scope/my-package
on the registry:ERROR: ... no matching version found ...
npm cache clean --force
(explained here)Attempt 2
This time, reverse the order:
npm install
yalc add @my-scope/my-package
npm start
@my-scope/my-package
because it evidently did not install it quite right.Sln
volta install node@16.13.1
(i.e. upgrade tonode@16.13.1
from my previousnode@16.13.0
)npm
to8.1.2
.NOTE: From the
npm
changelog between 8.1.0 and 8.1.2, I don't see why8.1.2
works. But I'm glad it does.Also note that it generally has the same problems with
yarn@1
, but supposedly works withyarn@2
andyarn@3
(haven't tried that yet).The text was updated successfully, but these errors were encountered: