ok .. just confirming because in the error you mentioned, you were possibly trying to load from the chart_vega_vue
path that doesnt seem to exist .. so double check.
also what do you expect to happen with this line ?
const vlJson = "bar.json"
read and load the bar.json file ?
(look into using Fetch or better send the bar.json file from Node-red to uibuilder and then trigger the draw of the chart )