Skip to content

Can't install @angular/core #3656

@invious

Description

@invious

I am trying to install these packages:

I get

[email protected] /Users/aymon/Documents/workspace/Fun/MyProjects/ngCouponCat/Practice/angular2-electron-starter
├── @angular/[email protected]
├── @angular/[email protected]
├── @angular/[email protected]
├── @angular/[email protected]
├── @angular/[email protected]
├── @angular/[email protected]
├── @angular/[email protected]
├── [email protected]
├── [email protected]
├─┬ [email protected]
│ └── [email protected]
├── [email protected]
├── [email protected]
├─┬ [email protected]
│ └── [email protected]
└── [email protected]

Great, everything installed, let's check what's installed.

Aymons-MacBook-Air:angular2-electron-starter aymon$ npm list --depth=0
[email protected] /Users/aymon/Documents/workspace/Fun/MyProjects/ngCouponCat/Practice/angular2-electron-starter
├── @angular/[email protected]
├── @angular/[email protected]
├── @angular/[email protected]
├── UNMET DEPENDENCY @angular/forms@~2.1.0
├── @angular/[email protected]
├── @angular/[email protected]
├── @angular/[email protected]
├── @angular/[email protected]
├── UNMET DEPENDENCY core-js@^2.4.1
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── UNMET DEPENDENCY ts-helpers@^1.1.1
└── [email protected]

npm ERR! missing: @angular/forms@~2.1.0, required by [email protected]
npm ERR! missing: core-js@^2.4.1, required by [email protected]
npm ERR! missing: ts-helpers@^1.1.1, required by [email protected]

oh noez! Ok I guess I install forms now.

Aymons-MacBook-Air:angular2-electron-starter aymon$ npm install --save @angular/forms@~2.1.0
[email protected] /Users/aymon/Documents/workspace/Fun/MyProjects/ngCouponCat/Practice/angular2-electron-starter
├── UNMET PEER DEPENDENCY @angular/[email protected]
├── UNMET PEER DEPENDENCY @angular/[email protected]
└── @angular/[email protected]

npm WARN @angular/[email protected] requires a peer of @angular/[email protected] but none was installed.
npm WARN @angular/[email protected] requires a peer of @angular/[email protected] but none was installed.
Aymons-MacBook-Air:angular2-electron-starter aymon$ npm list --depth=0
[email protected] /Users/aymon/Documents/workspace/Fun/MyProjects/ngCouponCat/Practice/angular2-electron-starter
├── UNMET PEER DEPENDENCY @angular/[email protected]
├── @angular/[email protected]
├── UNMET PEER DEPENDENCY @angular/[email protected]
├── @angular/[email protected]
├── @angular/[email protected]
├── @angular/[email protected]
├── @angular/[email protected]
├── @angular/[email protected]
├── UNMET DEPENDENCY core-js@^2.4.1
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── UNMET DEPENDENCY ts-helpers@^1.1.1
└── [email protected]

npm ERR! peer dep missing: @angular/[email protected], required by @angular/[email protected]
npm ERR! peer dep missing: @angular/[email protected], required by @angular/[email protected]
npm ERR! missing: core-js@^2.4.1, required by [email protected]
npm ERR! missing: ts-helpers@^1.1.1, required by [email protected]

It UNINSTALLED core?? What am I doing wrong here...

So I deleted the node_modules folder and then tried installing it all at once since that seemed to work...

Aymons-MacBook-Air:angular2-electron-starter aymon$ npm install --save @angular/[email protected] @angular/[email protected] @angular/[email protected] @angular/[email protected] @angular/[email protected] @angular/[email protected] @angular/[email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] @angular/forms@~2.1.0 core-js@^2.4.1 ts-helpers@^1.1.1
[email protected] /Users/aymon/Documents/workspace/Fun/MyProjects/ngCouponCat/Practice/angular2-electron-starter
├── UNMET PEER DEPENDENCY @angular/[email protected]
├── @angular/[email protected]
├── UNMET PEER DEPENDENCY @angular/[email protected]
├── @angular/[email protected]
├── @angular/[email protected]
├── @angular/[email protected]
├── @angular/[email protected]
├── @angular/[email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├─┬ [email protected]
│ └── [email protected]
├── [email protected]
├── [email protected]
├─┬ [email protected]
│ └── [email protected]
├── [email protected]
└── [email protected]

npm WARN [email protected] requires a peer of typescript@>=1.8.0  <2.1.0 || >=1.9.0-dev || >=2.0.0-dev || || >=2.1.0-dev but none was installed.
npm WARN @angular/[email protected] requires a peer of @angular/[email protected] but none was installed.
npm WARN @angular/[email protected] requires a peer of @angular/[email protected] but none was installed.

nope, no angular core. Do I have a completely broken machine or setup here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions