wclr / yalc

Work with yarn/npm packages locally like a boss.
MIT License
5.64k stars 147 forks source link

Invalid "file:.yalc/<package name>" from the root project #226

Closed eustacezheng closed 11 months ago

eustacezheng commented 12 months ago

Hello everyone,

I managed to successfully publish my package using yalc publish and have it available globally. In my test project (React), I attempted to do yalc add <package> and it seems like it went well.

However, when I perform a npm ls react, I can see 2 "react" packages appear and the one pointing towards the package states an error: "Invalid file:.yalc/" from the root project.

Context

Has anyone faced this issue before? Thank you!

eustacezheng commented 11 months ago

No longer an issue.