Intermittent build issue: "SyntaxError: Named export not found" (works on redeploy) #7050
Unanswered
kristiegiles
asked this question in
Help
Replies: 1 comment 3 replies
-
Hi, have you tried changing your import to as follows (based on logs output)? Looks like a differentiation in how the JS module is imported? I also see eventemitter3 docs recommending to import it pre-es6 manner CommonJS modules can always be imported via default export, for example using:
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
I started getting this error intermittently on the first build (using turborepo default configuration). It always works fine on redeploy and works fine locally. I'm not sure where to start with debugging this – does anyone have any ideas?
Example
No response
Steps to Reproduce
I am using turborepo and am on the Vercel Pro plan with 2 concurrent builds. Often, 4+ builds are triggered at once and some of them fail on the initial build and only work after manually redeploying.
Beta Was this translation helpful? Give feedback.
All reactions