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.

waitOn(): Uncaught (in promise) Error: Cannot find module

See original GitHub issue

Hi! Can you help with this bug?

Uncaught (in promise) Error: Cannot find module ‘./edit.html’

FlowRouter.route('/admin/survey',
    {
        name: 'adminSurvey',
        title:'xxxxxx',
        waitOn() {
            return import('../../../ui/admin/surveys/index.js');
        },
        action() {

index.js:

import './list.html';
import './survey.html';
import './edit.html';
import './list.js';
import './edit.js';
import './survey.js';
import './events.js';

g1

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
valorloffcommented, Aug 31, 2019

Any constructive discussion always useful!

1reaction
valorloffcommented, Aug 31, 2019
  • try to use empty HTML template, then add elements one-by-one to find the one causing exception

<textarea> without a closing tag </textarea> caused exception “Not found”!

it’s just nonsense! no sense from ESlinter!

Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

0 - Stack Overflow
ERROR { Error: Uncaught (in promise): Error: Cannot find module "./.../.module.ngfactory" ... I was checking and the error is in the file webpack....
Read more >
Dynamic import glitches: Cannot find module #10496 - GitHub
For some reason, when adding new imports, I'm first getting Cannot find module error thrown, even though the path is perfectly valid. [ostrio: ......
Read more >
cannot find module [Node npm Error Solved] - freeCodeCamp
In my case, I got it like this "Module not found: Error: Can't resolve 'react-icons/fa' in 'C:\Users\user\Desktop\Projects\Address Locator\ ...
Read more >
wait-on - npm
wait-on is a cross-platform command line utility which will wait for files, ports, sockets, and http(s) resources to become available (or ...
Read more >
How to Import request-promise module in Hosted Target
It is similar error that I have received for request module too earlier. Error: Cannot find module 'request-promise' at Function.Module.
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