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.

Runtime Error: Cannot find module "."

See original GitHub issue

After 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:closed
  • Created 5 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
surajraocommented, Jun 25, 2018

For those who are still getting this issue… It seems vscode suggests auto import from ionic-angular/umd which results in the error. You need to remove umd from wherever it is imported.

https://github.com/Microsoft/vscode/issues/52786

I have raised an issue just in case it is with vscode/typescript

0reactions
ionitron-bot[bot]commented, Sep 1, 2018

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.

Read more comments on GitHub >

github_iconTop 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 >

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