Fails to use latest version of angular
Why do I have to manually update NPM to use latest angular version.
I am seeing version 5.0.0 get install when 5.1.2 is available?
Versions
Angular CLI: 1.6.2
Repro steps
- Step 1 ng new app
Look at package.json, not current version.
Desired behavior
Install latest version of Angular NPM modules.
Mention any other details that might be useful (optional)
All works as expected Please, see link https://docs.npmjs.com/misc/semver version "^5.0.0" := >=5.0.0 <6.0.0
You have to be joking to point to a NPM spec. Having to spent time updating manually is not productive. Would like to see it use the latest angular available at the time.
As @MaxGorshkov mentioned, a newly generated app will install the latest version of Angular 5 as per the package.json. The caret ^ is the critical element within the version specifier.
Look at create-react-app, maybe you will get out of your darkness!
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.