Skip to content
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

Build Failed Command "npm run build" exited with 1 #9

Open
Kmfernan5 opened this issue Sep 10, 2023 · 0 comments
Open

Build Failed Command "npm run build" exited with 1 #9

Kmfernan5 opened this issue Sep 10, 2023 · 0 comments

Comments

@Kmfernan5
Copy link

any suggestions?

Build Failed
Command "npm run build" exited with 1

Running build in Washington, D.C., USA (East) – iad1 (Hive)

17:27:31.233 | Cloning completed: 1.440s
17:27:34.040 | Restored build cache
17:27:34.109 | Running "vercel build"
17:27:34.616 | Vercel CLI 32.2.0
17:27:34.895 | Installing dependencies...
17:27:36.559 |  
17:27:36.560 | changed 1 package in 1s
17:27:36.560 |  
17:27:36.560 | 139 packages are looking for funding
17:27:36.560 | run npm fund for details
17:27:36.570 | Detected Next.js version: 13.4.4
17:27:36.574 | Detected package-lock.json generated by npm 7+...
17:27:36.574 | Running "npm run build"
17:27:36.990 |  
17:27:36.991 | > [email protected] build
17:27:36.991 | > next build
17:27:36.991 |  
17:27:37.508 | - info Creating an optimized production build...
17:27:42.617 | Failed to compile.
17:27:42.617 |  
17:27:42.618 | ./pages/demo.tsx
17:27:42.618 | Error:
17:27:42.618 | x Unexpected token AnimatePresence. Expected jsx identifier
17:27:42.618 | ,-[/vercel/path0/pages/demo.tsx:302:1]
17:27:42.618 | 302 | };
17:27:42.618 | 303 |
17:27:42.618 | 304 | return (
17:27:42.618 | 305 |
17:27:42.618 | : ^^^^^^^^^^^^^^^
17:27:42.618 | 306 | {step === 3 ? (
17:27:42.618 | 307 |


17:27:42.619 | 308 |


17:27:42.619 | ---- 17:27:42.619 |   17:27:42.619 | Caused by: 17:27:42.619 | Syntax Error 17:27:42.619 |   17:27:42.619 | ./app/layout.tsx 17:27:42.619 | Error: 17:27:42.619 | x Expected ',', got 'SueñoScholar' 17:27:42.619 | ,-[/vercel/path0/app/layout.tsx:15:1] 17:27:42.619 | 15 \| }, 17:27:42.619 | 16 \| twitter: { 17:27:42.619 | 17 \| card: "summary_large_image", 17:27:42.619 | : ^^^^^^^^^^^^^ 17:27:42.619 | 19 \| description: 17:27:42.620 | ----
17:27:42.620 |  
17:27:42.620 | Caused by:
17:27:42.620 | Syntax Error
17:27:42.620 |  
17:27:42.620 | Import trace for requested module:
17:27:42.620 | ./app/layout.tsx
17:27:42.620 |  
17:27:42.622 |  
17:27:42.622 | > Build failed because of webpack errors
17:27:42.659 | Error: Command "npm run build" exited with 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant