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
denolfe
changed the title
Blank template unable to build on Cloud due to downstream dependency
Blank template unable to build with Yarn on Cloud due to downstream dependency
Nov 13, 2023
denolfe
changed the title
Blank template unable to build with Yarn on Cloud due to downstream dependency
ERR_REQUIRE_ESM on build when using Yarn v1 Blank template. Incorrect dep resolution.
Nov 20, 2023
denolfe
changed the title
ERR_REQUIRE_ESM on build when using Yarn v1 Blank template. Incorrect dep resolution.
ERR_REQUIRE_ESM on build when using Yarn v1. Incorrect dep resolution.
Nov 20, 2023
Link to reproduction
npx create-payload-app
Describe the Bug
A blank template is unable to deploy on cloud. It appears to be caused by a dependency deep in the chain being ESM-only.
Other dependencies appear to be having the same issue:
Possible Solutions
Cloud deployments for the template were working previously, determine what dep was updated to cause this - revert it.
Our direct dependency is
resend
. See if updating that dependency fixes the referenceAdd a
resolutions
to the package.json. Not the best solution.To Reproduce
npx create-payload-app -t blank
Payload Version
2.1.1
Adapters and Plugins
No response
The text was updated successfully, but these errors were encountered: