ember-cli: "Installing packages for tooling via npm" just hangs there

To recreate:

Simply type ember new app-name in the terminal and it always stalls on npm

The output:

installing app
  create .bowerrc
  create .editorconfig
  create .ember-cli
  create .jshintrc
  create .travis.yml
  create .watchmanconfig
  create README.md
  create app/app.js
  create app/components/.gitkeep
  create app/controllers/.gitkeep
  create app/helpers/.gitkeep
  create app/index.html
  create app/models/.gitkeep
  create app/resolver.js
  create app/router.js
  create app/routes/.gitkeep
  create app/styles/app.css
  create app/templates/application.hbs
  create app/templates/components/.gitkeep
  create bower.json
  create config/environment.js
  create ember-cli-build.js
  create .gitignore
  create package.json
  create public/crossdomain.xml
  create public/robots.txt
  create testem.js
  create tests/.jshintrc
  create tests/helpers/destroy-app.js
  create tests/helpers/module-for-acceptance.js
  create tests/helpers/resolver.js
  create tests/helpers/start-app.js
  create tests/index.html
  create tests/integration/.gitkeep
  create tests/test-helper.js
  create tests/unit/.gitkeep
  create vendor/.gitkeep
Successfully initialized git.
⠋ Installing packages for tooling via npm

And it just hangs there for longer than I could wait. Let me know if you need more info.

Output from ember version --verbose:

$ ember -v --verbose
ember-cli: 2.5.1
http_parser: 2.6.2
node: 5.7.0
v8: 4.6.85.31
uv: 1.8.0
zlib: 1.2.8
ares: 1.10.1-DEV
icu: 56.1
modules: 47
openssl: 1.0.2f
os: darwin x64

Some additional info:

OS: OSX Yosemite 10.10.5 (14F1713)
$ npm -v
3.6.0

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 29 (14 by maintainers)

Most upvoted comments

It just takes a very long time to install all libraries in the node_modules directory. Be patient and you will be rewarded: “Installed packages for tooling via npm. Project ‘xxx’ successfully created.” 😉

try ember new app-name --skip-npm then go into the folder and run npm install there to see what’s taking so long.

@stefanpenner Added some more info to original post.

@Turbo87 Your suggestion seemed to work (skipping npm). Installing npm within the folder gave this output.

npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated lodash-node@2.4.1: This package has been discontinued in favor of lodash@^4.0.0.
npm WARN deprecated graceful-fs@3.0.8: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN prefer global marked@0.3.5 should be installed with -g
npm WARN prefer global npm@2.14.21 should be installed with -g
npm WARN prefer global jshint@2.9.2 should be installed with -g

First four took the longest and after that, it seemed to install just fine. I got the “Welcome to Ember” message when running ember serve. Anything else I should try/keep an eye out for?