-
-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Blaze compile errors completely silent if imported #396
Comments
this is also the case for .less files, here you will get the even more criptic error:
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed it has not had recent activity. |
I'm still seeing this issue as of meteor 2.0; can we reopen this? |
Agreed I have to refactor my files out of import to see what the error is and then refactor them back, very tedious |
Seems to be the same issue as in meteor/meteor#10366 |
@zodern do you have any plans for this issue? |
@zodern @jankapunkt maybe we should move this to the Blaze repository? |
I agree 👍 |
@jankapunkt any way to quickly solve this for 2.6.2? |
@StorytellerCZ not quite sure about the "quick". I think the change was not within Blaze but Meteor core that caused it. Could lead to a trail of more issues, which is generally good but that's why "quick" may be not possible. |
OK, I'm moving this to v3 to solve. |
In version 1.8 when compiling a blaze template from the
/imports
directory all errors are swallowed breaking the normal development process, because you get no line numbers or error specifications.In 1.7 this problem is not present.
Reproduction:
Create a new meteor 1.8 project.
create a new malformed blaze template in the client folder.
You will get a compile error
Now move the file to
/imports/client
and add the import statementimport '/imports/client/test.html';
to main.js.There is no compile time error, but when running the app you get the following run time error
Uncaught Error: Cannot find module '/imports/client/test.html'
.The text was updated successfully, but these errors were encountered: