Skip to content

dependency problem with ng new #1238

Closed
Closed

Description

@burhan

I am running this on Ubuntu 16.04 LTS; and following the steps from the Google IO 2016 talk, I entered the following command:

ng new puppy-love-io --mobile

It seems there is an issue with dependencies:

Successfully initialized git.
⠼ Installing packages for tooling via npm
├── es6-shim (ambient)
├── node (ambient)
├── angular-protractor (ambient dev)
├── jasmine (ambient dev)
└── selenium-webdriver (ambient dev)

The package @angular/core@2.0.0-rc.3 does not satisfy its siblings' peerDependencies requirements!
Error: The package @angular/core@2.0.0-rc.3 does not satisfy its siblings' peerDependencies requirements!
    at /usr/lib/node_modules/angular-cli/node_modules/angular-cli/node_modules/npm/lib/install.js:125:32
    at /usr/lib/node_modules/angular-cli/node_modules/angular-cli/node_modules/npm/lib/install.js:268:7
    at /usr/lib/node_modules/angular-cli/node_modules/angular-cli/node_modules/npm/node_modules/read-installed/read-installed.js:142:5
    at /usr/lib/node_modules/angular-cli/node_modules/angular-cli/node_modules/npm/node_modules/read-installed/read-installed.js:263:14
    at cb (/usr/lib/node_modules/angular-cli/node_modules/angular-cli/node_modules/npm/node_modules/slide/lib/async-map.js:47:24)
    at /usr/lib/node_modules/angular-cli/node_modules/angular-cli/node_modules/npm/node_modules/read-installed/read-installed.js:263:14
    at cb (/usr/lib/node_modules/angular-cli/node_modules/angular-cli/node_modules/npm/node_modules/slide/lib/async-map.js:47:24)
    at /usr/lib/node_modules/angular-cli/node_modules/angular-cli/node_modules/npm/node_modules/read-installed/read-installed.js:263:14
    at cb (/usr/lib/node_modules/angular-cli/node_modules/angular-cli/node_modules/npm/node_modules/slide/lib/async-map.js:47:24)
    at /usr/lib/node_modules/angular-cli/node_modules/angular-cli/node_modules/npm/node_modules/read-installed/read-installed.js:263:14

Pertinent version information:

$ node -v && npm -v && ng --version
v6.2.2
3.10.2
Could not start watchman; falling back to NodeWatcher for file system events.
Visit http://ember-cli.com/user-guide/#watchman for more info.
angular-cli: 1.0.0-beta.8
node: 6.2.2
os: linux x64

Activity

  1. dylclem commented on Jul 2, 2016

    @dylclem

    having same error but with osx 10.11.5

  2. added
    P1Impacts a large percentage of users; if a workaround exists it is partial or overly painful
    on Jul 3, 2016
  3. mackelito commented on Jul 5, 2016

    @mackelito

    #958 same issue?

  4. tmguimaraes commented on Jul 8, 2016

    @tmguimaraes

    same error with Windows 10

  5. 71be7 commented on Jul 12, 2016

    @71be7

    Had the same issue and it fixed by:
    npm uninstall -g angular-cli
    npm install -g angular-cli@latest

  6. mackelito commented on Jul 13, 2016

    @mackelito

    @WimpyKnight are you really running the --mobile flag?

  7. tmguimaraes commented on Jul 13, 2016

    @tmguimaraes

    @WimpyKnight tried that, it gave me a Cannot read property 'makeCurrent' of undefined when doing ng serve.
    You probably didn't test with --mobile

  8. filipesilva commented on Jul 28, 2016

    @filipesilva
    Contributor

    Closed as issue was made obsolete by #1455.

  9. locked and limited conversation to collaborators on Sep 6, 2019
  10. angular-automatic-lock-bot commented on Sep 6, 2019

    @angular-automatic-lock-bot

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1Impacts a large percentage of users; if a workaround exists it is partial or overly painfultype: bug/fix

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions