Comments (11)
I ran into this too - I was running a --standalone
build. Is that how you're using component too? @aprilb
Also, are you using a plugin for handlebars or pre-compiling them yourself?
from component.
- what is the error?
- how your build output looks?
- how you build your app?
- do you use the hbs plugin and if yes, how?
from component.
Error:
Uncaught Error: failed to require "./template.hbs"
from component.
@sankargorthi using component-build-handlebars plugin
from component.
@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?
from component.
Here is the build file:
https://gist.github.com/aprilb/aedad66feec4236f1982
Versions:
"component": "~1.0.0",
"component-build-handlebars": "0.0.1",
from component.
@sankargorthi here is the builder:
https://github.com/dominicbarnes/component-build-handlebars
from component.
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.
from component.
why you use also the string
plugin?
https://gist.github.com/aprilb/aedad66feec4236f1982#file-gistfile1-txt-L58
the readme of the handlebars plugin don't mention the string
plugin, so it looks like you using it wrong.
from component.
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.
from component.
If you want help, please provide a repository where I can reproduce the problem.
from component.
Related Issues (20)
- Can I use non-component based libraries? HOT 4
- component {fork,unfork} <component> HOT 2
- ComponentJS vs JSPM + SystemJS HOT 1
- Can't use Component modules with a RequireJS environment HOT 12
- Private Repo doesn't seem to be working HOT 17
- need auth for travis to avoid github rate limit and failed build status
- On chrome debug points off by two lines for --dev builds HOT 2
- Getting Failed to Require message HOT 3
- component.github.io shows no results HOT 1
- fatal : no remote found for dependency '....' HOT 20
- fatal : Error downloading "github//component/[email protected]". Got status code "404" HOT 5
- getting component module to be called with --harmony HOT 4
- fatal : no remote found for dependency... HOT 2
- Follow the chain of paths for remote dependencies HOT 4
- announce "this project is not maintained anymore" HOT 8
- How to install dependencies to a particular folder? HOT 2
- How can a project depend on a github repository that doesn't have a componser.json HOT 2
- Clean up the maintainers list? HOT 2
- Cant require node_modules when componentjs is installed? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from component.