Skip to content

npm peer invalid after ng new && npm shrinkwrap #2353

Closed
@JohannesRudolph

Description

@JohannesRudolph

Please provide us with the following information:

  1. OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
    OS X El Apitan
  2. Versions. Please run ng --version. If there's nothing outputted, please run
    in a Terminal: node --version and paste the result here:
iDevBook01:meshstack-ui jr$ ng --version
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.15
node: 6.3.0
os: darwin x64
  1. Repro steps. Was this an app that wasn't created using the CLI? What change did you
    do on your code? etc.

ng new demo then attempt to e.g. shrinkwrap your project via npm shrinkwrap

  1. The log given by the failure. Normally this include a stack trace and some
    more information.
iDevBook01:demo jr$ npm shrinkwrap
npm WARN shrinkwrap Excluding devDependency: angular-cli@1.0.0-beta.15 { '@angular/common': '2.0.0',
npm WARN shrinkwrap   '@angular/compiler': '2.0.0',
npm WARN shrinkwrap   '@angular/core': '2.0.0',
npm WARN shrinkwrap   '@angular/forms': '2.0.0',
npm WARN shrinkwrap   '@angular/http': '2.0.0',
npm WARN shrinkwrap   '@angular/platform-browser': '2.0.0',
npm WARN shrinkwrap   '@angular/platform-browser-dynamic': '2.0.0',
npm WARN shrinkwrap   '@angular/router': '3.0.0',
npm WARN shrinkwrap   'core-js': '^2.4.1',
npm WARN shrinkwrap   rxjs: '5.0.0-beta.12',
npm WARN shrinkwrap   'ts-helpers': '^1.1.1',
npm WARN shrinkwrap   'zone.js': '^0.6.23' }
npm WARN shrinkwrap Excluding devDependency: codelyzer@0.0.28 { '@angular/common': '2.0.0',
npm WARN shrinkwrap   '@angular/compiler': '2.0.0',
npm WARN shrinkwrap   '@angular/core': '2.0.0',
npm WARN shrinkwrap   '@angular/forms': '2.0.0',
npm WARN shrinkwrap   '@angular/http': '2.0.0',
npm WARN shrinkwrap   '@angular/platform-browser': '2.0.0',
npm WARN shrinkwrap   '@angular/platform-browser-dynamic': '2.0.0',
npm WARN shrinkwrap   '@angular/router': '3.0.0',
npm WARN shrinkwrap   'core-js': '^2.4.1',
npm WARN shrinkwrap   rxjs: '5.0.0-beta.12',
npm WARN shrinkwrap   'ts-helpers': '^1.1.1',
npm WARN shrinkwrap   'zone.js': '^0.6.23' }
npm WARN shrinkwrap Excluding devDependency: jasmine-spec-reporter@2.5.0 { '@angular/common': '2.0.0',
npm WARN shrinkwrap   '@angular/compiler': '2.0.0',
npm WARN shrinkwrap   '@angular/core': '2.0.0',
npm WARN shrinkwrap   '@angular/forms': '2.0.0',
npm WARN shrinkwrap   '@angular/http': '2.0.0',
npm WARN shrinkwrap   '@angular/platform-browser': '2.0.0',
npm WARN shrinkwrap   '@angular/platform-browser-dynamic': '2.0.0',
npm WARN shrinkwrap   '@angular/router': '3.0.0',
npm WARN shrinkwrap   'core-js': '^2.4.1',
npm WARN shrinkwrap   rxjs: '5.0.0-beta.12',
npm WARN shrinkwrap   'ts-helpers': '^1.1.1',
npm WARN shrinkwrap   'zone.js': '^0.6.23' }
npm WARN shrinkwrap Excluding devDependency: karma@1.2.0 { '@angular/common': '2.0.0',
npm WARN shrinkwrap   '@angular/compiler': '2.0.0',
npm WARN shrinkwrap   '@angular/core': '2.0.0',
npm WARN shrinkwrap   '@angular/forms': '2.0.0',
npm WARN shrinkwrap   '@angular/http': '2.0.0',
npm WARN shrinkwrap   '@angular/platform-browser': '2.0.0',
npm WARN shrinkwrap   '@angular/platform-browser-dynamic': '2.0.0',
npm WARN shrinkwrap   '@angular/router': '3.0.0',
npm WARN shrinkwrap   'core-js': '^2.4.1',
npm WARN shrinkwrap   rxjs: '5.0.0-beta.12',
npm WARN shrinkwrap   'ts-helpers': '^1.1.1',
npm WARN shrinkwrap   'zone.js': '^0.6.23' }
npm WARN shrinkwrap Excluding devDependency: karma-chrome-launcher@2.0.0 { '@angular/common': '2.0.0',
npm WARN shrinkwrap   '@angular/compiler': '2.0.0',
npm WARN shrinkwrap   '@angular/core': '2.0.0',
npm WARN shrinkwrap   '@angular/forms': '2.0.0',
npm WARN shrinkwrap   '@angular/http': '2.0.0',
npm WARN shrinkwrap   '@angular/platform-browser': '2.0.0',
npm WARN shrinkwrap   '@angular/platform-browser-dynamic': '2.0.0',
npm WARN shrinkwrap   '@angular/router': '3.0.0',
npm WARN shrinkwrap   'core-js': '^2.4.1',
npm WARN shrinkwrap   rxjs: '5.0.0-beta.12',
npm WARN shrinkwrap   'ts-helpers': '^1.1.1',
npm WARN shrinkwrap   'zone.js': '^0.6.23' }
npm WARN shrinkwrap Excluding devDependency: karma-cli@1.0.1 { '@angular/common': '2.0.0',
npm WARN shrinkwrap   '@angular/compiler': '2.0.0',
npm WARN shrinkwrap   '@angular/core': '2.0.0',
npm WARN shrinkwrap   '@angular/forms': '2.0.0',
npm WARN shrinkwrap   '@angular/http': '2.0.0',
npm WARN shrinkwrap   '@angular/platform-browser': '2.0.0',
npm WARN shrinkwrap   '@angular/platform-browser-dynamic': '2.0.0',
npm WARN shrinkwrap   '@angular/router': '3.0.0',
npm WARN shrinkwrap   'core-js': '^2.4.1',
npm WARN shrinkwrap   rxjs: '5.0.0-beta.12',
npm WARN shrinkwrap   'ts-helpers': '^1.1.1',
npm WARN shrinkwrap   'zone.js': '^0.6.23' }
npm WARN shrinkwrap Excluding devDependency: karma-jasmine@1.0.2 { '@angular/common': '2.0.0',
npm WARN shrinkwrap   '@angular/compiler': '2.0.0',
npm WARN shrinkwrap   '@angular/core': '2.0.0',
npm WARN shrinkwrap   '@angular/forms': '2.0.0',
npm WARN shrinkwrap   '@angular/http': '2.0.0',
npm WARN shrinkwrap   '@angular/platform-browser': '2.0.0',
npm WARN shrinkwrap   '@angular/platform-browser-dynamic': '2.0.0',
npm WARN shrinkwrap   '@angular/router': '3.0.0',
npm WARN shrinkwrap   'core-js': '^2.4.1',
npm WARN shrinkwrap   rxjs: '5.0.0-beta.12',
npm WARN shrinkwrap   'ts-helpers': '^1.1.1',
npm WARN shrinkwrap   'zone.js': '^0.6.23' }
npm WARN shrinkwrap Excluding devDependency: karma-remap-istanbul@0.2.1 { '@angular/common': '2.0.0',
npm WARN shrinkwrap   '@angular/compiler': '2.0.0',
npm WARN shrinkwrap   '@angular/core': '2.0.0',
npm WARN shrinkwrap   '@angular/forms': '2.0.0',
npm WARN shrinkwrap   '@angular/http': '2.0.0',
npm WARN shrinkwrap   '@angular/platform-browser': '2.0.0',
npm WARN shrinkwrap   '@angular/platform-browser-dynamic': '2.0.0',
npm WARN shrinkwrap   '@angular/router': '3.0.0',
npm WARN shrinkwrap   'core-js': '^2.4.1',
npm WARN shrinkwrap   rxjs: '5.0.0-beta.12',
npm WARN shrinkwrap   'ts-helpers': '^1.1.1',
npm WARN shrinkwrap   'zone.js': '^0.6.23' }
npm WARN shrinkwrap Excluding devDependency: protractor@4.0.5 { '@angular/common': '2.0.0',
npm WARN shrinkwrap   '@angular/compiler': '2.0.0',
npm WARN shrinkwrap   '@angular/core': '2.0.0',
npm WARN shrinkwrap   '@angular/forms': '2.0.0',
npm WARN shrinkwrap   '@angular/http': '2.0.0',
npm WARN shrinkwrap   '@angular/platform-browser': '2.0.0',
npm WARN shrinkwrap   '@angular/platform-browser-dynamic': '2.0.0',
npm WARN shrinkwrap   '@angular/router': '3.0.0',
npm WARN shrinkwrap   'core-js': '^2.4.1',
npm WARN shrinkwrap   rxjs: '5.0.0-beta.12',
npm WARN shrinkwrap   'ts-helpers': '^1.1.1',
npm WARN shrinkwrap   'zone.js': '^0.6.23' }
npm WARN shrinkwrap Excluding devDependency: ts-node@1.2.1 { '@angular/common': '2.0.0',
npm WARN shrinkwrap   '@angular/compiler': '2.0.0',
npm WARN shrinkwrap   '@angular/core': '2.0.0',
npm WARN shrinkwrap   '@angular/forms': '2.0.0',
npm WARN shrinkwrap   '@angular/http': '2.0.0',
npm WARN shrinkwrap   '@angular/platform-browser': '2.0.0',
npm WARN shrinkwrap   '@angular/platform-browser-dynamic': '2.0.0',
npm WARN shrinkwrap   '@angular/router': '3.0.0',
npm WARN shrinkwrap   'core-js': '^2.4.1',
npm WARN shrinkwrap   rxjs: '5.0.0-beta.12',
npm WARN shrinkwrap   'ts-helpers': '^1.1.1',
npm WARN shrinkwrap   'zone.js': '^0.6.23' }
npm WARN shrinkwrap Excluding devDependency: tslint@3.13.0 { '@angular/common': '2.0.0',
npm WARN shrinkwrap   '@angular/compiler': '2.0.0',
npm WARN shrinkwrap   '@angular/core': '2.0.0',
npm WARN shrinkwrap   '@angular/forms': '2.0.0',
npm WARN shrinkwrap   '@angular/http': '2.0.0',
npm WARN shrinkwrap   '@angular/platform-browser': '2.0.0',
npm WARN shrinkwrap   '@angular/platform-browser-dynamic': '2.0.0',
npm WARN shrinkwrap   '@angular/router': '3.0.0',
npm WARN shrinkwrap   'core-js': '^2.4.1',
npm WARN shrinkwrap   rxjs: '5.0.0-beta.12',
npm WARN shrinkwrap   'ts-helpers': '^1.1.1',
npm WARN shrinkwrap   'zone.js': '^0.6.23' }
npm ERR! Darwin 15.5.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "shrinkwrap"
npm ERR! node v6.3.0
npm ERR! npm  v3.10.3

npm ERR! Problems were encountered
npm ERR! Please correct and try again.
npm ERR! peer invalid: @angular/compiler@2.0.1, required by @angular/compiler-cli@0.6.3
npm ERR! peer invalid: @angular/core@2.0.1, required by @angular/compiler-cli@0.6.3
npm ERR! peer invalid: @angular/core@2.0.1, required by @angular/platform-server@2.0.1
npm ERR! peer invalid: @angular/common@2.0.1, required by @angular/platform-server@2.0.1
npm ERR! peer invalid: @angular/compiler@2.0.1, required by @angular/platform-server@2.0.1
npm ERR! peer invalid: @angular/platform-browser@2.0.1, required by @angular/platform-server@2.0.1
npm ERR! 
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/jr/dev/tmp/demo/npm-debug.log

  1. Mention any other details that might be useful.
    Angular-CLI could update the default angular version used to 2.0.1 (haven't found a corresponding issue yet)

    Thanks! We'll be in touch soon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions