-
Notifications
You must be signed in to change notification settings - Fork 306
Getting Uncaught Error: failed to require template #629
Comments
I ran into this too - I was running a Also, are you using a plugin for handlebars or pre-compiling them yourself? |
|
Error:
|
@sankargorthi using component-build-handlebars plugin |
@aprilb are you using a custom builder? How's the plugin parsing your templates? Also, which version of the plugin and component are you using? |
Here is the build file: Versions: |
@sankargorthi here is the builder: |
Everything looks good to me so far. And you aren't using the standalone builder either - so no idea why your template's not loading. |
why you use also the the readme of the handlebars plugin don't mention the |
Removing the string plugin doesn't seem to have an affect --still getting the same error. But the person who wrote the handlebars plugin I mentioned --also wrote this part of the script. It doesn't fail if these scripts are local --they are only failing now that they are being required as a remote dependency. |
If you want help, please provide a repository where I can reproduce the problem. |
Getting this error in the debugging console when attempting to require a template.
My component.json with:
the index.js where it is being required:
Tried this
Both result in an error.
The text was updated successfully, but these errors were encountered: