-
Notifications
You must be signed in to change notification settings - Fork 12k
ng new takes long to finish #1830
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
AngularCLI files are created in less than a second. But there are a lot of packages that have to be downloaded. This takes a lot of time :( |
Dupe of #1263 |
How much time it takes? |
The simple solution to this problem is close the command window forcefully to abort the process,and then delete the node-modules folder which has been created so far. Finally run npm install command to have node-modules explicitly . |
Another approach is to use the |
ng new project is EXACTLY SAME as ng new project --skip-install, then npm install. node_modules is binary exactly same. I tested it. DO NOT GIVE FALSE ADVICES WHICH YOU DID NOT TESTED, YOU WASTE OUR TIME. These pages are full of false advices, and between them are a few good advices. |
This is quick: But to run app is there is need to install this: And this install nearly same as npm install (slightly less) - 23749 files, 181 MB (full node_modules 205 MB). |
Although I agree that "ng new project --skip-install" followed by "npm install" should be the SAME as "ng new project", for me ng new project takes forever and using the separate npm install does not. Not entirely sure what could be the real issue. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
To Setup a Project the command
ng new
takes very Long to finish. More than 10 minutes are too much I think.angular-cli: 1.0.0-beta.11-webpack.2
node: 4.4.0
os: win 10 win32 x64
Dave.
The text was updated successfully, but these errors were encountered: