Files
website/build-log.txt
T

36 lines
2.4 KiB
Plaintext

node.exe : $ next build
所在位置 C:\Users\MisakaAkio\AppData\Roaming\npm\pnpm.ps1:24 字符: 5
+ & "node$exe" "$basedir/node_modules/pnpm/bin/pnpm.mjs" $args
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: ($ next build:String) [], RemoteEx
ception
+ FullyQualifiedErrorId : NativeCommandError
鈻?Next.js 16.3.1 (Turbopack)
鉁?Running next.config.ts took 226ms
Creating an optimized production build ...
> Build error occurred
Error: Turbopack build failed with 1 error:
./src/components/news/news-detail-client.tsx:1:3
Error: Expected ';', '}' or <eof>
> 1 | an"use client";
 | ^^^^^^^^^^^^
2 |
3 | import Link from "next/link"
;
4 | import { useEffect, useState } from "reac
t";
Parsing ecmascript source code failed
Import trace:
Server Component:
./src/components/news/news-detail-client.tsx
./src/app/news/[slug]/page.tsx
at <unknown> (./src/components/news/news-detail-client.tsx:1:3)
[ELIFECYCLE] Command failed with exit code 1.