You can check the node_modules folder first to make sure @my-organisation/common existed. Somehow after yarn install / update some packages just "disappear". If so, you can do a yarn install --force to force yarn install again.
Creator of https://brisa.build Framework
Open source 📂
Machine learning 🤖
Books 📖
Sport 🏃♂️
Nature 🌱
Focus on being useful. I contribute AMAP to the OSS community. Love learning by doing.
Creator of https://brisa.build Framework
Open source 📂
Machine learning 🤖
Books 📖
Sport 🏃♂️
Nature 🌱
Focus on being useful. I contribute AMAP to the OSS community. Love learning by doing.
You can check the node_modules folder first to make sure
@my-organisation/commonexisted. Somehow after yarn install / update some packages just "disappear". If so, you can do ayarn install --forceto force yarn install again.In my case I checked an exist inside the
node_modules, but without thedistfolder.shared package tsconfig.json:
and shared package.json:
Do you know why this can happen? Thanks!
@t7yang I updated your example from typescript 3.8.3 to 4.9.5 and is not working either. Do you know how to fix it for TypeScript v.4.9.5?
have you run the
buildcmd? you need to build at least once to generate thedistfolder. the final solution is run thetscin yoursharedfolder.Thanks!