Dev. Local Environment
In our experience with Bit CLI, and our mono-repo component library, the following steps fix about 90% of the issues you may come across.
Follow the steps below:
- Ensure you have Node 16 Latest installed
nvm install 16 latest
- Ensure you have the latest Bit CLI version (they release regularly)
bvm upgrade
- Run the magic command!
yarn reset
This last command is a combination of other commands that will clear all your caches, remove your node-modules folder, and install, build and run everything for you; from scratch. You're welcome!
For instructions on Yarn, please find support here.
Required Versions
Please ensure you're running the following versions
Node: >=12 <=16 (v16 Latest recommended)
Yarn: 1 Latest (v1 Latest recommended, not v2)
Bit: Latest, they issue builds regularly