I’m getting the error that a module cannot be found…but I deleted the instance that is throwing the error. I’m using version 3 on a Windows 10 laptop.
I deleted a page that I no longer needed (ListPage) , and also deleted its import on app.module.ts.
But when I’m trying to run my project, the error is being thrown that it cannot find the ListPage in app.module.ts, even though the import and page itself is deleted.
When I mouse over a little arrow where the import used to be, it’s pulling up that import in a small box, as if it’s still on the page but it’s hidden somehow.
How do I fix this???
Found the answer!! It was still listed in the main map.js. Once I removed that, no problems.
Try:
npm run clean