I’m trying to load a JSON file that I’ve stored locally. To load this file I’ve tried to use FileUtils.readFile
, but I get the following error:
TypeError: Property 'readFile' of object [object Object] is not a function
This seems to happen in the online examples too, and happens on other FileUtils
functions too. Is this a bug, and if it is, what’s the workaround?