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
{{ message }}
This repository has been archived by the owner on Sep 3, 2022. It is now read-only.
After installing with npm, when I tried to run the codegen, it failed because 'rimraf' was missing. Shouldn't it be added to the dependencies of the package?
[...]/node_modules/@nll/api-codegen-ts/lib/bin.js
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. ([...]/node_modules/@nll/api-codegen-ts/lib/bin.js:11:14)
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: [
'[...]/node_modules/@nll/api-codegen-ts/lib/bin.js'
]
}
Fixed with: $ npm i -D rimraf
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
After installing with npm, when I tried to run the codegen, it failed because 'rimraf' was missing. Shouldn't it be added to the dependencies of the package?
$ npx @nll/api-codegen-ts
node:internal/modules/cjs/loader:936
throw err;
^
Error: Cannot find module 'rimraf'
Require stack:
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. ([...]/node_modules/@nll/api-codegen-ts/lib/bin.js:11:14)
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: [
'[...]/node_modules/@nll/api-codegen-ts/lib/bin.js'
]
}
Fixed with:
$ npm i -D rimraf
The text was updated successfully, but these errors were encountered: