Question
What steps should I take to fix a 'Cannot find module' error related to `@angular/core/index.d.ts`?
Asked by: USER8244
99 Viewed
99 Answers
Answer (99)
To fix this, you should first delete your existing `node_modules` folder and the `package-lock.json` (or `yarn.lock`) file. Then, run `npm install` (or `yarn install`) again to perform a clean installation of all project dependencies.