-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
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
Update serverExternalPackages for next dev --turbo #7628
Comments
christianfullstack
added
status: needs-triage
Possible bug which hasn't been reproduced yet
v3
labels
Aug 12, 2024
I have the same issue with these versions.
|
github-actions
bot
removed
the
status: needs-triage
Possible bug which hasn't been reproduced yet
label
Aug 12, 2024
Hey all, this broke with Next.js and I opened an issue to track here: Let's consolidate feedback on that issue! |
This issue has been automatically locked. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Link to reproduction
No response
Payload Version
v3.0.0-beta.77
Node Version
v20.9.0
Next.js Version
tested with current ^15.0.0-canary.111 and ^15.0.0-canary.104
Describe the Bug
While executing
next dev --turbo
i get following Error:but this is just in the turbo Mode.
`⨯ ./node_modules/.pnpm/mongodb@4.17.1_@aws-sdk+client-sso-oidc@3.598.0/node_modules/mongodb/lib/index.js
Package mongodb (serverExternalPackages or default list) can't be external
The request mongodb matches serverExternalPackages (or the default list), but it can't be external:
The request could not be resolved by Node.js from the project directory.
Packages that should be external need to be installed in the project directory, so they can be resolved from the output files.
Try to install the package into the project directory.
./node_modules/.pnpm/mongoose@6.12.3_@aws-sdk+client-sso-oidc@3.598.0/node_modules/mongoose/index.js
Package mongoose (serverExternalPackages or default list) can't be external
The request mongoose matches serverExternalPackages (or the default list), but it can't be external:
The request could not be resolved by Node.js from the project directory.
Packages that should be external need to be installed in the project directory, so they can be resolved from the output files.
Try to install the package into the project directory.
./node_modules/.pnpm/pino@9.3.1/node_modules/pino/pino.js
Package pino (serverExternalPackages or default list) can't be external
The request pino matches serverExternalPackages (or the default list), but it can't be external:
The request could not be resolved by Node.js from the project directory.
Packages that should be external need to be installed in the project directory, so they can be resolved from the output files.
Try to install the package into the project directory.
./node_modules/.pnpm/pino-pretty@11.2.1/node_modules/pino-pretty/index.js
Package pino-pretty (serverExternalPackages or default list) can't be external
The request pino-pretty matches serverExternalPackages (or the default list), but it can't be external:
The request could not be resolved by Node.js from the project directory.
Packages that should be external need to be installed in the project directory, so they can be resolved from the output files.
Try to install the package into the project directory.
`
Reproduction Steps
execute
next dev --turbo
Adapters and Plugins
No response
The text was updated successfully, but these errors were encountered: