Skip to content

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

Description

@Kmfernan5

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 | > liftoff@0.1.0 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions