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
I initialized the react-native and next.js mono repo projects using turborepo. And when I tried to deploy the next.js project to vercel during development, the following error message appeared.
"An unexpected error happened when running this build. We have been notified of the problem. This may be a transient error. If the problem persists, please contact Vercel Support https://vercel.com/help"
When I build it in the local environment, it succeeds, but when I try to deploy it to Vercel, why do I get a build error?
Additional information
RunningbuildinWashington,D.C.,USA(East)–iad1Cloninggithub.com/Devinix00/today-s-horoscope(Branch: main,Commit: 86be439)Previousbuildcachenotavailable
Cloning completed: 918.779msRunning"vercel build"VercelCLI33.7.1Installingdependencies...
npmWARNdeprecated @babel/plugin-proposal-optional-catch-binding@7.18.6: ThisproposalhasbeenmergedtotheECMAScriptstandardandthusthispluginisnolongermaintained.Pleaseuse @babel/plugin-transform-optional-catch-binding instead.
npmWARNdeprecated @babel/plugin-proposal-nullish-coalescing-operator@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operatorinstead.npmWARNdeprecated @babel/plugin-proposal-async-generator-functions@7.20.7: ThisproposalhasbeenmergedtotheECMAScriptstandardandthusthispluginisnolongermaintained.Pleaseuse @babel/plugin-transform-async-generator-functions instead.
npmWARNdeprecated @babel/plugin-proposal-optional-chaining@7.21.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaininginstead.npmWARNdeprecated @types/react-native@0.73.0: Thisisastubtypesdefinition.react-nativeprovidesitsowntypedefinitions,soyoudonotneedthisinstalled.npmWARNdeprecated @babel/plugin-proposal-class-properties@7.18.6: ThisproposalhasbeenmergedtotheECMAScriptstandardandthusthispluginisnolongermaintained.Pleaseuse @babel/plugin-transform-class-propertiesinstead.npmWARNdeprecated @babel/plugin-proposal-numeric-separator@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-numeric-separatorinstead.npmWARNdeprecated @babel/plugin-proposal-object-rest-spread@7.20.7: ThisproposalhasbeenmergedtotheECMAScriptstandardandthusthispluginisnolongermaintained.Pleaseuse @babel/plugin-transform-object-rest-spread instead.
added1134packagesin37s168packagesarelookingforfundingrun`npm fund`fordetailsDetectedNext.js version: 14.2.2Detected`package-lock.json`generatedbynpm7+Running"npm run build">web@1.0.0build>nextbuild
Attention: Next.jsnowcollectscompletelyanonymoustelemetryregardingusage.ThisinformationisusedtoshapeNext.js' roadmap and prioritize features.You can learn more, including how to opt-out if you'dnotliketoparticipateinthisanonymousprogram,byvisitingthefollowingURL:
https://nextjs.org/telemetry▲Next.js14.2.2Creatinganoptimizedproductionbuild...✓CompiledsuccessfullyLintingandcheckingvalidityoftypes...Collectingpagedata...Generatingstaticpages(0/9)...Generatingstaticpages(2/9)Generatingstaticpages(4/9)Generatingstaticpages(6/9)✓Generatingstaticpages(9/9)Finalizingpageoptimization...Collectingbuildtraces...Route(app)SizeFirstLoadJS┌○/806B87.8kB├○/_not-found873B87.8kB├○/admin640B87.6kB├○/contents138B87.1kB├○/home457B95.5kB├○/push-message5.57kB97.6kB└○/statistics1.01kB88kB+FirstLoadJSsharedbyall86.9kB├chunks/1dd3208c-961ecfe606615a6e.js53.6kB├chunks/286-71edbef0705648cc.js31.4kB└othersharedchunks(total)1.9kB○(Static)prerenderedasstaticcontentTracedNext.jsserverfilesin: 109.569msCreatedallserverlessfunctionsin: 1.530sCollectedstaticfiles(public/,static/,.next/static): 33.124msBuildCompletedin/vercel/output[1m]Deployingoutputs...
Anunexpectederrorhappenedwhenrunningthisbuild.Wehavebeennotifiedoftheproblem.Thismaybeatransienterror.Iftheproblempersists,pleasecontactVercelSupport https://vercel.com/help
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Summary
I initialized the react-native and next.js mono repo projects using turborepo. And when I tried to deploy the next.js project to vercel during development, the following error message appeared.
"An unexpected error happened when running this build. We have been notified of the problem. This may be a transient error. If the problem persists, please contact Vercel Support https://vercel.com/help"
When I build it in the local environment, it succeeds, but when I try to deploy it to Vercel, why do I get a build error?
Additional information
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions