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
Published package has React and React-Dom listed as peerDependencies and are being used in devDependencies as I am exposing custom hooks (and using Context/Provider).
Test App would be a React app, hoping to utilize this package for testing
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 doyalc add <package>
and it seems like it went well.However, when I perform a" from the root project.
npm ls react
, I can see 2 "react" packages appear and the one pointing towards the package states an error: "Invalid file:.yalc/Context
Has anyone faced this issue before? Thank you!