Writing json file in node.js returns 'EROFS' error

前端 未结 0 1380
耶瑟儿~
耶瑟儿~ 2020-12-04 01:12

I\'m trying to write a json file in node.js in the following way:

const fs = require(\'fs\');

fs.writeFile(\'./keywords.json\', JSON.stringify(keywords), fun         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题