Repository navigation
dependency problem with ng new #1238
Copy link
Copy link
Closed
Labels
P1Impacts a large percentage of users; if a workaround exists it is partial or overly painfulImpacts a large percentage of users; if a workaround exists it is partial or overly painfultype: bug/fix
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P1Impacts a large percentage of users; if a workaround exists it is partial or overly painfulImpacts a large percentage of users; if a workaround exists it is partial or overly painfultype: bug/fix
Activity
dylclem commentedon Jul 2, 2016
having same error but with osx 10.11.5
mackelito commentedon Jul 5, 2016
#958 same issue?
tmguimaraes commentedon Jul 8, 2016
same error with Windows 10
71be7 commentedon Jul 12, 2016
Had the same issue and it fixed by:
npm uninstall -g angular-clinpm install -g angular-cli@latestmackelito commentedon Jul 13, 2016
@WimpyKnight are you really running the --mobile flag?
tmguimaraes commentedon Jul 13, 2016
@WimpyKnight tried that, it gave me a
Cannot read property 'makeCurrent' of undefinedwhen doing ng serve.You probably didn't test with --mobile
filipesilva commentedon Jul 28, 2016
Closed as issue was made obsolete by #1455.
angular-automatic-lock-bot commentedon Sep 6, 2019
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.