flowbro icon indicating copy to clipboard operation
flowbro copied to clipboard

Configuration file format is not recognised, and as a result the UI doesn't show anything

Open mccstan opened this issue 7 years ago • 4 comments

Hello thanks for your tool ! But i'm getting this and don't know capture du 2017-07-17 12-20-42

mccstan avatar Jul 17 '17 11:07 mccstan

I fixed it, the config file should be name .js, not .json

mccstan avatar Jul 17 '17 12:07 mccstan

@mccstan thank you for trying flowbro! I hope you find it useful.

JSON makes more sense; that's probably why you had this issue. Your assumption is better. I'm using JSON as well. It was .js originally because I used to have js functions to handle logic; it was changed since then.

Can you describe your issue in more detail? I'd like to change the code so that only JSON is allowed; arbitrary js code should be discouraged.

marianogappa avatar Jul 17 '17 21:07 marianogappa

Hello @marianogappa , this is step by step what i did :

  • I followed the quick start guide and then created a new config file from your template just by copying. I just edited the kafka brokers info.
  • Then i started flowbro and get the error page.
  • I launched the chrome debug tool and noticed that the front app was looking for a file named filename.js
  • That is why a changed the config file from .JSON to .JS
  • That worked for me !

mccstan avatar Jul 18 '17 08:07 mccstan

@mccstan thank you so much for taking the trouble to describe the issue. I reckon anyone trying it will stumble upon the same. I'll look into it hopefully by this weekend and get it sorted so it's less confusing.

marianogappa avatar Jul 18 '17 22:07 marianogappa