Closed valorloff closed 5 years ago
Hello @valorloff ,
There is two options:
/ (root)
, like: import('/imports/ui/admin/surveys/index.js);
import(/*...*/)
used. To figure out what exctly went wrong in HTML template, — import it staticallyLet me know if that helps
I moved
import '/imports/ui/admin/surveys/edit.html';
to global client main.js, and same bug:
Uncaught Error: Cannot find module '/imports/ui/admin/surveys/edit.html'
Looks like this is not blaze/router problem, but Meteor caching maybe?
What can you advise?
@valorloff We see this exception on daily basis, simply lint your HTML/Blaze markup
Sorry for bothering. Over the past 3 years, I have not faced with such errors, my linter activated and does not indicate any errors in the templates. Please, what ESlint rule is specific for checking Blaze templates?
@valorloff I’m using default settings recommended by html-linter + sublime-linter
Some other thoughts:
- 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!
@valorloff Glad it's solved! I've been there, that's good you decided to ask for solution here :)
Feel free to close it in case if the issue is solved on your end.
Any constructive discussion always useful!
Hi! Can you help with this bug?
Uncaught (in promise) Error: Cannot find module './edit.html'
index.js: