Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find module '@angular/core' #71

Closed
katakam43 opened this issue Mar 25, 2019 · 2 comments
Closed

Cannot find module '@angular/core' #71

katakam43 opened this issue Mar 25, 2019 · 2 comments

Comments

@katakam43
Copy link

Hello,

I am getting error as below on ng-serve.

../node_modules/@markpieszak/ng-application-insights/dist/index.d.ts(1,37): error TS2307: Cannot find module '@angular/core'.

../node_modules/@markpieszak/ng-application-insights/dist/src/app-insight.service.d.ts(2,26): error TS2307: Cannot find module '@angular/core'.

I am using Angular 7.

@MarkPieszak
Copy link
Member

MarkPieszak commented Mar 27, 2019

Can you do a wipe of everything and try reinstalling?
Also just to make sure - you're using the latest version of the Package as well?

(Mac/Linux)

rm -rf ./node_modules ./package-lock.json && npm i

// rimraf if you're on windows

I'm wondering if that might help fix the issue.

You have @angular/core installed in your package.json as well right?

@katakam43
Copy link
Author

Its fixed. thanks!.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants