V
V
VanKrock2016-03-02 20:29:30
JavaScript
VanKrock, 2016-03-02 20:29:30

How to install all dependencies in npm?

How to install all the required dependencies when installing a module?
npm i angular2 --save
outputs:
+-- [email protected]
+-- UNMET PEER DEPENDENCY [email protected]^3.0.2
+-- UNMET PEER DEPENDENCY [email protected]^0.33.3
+- - UNMET PEER DEPENDENCY [email protected]
+-- UNMET PEER DEPENDENCY [email protected]
`-- UNMET PEER DEPENDENCY [email protected]
npm WARN [email protected] requires a peer of [email protected]^3.0.2 but none was installed.
npm WARN [email protected] requires a peer of [email protected]^0.33.3 but none was installed.
npm WARN [email protected] requires a peer of [email protected] but none was installed.
npm WARN [email protected] requires a peer of [email protected] but none was installed.
npm WARN [email protected] requires a peer of [email protected] but none was installed.
Do I need to manually install all packages?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
pomeo, 2016-03-03
@pomeo

They are optional. If you don't need < IE11 why do you need es6-promise for example

Z
Zakhar Orlov, 2016-03-02
@divalign

Yes, manually. Or, as suggested in the angular 2 tutorial - take their package.json and just do npm install
https://angular.io/docs/js/latest/quickstart.html#...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question