I have an existing project, and I have changed package.json
from
"devDependencies": {
"bs-platform": "^3.1.4"
to
"devDependencies": {
"bs-platform": "^6.0.0"
I then deleted node_modules/bs-platform
(it was a dead symlink), and tried bsb -make-world
, only to get this message:
bs-platform version mismatch Running bsb 6.0.0 (/home/david/.nvm/versions/node/v11.7.0/lib/node_modules/bs-platform) vs vendored 4.0.18 (/home/david/node_modules/bs-platform)
An attempt to do an npm update --save bs-platform@6.0.0
in the /home/david/node_modules
directory does nothing.
Adding a symlink to the version in .nvm/versions/node/v11.7.0/lib/node_modules
fixes the problem, but this seems a terribly unsatisfying solutoin.
Clearly, I have a total mess here. What is the correct way to clean it up?