Can't write .json files?

Posted on
  • It through me off at first, thinking I couldn't write files at all, but I can write .txt and .js files, but when I try to write .json files, I get this error:

    ERROR: Unable to write file : INVALID_NAME

    fs.writeFileSync('/test.json', "{}");
  • The issue here is that the filesystem uses 8.3 (non-long) filenames, so you have to write to test.js or test.jso, but you can't do test.json.

    However version 1.51 (which I'll hopefully get out today) has long filename support enabled.

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview

Can't write .json files?

Posted by Avatar for user6533 @user6533