node:fs:448
return binding.readFileUtf8(path, stringToFlags(options.flag));
^
Error: EISDIR: illegal operation on a directory, read
at Object.readFileSync (node:fs:448:20)
at Object. (/app/start.js:4:20)
at Module._compile (node:internal/modules/cjs/loader:1469:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)
at Module.load (node:internal/modules/cjs/loader:1288:32)
at Module._load (node:internal/modules/cjs/loader:1104:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12)
at node:internal/main/run_main_module:28:49 {
errno: -21,
code: 'EISDIR',
syscall: 'read'
}
Node.js v20.18.0
node:fs:448 return binding.readFileUtf8(path, stringToFlags(options.flag)); ^ Error: EISDIR: illegal operation on a directory, read at Object.readFileSync (node:fs:448:20) at Object. (/app/start.js:4:20)
at Module._compile (node:internal/modules/cjs/loader:1469:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)
at Module.load (node:internal/modules/cjs/loader:1288:32)
at Module._load (node:internal/modules/cjs/loader:1104:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12)
at node:internal/main/run_main_module:28:49 {
errno: -21,
code: 'EISDIR',
syscall: 'read'
}
Node.js v20.18.0