Installing 1.0.0-beta.11-webpack.8 actually installs 1.0.0-beta.10 instead
Installing 1.0.0-beta.11-webpack.8 actually installs 1.0.0-beta.10 instead on Windows 7. I"m going crazy
- OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?) 7
- Versions. Please run
ng --version. If there's nothing outputted, please run in a Terminal:node --versionand paste the result here: Want 1.0.0-beta.11 but instead it installs beta.10 - Repro steps. Was this an app that wasn't created using the CLI? What change did you do on your code? etc. Run: npm i -g [email protected] Now run C:\Windows\system32>ng -v (node:7820) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version. angular-cli: 1.0.0-beta.10 node: 6.5.0 os: win32 x64
Clean your npm cache npm cache clean & try to install again npm i -g [email protected]
This is getting so weird. I tried a clean and install. I now see a mobile version of angular-cli as installed when I do an ng -v
Here's the output
And then when I clean cache the second time and do an ng -v in another folder, it now shows the correct version. What's going on?
I can confirm the same problem on os.x . Cleaning multiple times and reinstalling did not help
ng --version shows the locally installed version if you are in a folder with the cli installed, otherwise it shows the globally installed version.
For most commands it doesnt even matter wich version you have globally installed, because the global package just 'proxies' the command to the local version.
@niklas-dahl I ran that command outside of an existing angular2 cli project
Im experiencing the same problem. After following install/ update directions my version remains: angular-cli: 1.0.0-beta.10
System Version: macOS 10.12 (16A313a) Kernel Version: Darwin 16.0.0
Does this still happen with latest with the latest version (beta.15)?
I believe this is just what @niklas-dahl said to be honest - the difference in version from inside and outside a project.
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.