This section contains solutions to various problems you may run into when developing for the TinaCMS.
The links between the local packages may have been broken. If this is the problem, then
running npm run bootstrap should fix the issue.
sh: cms-scripts: command not foundLinking prevents running npm install from directly inside a package from working. There are two ways to get around this issue.
Add the package with lerna
You can use lerna to add new dependencies to a package from the root of the repository:
lerna add react --scope @tinacms/react-tinacmsThe downside of this approach is you can only add one dependency at a time. If you need to add many packages, you can use the next method.
Add dependencies manually, then bootstrap
The other approach is to manually add the dependencies to the package.json and then run npm run bootstrap from the root of the repository.
When I run npm run bs it deletes the contents of a package?
This sucks. Try running lerna clean and then running npm run bs again.