Skip to content

Init error (npm 2 dependency) #2179

Closed
Closed
@ValeryVS

Description

@ValeryVS
  1. OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
    Ubuntu 14.04
  2. Versions. Please run ng --version. If there's nothing outputted, please run
    in a Terminal: node --version and paste the result here:
angular-cli: 1.0.0-beta.14
node: 6.6.0
os: linux x6
  1. Repro steps. Was this an app that wasn't created using the CLI? What change did you
    do on your code? etc.

ng init

  1. The log given by the failure. Normally this include a stack trace and some
    more information.
Could not start watchman; falling back to NodeWatcher for file system events.
Visit http://ember-cli.com/user-guide/#watchman for more info.
installing ng2
  identical .editorconfig
  create README.md
  create src/app/app.component.css
  create src/app/app.component.html
  create src/app/app.component.spec.ts
  create src/app/app.component.ts
  create src/app/app.module.ts
  create src/app/index.ts
  create src/app/shared/index.ts
  create src/assets/.gitkeep
  create src/assets/.npmignore
  create src/environments/environment.prod.ts
  create src/environments/environment.ts
  create src/favicon.ico
  create src/index.html
  create src/main.ts
  create src/polyfills.ts
  create src/styles.css
  create src/test.ts
  create src/tsconfig.json
  create src/typings.d.ts
  create angular-cli.json
  create e2e/app.e2e-spec.ts
  create e2e/app.po.ts
  create e2e/tsconfig.json
  identical .gitignore
  create karma.conf.js
  create package.json
  create protractor.conf.js
  create tslint.json
Installing packages for tooling via npm.
npm WARN prefer global [email protected] should be installed with -g
npm WARN prefer global [email protected] should be installed with -g
npm WARN prefer global [email protected] should be installed with -g
npm WARN unmet dependency /home/valeryvs/Git/angular-cli-test-4/node_modules/angular-cli requires protractor@'^3.3.0' but will load
npm WARN unmet dependency /home/valeryvs/Git/angular-cli-test-4/node_modules/protractor,
npm WARN unmet dependency which is version 4.0.5
npm WARN unmet dependency /home/valeryvs/Git/angular-cli-test-4/node_modules/angular-cli requires tslint@'^3.15.1' but will load
npm WARN unmet dependency /home/valeryvs/Git/angular-cli-test-4/node_modules/tslint,
npm WARN unmet dependency which is version 3.13.0
npm ERR! Linux 4.4.0-36-generic
npm ERR! argv "/usr/bin/nodejs" "/home/valeryvs/Git/angular-cli-test-4/node_modules/.bin/npm" "install"
npm ERR! node v6.6.0
npm ERR! npm  v2.14.21
npm ERR! code EPEERINVALID

npm ERR! peerinvalid The package [email protected] does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer [email protected] wants webpack@*
npm ERR! peerinvalid Peer [email protected] wants webpack@^1.1.0 || ^2 || ^2.1.0-beta
npm ERR! peerinvalid Peer [email protected] wants webpack@^1.12.6 || ^2.1.0-beta
npm ERR! peerinvalid Peer [email protected] wants [email protected] || 2.x.x
npm ERR! peerinvalid Peer [email protected] wants webpack@^2.1.0-beta

npm ERR! Please include the following file with any support request:
npm ERR!     /home/valeryvs/Git/angular-cli-test-4/npm-debug.log

Package install failed, see above.

  1. Mention any other details that might be useful.

Package
[email protected]
depends on
[email protected]

"Installing packages for tooling via npm." use this npm@2

But npm 2 can not install new webpack.
Hashnode/mern-cli#12
kentcdodds/es6-todomvc#4

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions