We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm using adminjs with pnpm. When I run pnpm exec admin which is the same as npx admin, it fails.
adminjs
pnpm
pnpm exec admin
npx admin
node:internal/modules/esm/resolve:255 throw new ERR_MODULE_NOT_FOUND( ^ Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/Users/zerocho/WebstormProjects/alchemist-back/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]/node_modules/adminjs/lib/cli' imported from /Users/zerocho/WebstormProjects/alchemist-back/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]/node_modules/adminjs/cli.js at finalizeResolution (node:internal/modules/esm/resolve:255:11) at moduleResolve (node:internal/modules/esm/resolve:908:10) at defaultResolve (node:internal/modules/esm/resolve:1121:11) at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:396:12) at ModuleLoader.resolve (node:internal/modules/esm/loader:365:25) at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:240:38) at ModuleLoader.import (node:internal/modules/esm/loader:328:34) at importModuleDynamically (node:internal/modules/esm/translators:146:35) at importModuleDynamicallyCallback (node:internal/modules/esm/utils:176:14) at file:///Users/zerocho/WebstormProjects/alchemist-back/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]/node_modules/adminjs/cli.js:3:1 { code: 'ERR_MODULE_NOT_FOUND', url: 'file:///Users/zerocho/WebstormProjects/alchemist-back/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]/node_modules/adminjs/lib/cli' }
Inside node_modules/adminjs/lib, there's no cli.js
node_modules/adminjs/lib
cli.js
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm using
adminjs
withpnpm
.When I run
pnpm exec admin
which is the same asnpx admin
, it fails.Inside
node_modules/adminjs/lib
, there's nocli.js
The text was updated successfully, but these errors were encountered: