I tried requiring nodejs fs module and keep getting the error below, how do I go about it please?

后端 未结 0 1378
借酒劲吻你
借酒劲吻你 2021-02-03 10:10

code line below

var fs= require(\'fs\');
 var readMe = fs.readFileSync(\'readMe.txt\', \'utf-8\');     // method to read file in node..note the  \'sync\' maintain         


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