angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

1.0.0-beta.11-webpack.8 errors with npm install

Open webmobiles opened this issue 10 years ago • 5 comments

Please provide us with the following information:

  1. OS? El Capitan OS
  2. Versions.
    angular-cli: 1.0.0-beta.11-webpack.8 node: 6.5.0 os: darwin x64
  3. Repro steps.

first i've create the new project with: ng new myroject then in the folder i execute npm install, i get t errors:

── UNMET PEER DEPENDENCY [email protected] └── [email protected]

npm WARN @angular/[email protected] requires a peer of typescript@^1.9.0-dev but none was installed. npm WARN [email protected] requires a peer of [email protected] || 2.x.x but none was installed. npm WARN @angular/[email protected] requires a peer of typescript@^1.9.0-dev but none was installed. npm WARN @angular/[email protected] requires a peer of @angular/platform-server@^2.0.0-rc.5 but none was installed. npm WARN [email protected] requires a peer of typescript@^1.8.0 || ^1.9.0-dev but none was installed.

webmobiles avatar Aug 31 '16 04:08 webmobiles

Have you checked what version of typescript you are running? tsc -v will give you your current version. You need to be on 2.0. There are other issues that come up if you are on 2.2, so make sure you are on 2.0.

clifntx avatar Aug 31 '16 06:08 clifntx

Scratch my previous comment. Read the comments on https://github.com/angular/angular-cli/issues/1901#issuecomment-243670283 for a clearer explanation.

clifntx avatar Aug 31 '16 06:08 clifntx

sorry I had to leave angular-cli, is not well documented and very unstable. I prefer to do things with an starter or by hand

webmobiles avatar Sep 01 '16 05:09 webmobiles

These are not errors, but rather warnings. They are not problematic.

filipesilva avatar Sep 21 '16 01:09 filipesilva

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.