Runtime Error: Cannot find module "."
See original GitHub issueAfter create an empty provider with ionic g provider throws me this error. Any help please?
vendor.js:163874 Uncaught Error: Cannot find module "."
at webpackMissingModule (vendor.js:163874)
at e.code (vendor.js:163874)
at Object.<anonymous> (vendor.js:163883)
at __webpack_require__ (vendor.js:55)
at Object.162 (main.js:90)
at __webpack_require__ (vendor.js:55)
at Object.306 (main.js:321)
at __webpack_require__ (vendor.js:55)
at Object.470 (main.js:748)
at __webpack_require__ (vendor.js:55)```
Issue Analytics
- State:
- Created 5 years ago
- Comments:8
Top Results From Across the Web
Ionic => Runtime error: Cannot find module "." - Stack Overflow
Ionic => Runtime error: Cannot find module "." · This happens if something is not imported correctly. · the problem is only in...
Read more >Issues - GitHub
{ Error: Cannot find module './runtime' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:580:15) at Function.Module.
Read more >Runtime Error - Cannot Find Module "." - Ionic Forum
I've tried backtracking, but I still haven't been able to find this issue. Anyone have any ideas of what could possibly be the...
Read more >[solved] Error: Cannot find module 'reify/lib/runtime' - help
I'm trying to upgrade from 1.7.0.1 to 1.10.2 and at the same time upgrade from ubuntu 16.04 to 20.04 (probably not relevant).
Read more >cannot find module [Node npm Error Solved] - freeCodeCamp
Why the "Error: cannot find module" Occurs · you're trying to import an item from a module you don't have installed in your...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

For those who are still getting this issue… It seems vscode suggests auto import from
ionic-angular/umdwhich results in the error. You need to removeumdfrom wherever it is imported.https://github.com/Microsoft/vscode/issues/52786
I have raised an issue just in case it is with vscode/typescript
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.