Reputation: 1437
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
Reputation: 769
You should trigger npm install in the same folder that your package.json file exists.
Upvotes: 1