Got the following error when running webppl test.wppl --require webppl-vizon this one-liner example.
I have installed cairo and the editor as well. Using node v6.10.3. This is not running in the browser...
Warning: A Component: React.createClass is deprecated and will be removed in version 16. Use plain JavaScript classes instead. If you're not yet ready to migrate, create-react-class is available on npm as a drop-in replacement.
ReferenceError: wpEditor is not defined
at /home/user/.webppl/node_modules/webppl-viz/src/index.js:990
989| if (runningInBrowser()) {
990| if (!_.has(wpEditor, 'makeResultContainer')) {
---------------^
991| // TODO: if running in browser but editor isn't present, append graphic to body
at test.wppl:1
1| viz(repeat(1000,flip))
^
2|
Apologies for the delay -- I just got back from vacation. This should be fixed now, so if you reinstall webppl-viz to the ~/.webppl folder, things should work now.
Got the following error when running
webppl test.wppl --require webppl-viz
on this one-liner example. I have installed cairo and the editor as well. Using node v6.10.3. This is not running in the browser...