sudhir
sudhir

Reputation: 1437

Cannot find module @angular/core with latest final release of Angular 2.0

I have copied package.json and tsconfig.json from Official angular quick start

but node_modules is not getting downloaded. I'm receiving error as Cannot find module @angular/core when used in Component as follows

import { NgModule }      from '@angular/core';

Note : using Node.js version 6.7.0 and npm version 3.10.3 IDE : Visual Studio

Upvotes: 0

Views: 411

Answers (1)

Omri L
Omri L

Reputation: 769

You should trigger npm install in the same folder that your package.json file exists.

Upvotes: 1

Related Questions