Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No 'dist' folder or syncano.fuse.js in the file linked to from the example? #2

Open
steveharman opened this issue Nov 18, 2016 · 1 comment

Comments

@steveharman
Copy link

Hi,

I followed the instructions & the link at https://github.com/Syncano/syncano-fuse-example ('Download the latest release of syncano-js and unpack it into the project') But when I download that there's no syncano-js/dist/ directory in the zip. The closet thing I could find was syncano-js/src/ which appeared to have the standard syncano.js inside.

However examining syncano-fuse.unoproj it looks as if the fuse-example-project requires 'syncano-js/dist/syncano.fuse.js '? So simply changing syncano-js/dist/ to syncano-js/src/ in syncano-fuse.unoproj didn't work as there's no syncano.fuse.js in the regular zip that I pulled down.

I seem to be missing syncano.fuse.js - It didn't seem to be in the .zip linked to from https://github.com/Syncano/syncano-fuse-example

Any help much appreciated.

Thanks,

Steve

@steveharman
Copy link
Author

steveharman commented Nov 19, 2016

Trying to move this forward, Kevin on the Fuse Slack channel supplied me with a .zip which did contain the /dist folder and /dist/syncano.fuse.js libray, I’ve made progress with Syncano & Fuse but not quite the progress I’d hoped for. Adding Kevin's copy of syncano-js which contained the dist/syncano.fuse.js file appears to allow the example app to connect with Syncano:

fetchInstances::call
fetchInstances::success

But the app then spirals out of all control with a constant loop of

LOG: Warning: JavaScript data model contains circular reference or is too deep. Some data may not display correctly. in Fuse.Scripting.V8.Context/usr/local/share/uno/Packages/FuseCore/0.40.8/scripting/$.uno:228``

And I end up having to force-quite Fuse & Fuse Monitor to get things back to normal. Interestingly if I blow away my Syncano API key from the config I get the expected error

{"name":"RequestError","status":403,"errors":{"detail":"No such API Key."}

So clearly there is connectivity from the example app to Syncano, the problem is when using my API key and successfully authenticating against Syncano.

All I’ve done is cloned the Fuse Syncano example app from GitHub, included Kevin's copy of the library and added my Syncano API key. Even I can’t get that wrong. Can I? Fuse 0.29 (build 8396), OSX 10.12.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant