pnpm version: 6.3.1
Code to reproduce the issue:
npx degit kodepandai/lunox lunoxapp
cd lunoxapp
pnpm install
pnpm build
pnpm serve
Expected behavior:
Lunox app should run successfully
This is when I run pnpm serve with node v16.6.2
❯ pnpm serve
> lunox-app@0.8.0 serve /home/dmuggle/GIT/cobalunox
> lunox serve
serving application...
server run on port: 8000
Actual behavior:
lunox dependencies is not detected by pnpm, for example @kodepandai/flydrive, sirv, etc.
This is console.log when I run pnpm serve
❯ pnpm serve
> lunox-app@0.8.0 serve /home/dmuggle/GIT/cobalunox
> lunox serve
serving application...
node:internal/process/esm_loader:94
internalBinding('errors').triggerUncaughtException(
^
Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@kodepandai/flydrive' imported from /home/dmuggle/GIT/cobalunox/node_modules/lunox/dist/index.js
Did you mean to import @kodepandai+flydrive@2.0.0/node_modules/@kodepandai/flydrive/build/index.js?
at new NodeError (node:internal/errors:371:5)
at packageResolve (node:internal/modules/esm/resolve:892:9)
at moduleResolve (node:internal/modules/esm/resolve:938:18)
at defaultResolve (node:internal/modules/esm/resolve:1041:11)
at ESMLoader.resolve (node:internal/modules/esm/loader:530:30)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:251:18)
at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:79:40)
at link (node:internal/modules/esm/module_job:78:36) {
code: 'ERR_MODULE_NOT_FOUND'
}
Node.js v17.4.0
Additional information:
node -v prints: v17.4.0
- Windows, macOS, or Linux?: Linux
pnpm version: 6.3.1
Code to reproduce the issue:
npx degit kodepandai/lunox lunoxapp cd lunoxapp pnpm install pnpm build pnpm serveExpected behavior:
Lunox app should run successfully
This is when I run
pnpm servewith node v16.6.2Actual behavior:
lunox dependencies is not detected by pnpm, for example @kodepandai/flydrive, sirv, etc.
This is console.log when I run
pnpm serveAdditional information:
node -vprints: v17.4.0