![]() ![]() Note: the last one is no different than doing uninstall followed by install like this: npm uninstall browser-sync -save-dev or the latest and greatest by doing: npm install -save-dev or the latest 2.1.x by doing: npm install -save-dev You can install/save the latest 2.x.x by doing: npm install -save-dev In your case, it looks like you want the next major version (v2.x.x), which is likely to have breaking changes and you will need to update your app to accommodate those changes. ![]() Use npm update|yarn upgrade (without a package name) to update all modules.Use npm|yarn outdated to see which modules have newer versions.Most of the time you can just npm update (or pnpm update or yarn upgrade) a module to get the latest non breaking changes (respecting the semver specified in your package.json) (<- read that last part again). ![]()
0 Comments
Leave a Reply. |