-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Error [ERR_REQUIRE_ESM]: require() of ES Module
from vercel dependency
#11102
Comments
i have the same error but when i try to run 'yarn test' with jest |
I have the same error |
@kevinreber I checked out your repo + sentry branch, and I see the same failure locally, so I don't think this is specific to Vercel. The error happens within the I found this related issue (yargs/cliui#138). Looks like this was a For anyone else in this thread, if switching off of |
Summary
Integrated Sentry into my Remix app that is deployed via Vercel and getting this error message during build (see PR)
Screenshots below
Seems strange that this issue is coming from
/vercel/path0/node_modules/cliui/build/index.cjs
, but did not run into this before attempting to integrate Sentry.Also confirming my
package.json
is set to"type": "module"
Steps to Reproduce
Issue with occurs during build (
yarn run build
) but did not run into this issue before attempting to integrate SentryReferences
The text was updated successfully, but these errors were encountered: