【发布时间】:2023-03-14 05:10:02
【问题描述】:
我正在尝试使用const config = fs.readFileSync(configFilePath,'utf8');
但它实际上返回了一个错误,如下所述:
fs.js:663
return binding.open(pathModule.toNamespacedPath(path),
^
Error: ENAMETOOLONG: name too long, open '/Users/akshaysood/Blockchain/fabricSDK/dist/name: "Network"
version: "1.0"
我要阅读的文件位于https://hastebin.com/ubaqakixit.http
我是node.js 的新手。如果有人知道这个错误,请告诉我
【问题讨论】: