anas M
anas M

Reputation: 19

Angular 2 errors while downloading

I'm new to angular 2 each time I try to download it using the npm throws some errors Is that angular 2 still beta means that it's not ready for production?

Upvotes: 0

Views: 67

Answers (2)

Pardeep Jain
Pardeep Jain

Reputation: 86790

  • Firstly create package.json (ignore if you have already) by npm init in empty folder via terminal.

  • Update you package.json dependency list file with this code -

"angular2": "2.0.0-beta.14",

"es6-shim": "^0.35.0",

"reflect-metadata": "0.1.2",

"rxjs": "5.0.0-beta.2",

"zone.js": "0.6.6"

  • Than run the command npm install

this will create folder named node modules in your project

for more info see here https://angular.io/guide/quickstart

Upvotes: 0

Marius Bakowski
Marius Bakowski

Reputation: 115

Try to use this combination:

 "dependencies": {
          "@ngrx/store": "1.3.3",
          "angular2": "2.0.0-beta.12",
          "es6-promise": "3.0.2",
          "es6-shim": "0.35.0",
          "reflect-metadata": "0.1.2",
          "rxjs": "5.0.0-beta.2",
          "zone.js": "0.6.6"
       }

Upvotes: 1

Related Questions