Make "ng new" use RC5
When running "ng new", the newly generated package.json will include RC4 dependencies. These should be bumped to RC5, right?
My environment: Windows 7 32bit angular-cli: 1.0.0-beta.10 node: 6.3.1 os: win32 ia32
Update angular-cli with npm install --global [email protected] and check cli version with ng --version, then run ng new
@neilhem ah webpack.2 is RC5 :)
Yup, that's working, but it should be part of the default npm install angular-cli command.
I think that's because it's in beta @wtfuii
@wtfuii Yeah, once the webpack build is out of beta, it will become the default.
I've always found this a bit confusing, though by always I mean, for the last months. CLI itself is beta. But it seems like for now the webpack variant, which is obviously the primary development path (it is in master, it is not even a branch anymore) is a kind of "beta of a beta". So are we waiting for the webpack variant to be out of "beta beta", so it can become CLI beta.12 or whatever? Or are we going to be stuck with this install "@webpack" all the way until CLI itself is out of beta?
I agree that the beta of a beta terminology it is confusing, I should have described it differently. My understanding of the team's intentions is that the webpack version will become the default within a release or two. Because it's a big change they wanted some extra testing.
So, what's the ETA for RC5 to be default?
FYI, I had to npm uninstall -g angular-cli prior to running the above command to avoid errors.
Hi Guys, sorry for the dump question. Does the command [email protected], mean that Angular Cli will get the package from another source, or it is a new version of Angular Cli itself?
UPDATE
- I just found my answer here https://github.com/angular/angular-cli/blob/master/CHANGELOG.md.
I have unstalled old angular cli and cleaned npm cache and then installed the above mentioned version npm install --global [email protected] . But unable to run ng new command it is throwing error saying that cannot find module 'portfinder' any help?
@SenthilKumaranC try repeat installing again & check that you use node 4+
@neilhem Yes I am using Node 4+ only. I have tried again, but still not working
Actually during installation itself there are some errors, Do I need to install any specific version of typescript and how to install it?

Have you tried to uninstall global angular-cli with npm uninstall -g angular-cli? Recommend posting question in stackoverflow
Yes. I have used that command only. Also i have used npm cache clean
Uninstall , Cache Clean , Initiate installation

Errors during Installation

Error during ng new command

I installed
npm install --global [email protected]
to have rc.5 but is it normal when I tried to build it into dist folder, or when I tried to do ng serve
I have no /dist folder of my app to production?
@SenthilKumaranC, make sure you have npm v3 installed. I had the same issue with npm v2.x
I am trying to upgrade to npm3... here also i am getting the same error...
