You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
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.
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)
The text was updated successfully, but these errors were encountered: