I came across an error on visual programming frontend and backend when we build react application and serve that.
I've tried to run the frontend app with npm start and It loads all flow variable and node menus without any issues, but when I build the frontend application It doesn't load any flow variables and node menu (attached screenshot).
Now, I can see workflow/new got called but not /nodes/ and /global/ and it gives error on the console like
SyntaxError: Unexpected token < in JSON at position 0
I guess it's the JSON that is not returning in a proper format in those global and nodes API. But when I check it with the Postman with the correct body, It runs perfectly without any error.
Does anyone facing the same issue? Any help would be much appreciated.
I came across an error on visual programming frontend and backend when we build react application and serve that.
I've tried to run the frontend app with npm start and It loads all flow variable and node menus without any issues, but when I build the frontend application It doesn't load any flow variables and node menu (attached screenshot).
Now, I can see workflow/new got called but not /nodes/ and /global/ and it gives error on the console like
I guess it's the JSON that is not returning in a proper format in those global and nodes API. But when I check it with the Postman with the correct body, It runs perfectly without any error.
Does anyone facing the same issue? Any help would be much appreciated.
Thanks