After updating my app’s dependencies this morning I had some issues with fourseven:scss so I wanted to revert back to the previous version. I’m sure in the past I’ve used:
meteor add fourseven:scss@3.2.0
but that didn’t seem to work so I edited .meteor/versions and it then used the desired version and all was good.
Is it a bad idea to edit this file? Is there another way I can install a particular version of a package without editing it?
Yes you can do this but the version chosen can also be a a result of Meteor trying to find the best version based on your request and packages it’s using. If you use packages yourself (like package based architectures) then it’s strongly recommended to configure versions in package.js files because that will never be influenced by other updates.
If you force versions in the versions file later on you might run into incompatibility issues when packages start to upgrade. That can be a months later which can make it bit of an issue.