Open awongCM opened 8 years ago
error: Could not find dependency "ractive-transitions-fade"
Check if that plugin exists, or is even loaded by the browser.
No. It doesn't.
Hi. Did you get my response?
Your problem is that ractive-load couldn't find the ractive-transitions-fade
plugin. You need to either remove that dependency from the snippet or load it as well in a way that ractive-load can find. Here is the section of the readme that describes how that works.
Okay. Thanks.
I'll check out the readme section as soon as I have time to look at it.
Will let you know how it goes.
Cheers.
Hi,
I'm trying to learn and test out one of your code samples of using ractive-load plugin.
http://examples.ractivejs.org/donut-charts
I reproduced all the code on my local machine, ran python simpleHTTPserver as my own webserver, etc.
When I tried to viewing it in my web browser, i got following errors in the console log.
Uncaught (in promise) Error: Ractive.load() error: Could not find dependency "ractive-transitions-fade". It should be exposed as Ractive.load.modules["ractive-transitions-fade"] or window["ractive-transitions-fade"
Why is it complaining about the promises? Is it because I'm using a different web server than Node/Express?
In my JS code, I simply wrote code like this(as per your existing samples)