question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot find module '@angular/core'

See original GitHub issue

Hello,

I recently created a new project with ionic-2 with ionic start MyIonic2Project --v2. For some reason, I am getting this error (image below) screen shot 2016-09-29 at 3 49 58 pm

The versions installed on my computer are

  • ionic -v -> 2.1.0
  • node -v -> v4.6.0
  • npm -v -> 2.15.9

What can be the issue? How should I go about resolving this?

Thanks,

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
ekhmoicommented, Sep 29, 2016

the problem is in node version. i had the same problem and fixed it by: uninstalling the node and installing the latest 6.7.0 version

0reactions
akaamitguptacommented, Sep 29, 2016

thxx @ekhmoi it solved my problem…

Read more comments on GitHub >

github_iconTop Results From Across the Web

VSCode cannot find module '@angular/core' or any other ...
in your tsconfig.json . The reason is that visual code IDE is unable to resolve the base url so is unable to resolve...
Read more >
Cannot find module '@angular/core' or its corresponding type ...
module.d.ts:3:21 path indicates that the library's sources exist outside of your workspace root. From within that file, there is no node_modules ...
Read more >
@angular/core - npm
Angular - the core framework. Latest version: 15.0.4, last published: 10 days ago. Start using @angular/core in your project by running `npm ...
Read more >
MDB Angular 6 - Cannot find module &#039 - MDBootstrap
Hi, I followed the 5min quickstart angular guide, I started with a fresh project, ran the NPM commands to install the modules, change...
Read more >
Build:cannot find module 'angular2/core' Error - Syncfusion
Build:cannot find module 'angular2/core' Error · Open the project in Visual studio 2015 and right click the package.json file and choose “Restore Packages”...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found