Closed xippi closed 10 years ago
Was this a Github issue? Should we close this issue, or make it about showing the user error info in the UI?
I'm not sure is this GitHub, nofo-ui or me but I still have this issue with .json graphs. I'll try to be more specific how I run into this error.
I create a new project with one graph and one component and use UI to push it to GitHub. When I take a look at https://github.com/xippi/noflo I see that UI has created two folders and pushed core.json into graphs/ and repeatComponent.coffee into components/. If I remove indexedDB nofo-ui database, clear browser cache, login again and try to pull that repository from GitHub I get this error and I can see 0 graphs and 1 component locally. This is happening to me even if I expose core.json trough package.json, I can add it as a subgraph to the new graphs (I can see it in search results as ENV/CORE) but there is no way to edit that graph again.
If I manually add any .fbp graph into graphs/ folder it gets autodiscovered by UI. Components are stacked one on top of another (I know this is because of the missing metadata) but when try to push .fbp graph back to GitHub it gets saved under .json format and I'm running into the same problem again.
I get the same behavior both on local noflo-ui and flowhub.io. Can you please take a close look at this repository and check what I'm doing wrong ?
I get a JavaScript error when I try to pull .json graphs from GitHub. The test repository I'm trying to download from is at: https://github.com/xippi/noflo, when I try pull it I get the following error and I can see only .fbp graph: