C:\Users\mydocs\AppData\Roaming\npm\node_modules\hai-server\lib\cli\bin.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1145:15)
at Module._load (node:internal/modules/cjs/loader:986:27)
at Module.require (node:internal/modules/cjs/loader:1233:19)
at require (node:internal/modules/helpers:179:18)
at Object. (C:\Users\mydocs\AppData\Roaming\npm\node_modules\hai-server\lib\cli\bin.js:5:1)
at Module._compile (node:internal/modules/cjs/loader:1358:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
at Module.load (node:internal/modules/cjs/loader:1208:32)
at Module._load (node:internal/modules/cjs/loader:1024:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'C:\Users\mydocs\AppData\Roaming\npm\node_modules\hai-server\lib\cli\bin.js'
]
}
after installing globally or locally and running this command in terminal:
hai-server --version
I have this error:
` node:internal/modules/cjs/loader:1148 throw err; ^
Error: Cannot find module './' Require stack:
Node.js v20.13.1 `