You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just wanted to init a new project with a globally installed v10. This is the command that creates a bsconfig, but now it needs it already being there:
➜ test7 rescript init
node:internal/modules/cjs/loader:936
throw err;
^
Error: Cannot find module '/Users/florian-cca/Desktop/test7/bsconfig.json'
Require stack:
- /Users/florian-cca/.nvm/versions/node/v11.5.0/lib/node_modules/rescript/rescript
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/florian-cca/.nvm/versions/node/v11.5.0/lib/node_modules/rescript/rescript:33:21)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/Users/florian-cca/.nvm/versions/node/v11.5.0/lib/node_modules/rescript/rescript'
]
}
rescript -v has the same issue
The text was updated successfully, but these errors were encountered:
I just wanted to init a new project with a globally installed v10. This is the command that creates a bsconfig, but now it needs it already being there:
rescript -v
has the same issueThe text was updated successfully, but these errors were encountered: