Refactor TPOS parity routes and split schema modules
This commit is contained in:
@@ -984,3 +984,269 @@
|
||||
[481053021ms] [LOG] [Fast Refresh] done in 118ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[481202820ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[481202909ms] [LOG] [Fast Refresh] done in 17ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[481359578ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[481359639ms] [LOG] [Fast Refresh] done in 49ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[481429317ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[481429627ms] [LOG] [Fast Refresh] done in 19ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[481435843ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[481435903ms] [LOG] [Fast Refresh] done in 25ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[481436021ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[481436049ms] [LOG] [Fast Refresh] done in 130ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[481444618ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[481444619ms] [LOG] [Fast Refresh] done in 102ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[481642495ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[481642510ms] [LOG] [Fast Refresh] done in 110ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[481660658ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[481660710ms] [LOG] [Fast Refresh] done in 34ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[481676710ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[481676754ms] [LOG] [Fast Refresh] done in 15ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[481691971ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[481692033ms] [LOG] [Fast Refresh] done in 8ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[481704347ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[481704385ms] [LOG] [Fast Refresh] done in 10ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[481725246ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[481725320ms] [LOG] [Fast Refresh] done in 175ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[481803750ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[481803831ms] [LOG] [Fast Refresh] done in 21ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[485287838ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[485288143ms] [LOG] [Fast Refresh] done in 406ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[485558376ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[485558428ms] [LOG] [Fast Refresh] done in 15ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[485600202ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[485600275ms] [LOG] [Fast Refresh] done in 36ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[485600382ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[485600542ms] [LOG] [Fast Refresh] done in 261ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[485610514ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[485610566ms] [LOG] [Fast Refresh] done in 8ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[485758694ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[485758812ms] [LOG] [Fast Refresh] done in 13ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[485775671ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[485775698ms] [LOG] [Fast Refresh] done in 128ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[488756496ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[488756566ms] [LOG] [Fast Refresh] done in 113ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[488756700ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[488756787ms] [LOG] [Fast Refresh] done in 190ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[488756889ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[488756934ms] [LOG] [Fast Refresh] done in 147ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[488764747ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[488764867ms] [LOG] [Fast Refresh] done in 77ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[488821579ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[488821636ms] [LOG] [Fast Refresh] done in 46ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[488821809ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[488821952ms] [LOG] [Fast Refresh] done in 244ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[488862711ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[488862821ms] [ERROR] ./apps/tpos-mvp-next/src/components/TposPosExperience.tsx:1577:36
|
||||
Nullish coalescing operator(??) requires parens when mixing with logical operators
|
||||
1575 | ...label>
|
||||
1576 | ... <span>{vertical === "karaoke" ? "Phòng đích" : "Bàn đích"}</span>
|
||||
> 1577 | ... <select value={targetTransferTableId || transferTargetTables[0]?.id ?? ""} onChange=...
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
1578 | ... {transferTargetTables.length ? transferTargetTables.map((table) => (
|
||||
1579 | ... <option key={table.id} value={table.id}>
|
||||
1580 | ... {table.tableNumber} · {table.zone ?? "Khu chính"}
|
||||
|
||||
Parsing ecmascript source code failed
|
||||
|
||||
Import trace:
|
||||
Server Component:
|
||||
./apps/tpos-mvp-next/src/components/TposPosExperience.tsx
|
||||
./apps/tpos-mvp-next/src/app/pos/pos-experience.tsx
|
||||
./apps/tpos-mvp-next/src/app/pos/[shopId]/[vertical]/[[...workflow]]/page.tsx @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:3318
|
||||
[488862953ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[488862973ms] [ERROR] ./apps/tpos-mvp-next/src/components/TposPosExperience.tsx:1577:36
|
||||
Nullish coalescing operator(??) requires parens when mixing with logical operators
|
||||
1575 | ...label>
|
||||
1576 | ... <span>{vertical === "karaoke" ? "Phòng đích" : "Bàn đích"}</span>
|
||||
> 1577 | ... <select value={targetTransferTableId || transferTargetTables[0]?.id ?? ""} onChange=...
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
1578 | ... {transferTargetTables.length ? transferTargetTables.map((table) => (
|
||||
1579 | ... <option key={table.id} value={table.id}>
|
||||
1580 | ... {table.tableNumber} · {table.zone ?? "Khu chính"}
|
||||
|
||||
Parsing ecmascript source code failed
|
||||
|
||||
Import trace:
|
||||
Server Component:
|
||||
./apps/tpos-mvp-next/src/components/TposPosExperience.tsx
|
||||
./apps/tpos-mvp-next/src/app/pos/pos-experience.tsx
|
||||
./apps/tpos-mvp-next/src/app/pos/[shopId]/[vertical]/[[...workflow]]/page.tsx @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:3318
|
||||
[488862980ms] [ERROR] Failed to load resource: the server responded with a status of 500 (Internal Server Error) @ http://localhost:3010/auth/login?returnUrl=%2Fpos%2F8d99d966-883e-4806-b247-ee940e6a779c%2Fcafe%2Fproduct-search&_rsc=Bgu0c_O2-wOGEhga:0
|
||||
[488863000ms] [ERROR] Failed to load resource: the server responded with a status of 500 (Internal Server Error) @ http://localhost:3010/auth/login?returnUrl=%2Fpos%2F8d99d966-883e-4806-b247-ee940e6a779c%2Fcafe%2Fproduct-search&_rsc=Bgu0c_O2-wOGEhga:0
|
||||
[488863028ms] [ERROR] Failed to load resource: the server responded with a status of 500 (Internal Server Error) @ http://localhost:3010/auth/login?returnUrl=%2Fpos%2F8d99d966-883e-4806-b247-ee940e6a779c%2Fcafe%2Fproduct-search&_rsc=Bgu0c_O2-wOGEhga:0
|
||||
[488863053ms] [ERROR] Failed to load resource: the server responded with a status of 500 (Internal Server Error) @ http://localhost:3010/auth/login?returnUrl=%2Fpos%2F8d99d966-883e-4806-b247-ee940e6a779c%2Fcafe%2Fproduct-search&_rsc=Bgu0c_O2-wOGEhga:0
|
||||
[488863069ms] [ERROR] Failed to load resource: the server responded with a status of 500 (Internal Server Error) @ http://localhost:3010/auth/login?returnUrl=%2Fpos%2F8d99d966-883e-4806-b247-ee940e6a779c%2Fcafe%2Fproduct-search:0
|
||||
[488863145ms] [INFO] %cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools font-weight:bold @ http://localhost:3010/_next/static/chunks/0a8t_react-dom_07.400g._.js:15305
|
||||
[488863186ms] Error: ./apps/tpos-mvp-next/src/components/TposPosExperience.tsx:1577:36
|
||||
Nullish coalescing operator(??) requires parens when mixing with logical operators
|
||||
1575 | ...label>
|
||||
1576 | ... <span>{vertical === "karaoke" ? "Phòng đích" : "Bàn đích"}</span>
|
||||
> 1577 | ... <select value={targetTransferTableId || transferTargetTables[0]?.id ?? ""} onChange=...
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
1578 | ... {transferTargetTables.length ? transferTargetTables.map((table) => (
|
||||
1579 | ... <option key={table.id} value={table.id}>
|
||||
1580 | ... {table.tableNumber} · {table.zone ?? "Khu chính"}
|
||||
|
||||
Parsing ecmascript source code failed
|
||||
|
||||
Import trace:
|
||||
Server Component:
|
||||
./apps/tpos-mvp-next/src/components/TposPosExperience.tsx
|
||||
./apps/tpos-mvp-next/src/app/pos/pos-experience.tsx
|
||||
./apps/tpos-mvp-next/src/app/pos/[shopId]/[vertical]/[[...workflow]]/page.tsx
|
||||
|
||||
|
||||
at <unknown> (Error: ./apps/tpos-mvp-next/src/components/TposPosExperience.tsx:1577:36)
|
||||
at Object.getCompilationErrors (file:///Users/velikho/Desktop/WORKING/pos-system/microservices/node_modules/.pnpm/next@16.2.6_react-dom@19.2.6_react@19.2.6/node_modules/next/dist/server/dev/hot-reloader-turbopack.js:1186:59)
|
||||
at DevBundlerService.getCompilationError (file:///Users/velikho/Desktop/WORKING/pos-system/microservices/node_modules/.pnpm/next@16.2.6_react-dom@19.2.6_react@19.2.6/node_modules/next/dist/server/lib/dev-bundler-service.js:44:55)
|
||||
at DevServer.getCompilationError (file:///Users/velikho/Desktop/WORKING/pos-system/microservices/node_modules/.pnpm/next@16.2.6_react-dom@19.2.6_react@19.2.6/node_modules/next/dist/server/dev/next-dev-server.js:720:42)
|
||||
at DevServer.findPageComponents (file:///Users/velikho/Desktop/WORKING/pos-system/microservices/node_modules/.pnpm/next@16.2.6_react-dom@19.2.6_react@19.2.6/node_modules/next/dist/server/dev/next-dev-server.js:690:43)
|
||||
at async DevServer.renderErrorToResponseImpl (file:///Users/velikho/Desktop/WORKING/pos-system/microservices/node_modules/.pnpm/next@16.2.6_react-dom@19.2.6_react@19.2.6/node_modules/next/dist/server/base-server.js:1753:26)
|
||||
[488863183ms] [LOG] [HMR] connected @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_12y_-1y._.js:1226
|
||||
[488863184ms] [ERROR] ./apps/tpos-mvp-next/src/components/TposPosExperience.tsx:1577:36
|
||||
Nullish coalescing operator(??) requires parens when mixing with logical operators
|
||||
1575 | ...label>
|
||||
1576 | ... <span>{vertical === "karaoke" ? "Phòng đích" : "Bàn đích"}</span>
|
||||
> 1577 | ... <select value={targetTransferTableId || transferTargetTables[0]?.id ?? ""} onChange=...
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
1578 | ... {transferTargetTables.length ? transferTargetTables.map((table) => (
|
||||
1579 | ... <option key={table.id} value={table.id}>
|
||||
1580 | ... {table.tableNumber} · {table.zone ?? "Khu chính"}
|
||||
|
||||
Parsing ecmascript source code failed
|
||||
|
||||
Import trace:
|
||||
Server Component:
|
||||
./apps/tpos-mvp-next/src/components/TposPosExperience.tsx
|
||||
./apps/tpos-mvp-next/src/app/pos/pos-experience.tsx
|
||||
./apps/tpos-mvp-next/src/app/pos/[shopId]/[vertical]/[[...workflow]]/page.tsx @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_12y_-1y._.js:1945
|
||||
[488863184ms] [ERROR] ./apps/tpos-mvp-next/src/components/TposPosExperience.tsx:1577:36
|
||||
Nullish coalescing operator(??) requires parens when mixing with logical operators
|
||||
1575 | ...label>
|
||||
1576 | ... <span>{vertical === "karaoke" ? "Phòng đích" : "Bàn đích"}</span>
|
||||
> 1577 | ... <select value={targetTransferTableId || transferTargetTables[0]?.id ?? ""} onChange=...
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
1578 | ... {transferTargetTables.length ? transferTargetTables.map((table) => (
|
||||
1579 | ... <option key={table.id} value={table.id}>
|
||||
1580 | ... {table.tableNumber} · {table.zone ?? "Khu chính"}
|
||||
|
||||
Parsing ecmascript source code failed
|
||||
|
||||
Import trace:
|
||||
Server Component:
|
||||
./apps/tpos-mvp-next/src/components/TposPosExperience.tsx
|
||||
./apps/tpos-mvp-next/src/app/pos/pos-experience.tsx
|
||||
./apps/tpos-mvp-next/src/app/pos/[shopId]/dialog/[...path]/page.tsx @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_12y_-1y._.js:1945
|
||||
[488863184ms] [ERROR] ./apps/tpos-mvp-next/src/components/TposPosExperience.tsx:1577:36
|
||||
Nullish coalescing operator(??) requires parens when mixing with logical operators
|
||||
1575 | ...label>
|
||||
1576 | ... <span>{vertical === "karaoke" ? "Phòng đích" : "Bàn đích"}</span>
|
||||
> 1577 | ... <select value={targetTransferTableId || transferTargetTables[0]?.id ?? ""} onChange=...
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
1578 | ... {transferTargetTables.length ? transferTargetTables.map((table) => (
|
||||
1579 | ... <option key={table.id} value={table.id}>
|
||||
1580 | ... {table.tableNumber} · {table.zone ?? "Khu chính"}
|
||||
|
||||
Parsing ecmascript source code failed
|
||||
|
||||
Import trace:
|
||||
Server Component:
|
||||
./apps/tpos-mvp-next/src/components/TposPosExperience.tsx
|
||||
./apps/tpos-mvp-next/src/app/pos/pos-experience.tsx
|
||||
./apps/tpos-mvp-next/src/app/pos/[shopId]/operations/[...path]/page.tsx @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_12y_-1y._.js:1945
|
||||
[488863186ms] [ERROR] ./apps/tpos-mvp-next/src/components/TposPosExperience.tsx:1577:36
|
||||
Nullish coalescing operator(??) requires parens when mixing with logical operators
|
||||
1575 | ...label>
|
||||
1576 | ... <span>{vertical === "karaoke" ? "Phòng đích" : "Bàn đích"}</span>
|
||||
> 1577 | ... <select value={targetTransferTableId || transferTargetTables[0]?.id ?? ""} onChange=...
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
1578 | ... {transferTargetTables.length ? transferTargetTables.map((table) => (
|
||||
1579 | ... <option key={table.id} value={table.id}>
|
||||
1580 | ... {table.tableNumber} · {table.zone ?? "Khu chính"}
|
||||
|
||||
Parsing ecmascript source code failed
|
||||
|
||||
Import trace:
|
||||
Server Component:
|
||||
./apps/tpos-mvp-next/src/components/TposPosExperience.tsx
|
||||
./apps/tpos-mvp-next/src/app/pos/pos-experience.tsx
|
||||
./apps/tpos-mvp-next/src/app/pos/[shopId]/[vertical]/[[...workflow]]/page.tsx @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_12y_-1y._.js:1945
|
||||
[488863260ms] [ERROR] ./apps/tpos-mvp-next/src/components/TposPosExperience.tsx:1577:36
|
||||
Nullish coalescing operator(??) requires parens when mixing with logical operators
|
||||
1575 | ...label>
|
||||
1576 | ... <span>{vertical === "karaoke" ? "Phòng đích" : "Bàn đích"}</span>
|
||||
> 1577 | ... <select value={targetTransferTableId || transferTargetTables[0]?.id ?? ""} onChange=...
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
1578 | ... {transferTargetTables.length ? transferTargetTables.map((table) => (
|
||||
1579 | ... <option key={table.id} value={table.id}>
|
||||
1580 | ... {table.tableNumber} · {table.zone ?? "Khu chính"}
|
||||
|
||||
Parsing ecmascript source code failed
|
||||
|
||||
Import trace:
|
||||
Server Component:
|
||||
./apps/tpos-mvp-next/src/components/TposPosExperience.tsx
|
||||
./apps/tpos-mvp-next/src/app/pos/pos-experience.tsx
|
||||
./apps/tpos-mvp-next/src/app/pos/[shopId]/[vertical]/[[...workflow]]/page.tsx @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_12y_-1y._.js:1945
|
||||
[488863287ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_12y_-1y._.js:1226
|
||||
[488870984ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_12y_-1y._.js:1226
|
||||
[488871072ms] [LOG] [Fast Refresh] done in 148ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_12y_-1y._.js:1226
|
||||
[488871648ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_12y_-1y._.js:1226
|
||||
[488871660ms] [LOG] [Fast Refresh] done in 113ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_12y_-1y._.js:1226
|
||||
[488871749ms] [INFO] %cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools font-weight:bold @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[488871765ms] [LOG] [HMR] connected @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[489188207ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[489188214ms] [LOG] [Fast Refresh] done in 109ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[489323771ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[489323837ms] [LOG] [Fast Refresh] done in 13ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[489550491ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[489550553ms] [LOG] [Fast Refresh] done in 139ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[489557466ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[489557532ms] [LOG] [Fast Refresh] done in 14ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[489668487ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[489668588ms] [LOG] [Fast Refresh] done in 152ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[489668691ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[489668828ms] [LOG] [Fast Refresh] done in 238ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[489668950ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[489669018ms] [LOG] [Fast Refresh] done in 169ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[489674931ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[489674967ms] [LOG] [Fast Refresh] done in 63ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[489675069ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[489675128ms] [LOG] [Fast Refresh] done in 159ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[489697091ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[489697154ms] [LOG] [Fast Refresh] done in 39ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[489697256ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[489697381ms] [LOG] [Fast Refresh] done in 226ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[489712771ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[489712822ms] [LOG] [Fast Refresh] done in 12ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[489734915ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[489735071ms] [LOG] [Fast Refresh] done in 184ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[489746818ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[489746898ms] [LOG] [Fast Refresh] done in 177ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[489747130ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[489747265ms] [LOG] [Fast Refresh] done in 235ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[489756833ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[489756925ms] [LOG] [Fast Refresh] done in 113ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[489757160ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[489757240ms] [LOG] [Fast Refresh] done in 181ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[489805187ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[489805257ms] [LOG] [Fast Refresh] done in 163ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[489819722ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[489819772ms] [LOG] [Fast Refresh] done in 57ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[489936330ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[489936366ms] [LOG] [Fast Refresh] done in 6ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[490012583ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[490013057ms] [LOG] [Fast Refresh] done in 574ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[490013391ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[490013470ms] [LOG] [Fast Refresh] done in 181ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[490013729ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[490013760ms] [LOG] [Fast Refresh] done in 131ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[490013953ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[490014855ms] [LOG] [Fast Refresh] done in 1007ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[490015029ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[490015080ms] [LOG] [Fast Refresh] done in 151ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[490015237ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[490015239ms] [LOG] [Fast Refresh] done in 107ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[490044209ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[490044650ms] [LOG] [Fast Refresh] done in 542ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[490045154ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[490046147ms] [LOG] [Fast Refresh] done in 1095ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
|
||||
@@ -379,3 +379,270 @@ Fast Refresh requires at least one parent function component in your React tree.
|
||||
[ 4627824ms] [LOG] [Fast Refresh] done in 118ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[ 4777623ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[ 4777712ms] [LOG] [Fast Refresh] done in 16ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[ 4934381ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[ 4934442ms] [LOG] [Fast Refresh] done in 49ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[ 5004120ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[ 5004430ms] [LOG] [Fast Refresh] done in 11ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[ 5010646ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[ 5010706ms] [LOG] [Fast Refresh] done in 18ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[ 5010823ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[ 5010852ms] [LOG] [Fast Refresh] done in 130ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[ 5019420ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[ 5019422ms] [LOG] [Fast Refresh] done in 103ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[ 5217298ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[ 5217303ms] [LOG] [Fast Refresh] done in 101ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[ 5235461ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[ 5235513ms] [LOG] [Fast Refresh] done in 34ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[ 5251513ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[ 5251558ms] [LOG] [Fast Refresh] done in 14ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[ 5266774ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[ 5266836ms] [LOG] [Fast Refresh] done in 7ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[ 5279150ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[ 5279188ms] [LOG] [Fast Refresh] done in 9ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[ 5300049ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[ 5300123ms] [LOG] [Fast Refresh] done in 174ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[ 5378553ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[ 5378634ms] [LOG] [Fast Refresh] done in 21ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[ 8862641ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[ 8862945ms] [LOG] [Fast Refresh] done in 405ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[ 9133179ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[ 9133231ms] [LOG] [Fast Refresh] done in 15ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[ 9175005ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[ 9175077ms] [LOG] [Fast Refresh] done in 25ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[ 9175185ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[ 9175345ms] [LOG] [Fast Refresh] done in 260ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[ 9185317ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[ 9185369ms] [LOG] [Fast Refresh] done in 8ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[ 9333496ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[ 9333615ms] [LOG] [Fast Refresh] done in 10ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[ 9350475ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[ 9350501ms] [LOG] [Fast Refresh] done in 128ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[12331299ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[12331368ms] [LOG] [Fast Refresh] done in 113ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[12331502ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[12331590ms] [LOG] [Fast Refresh] done in 190ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[12331692ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[12331737ms] [LOG] [Fast Refresh] done in 147ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[12339550ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[12339670ms] [LOG] [Fast Refresh] done in 76ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[12396382ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[12396439ms] [LOG] [Fast Refresh] done in 35ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[12396611ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[12396755ms] [LOG] [Fast Refresh] done in 244ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[12437514ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[12437622ms] [ERROR] ./apps/tpos-mvp-next/src/components/TposPosExperience.tsx:1577:36
|
||||
Nullish coalescing operator(??) requires parens when mixing with logical operators
|
||||
1575 | ...label>
|
||||
1576 | ... <span>{vertical === "karaoke" ? "Phòng đích" : "Bàn đích"}</span>
|
||||
> 1577 | ... <select value={targetTransferTableId || transferTargetTables[0]?.id ?? ""} onChange=...
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
1578 | ... {transferTargetTables.length ? transferTargetTables.map((table) => (
|
||||
1579 | ... <option key={table.id} value={table.id}>
|
||||
1580 | ... {table.tableNumber} · {table.zone ?? "Khu chính"}
|
||||
|
||||
Parsing ecmascript source code failed
|
||||
|
||||
Import trace:
|
||||
Server Component:
|
||||
./apps/tpos-mvp-next/src/components/TposPosExperience.tsx
|
||||
./apps/tpos-mvp-next/src/app/pos/pos-experience.tsx
|
||||
./apps/tpos-mvp-next/src/app/pos/[shopId]/[vertical]/[[...workflow]]/page.tsx @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:3318
|
||||
[12437739ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[12437776ms] [ERROR] ./apps/tpos-mvp-next/src/components/TposPosExperience.tsx:1577:36
|
||||
Nullish coalescing operator(??) requires parens when mixing with logical operators
|
||||
1575 | ...label>
|
||||
1576 | ... <span>{vertical === "karaoke" ? "Phòng đích" : "Bàn đích"}</span>
|
||||
> 1577 | ... <select value={targetTransferTableId || transferTargetTables[0]?.id ?? ""} onChange=...
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
1578 | ... {transferTargetTables.length ? transferTargetTables.map((table) => (
|
||||
1579 | ... <option key={table.id} value={table.id}>
|
||||
1580 | ... {table.tableNumber} · {table.zone ?? "Khu chính"}
|
||||
|
||||
Parsing ecmascript source code failed
|
||||
|
||||
Import trace:
|
||||
Server Component:
|
||||
./apps/tpos-mvp-next/src/components/TposPosExperience.tsx
|
||||
./apps/tpos-mvp-next/src/app/pos/pos-experience.tsx
|
||||
./apps/tpos-mvp-next/src/app/pos/[shopId]/[vertical]/[[...workflow]]/page.tsx @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:3318
|
||||
[12437780ms] [ERROR] Failed to load resource: the server responded with a status of 500 (Internal Server Error) @ http://localhost:3010/admin/shop/8d99d966-883e-4806-b247-ee940e6a779c/settings?_rsc=nqTHkVgGK7Id-G4f:0
|
||||
[12437798ms] [ERROR] Failed to load resource: the server responded with a status of 500 (Internal Server Error) @ http://localhost:3010/admin/shop/8d99d966-883e-4806-b247-ee940e6a779c/settings?_rsc=nqTHkVgGK7Id-G4f:0
|
||||
[12437825ms] [ERROR] Failed to load resource: the server responded with a status of 500 (Internal Server Error) @ http://localhost:3010/admin/shop/8d99d966-883e-4806-b247-ee940e6a779c/settings?_rsc=nqTHkVgGK7Id-G4f:0
|
||||
[12437844ms] [ERROR] Failed to load resource: the server responded with a status of 500 (Internal Server Error) @ http://localhost:3010/admin/shop/8d99d966-883e-4806-b247-ee940e6a779c/settings:0
|
||||
[12437942ms] [INFO] %cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools font-weight:bold @ http://localhost:3010/_next/static/chunks/0a8t_react-dom_07.400g._.js:15305
|
||||
[12437977ms] Error: ./apps/tpos-mvp-next/src/components/TposPosExperience.tsx:1577:36
|
||||
Nullish coalescing operator(??) requires parens when mixing with logical operators
|
||||
1575 | ...label>
|
||||
1576 | ... <span>{vertical === "karaoke" ? "Phòng đích" : "Bàn đích"}</span>
|
||||
> 1577 | ... <select value={targetTransferTableId || transferTargetTables[0]?.id ?? ""} onChange=...
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
1578 | ... {transferTargetTables.length ? transferTargetTables.map((table) => (
|
||||
1579 | ... <option key={table.id} value={table.id}>
|
||||
1580 | ... {table.tableNumber} · {table.zone ?? "Khu chính"}
|
||||
|
||||
Parsing ecmascript source code failed
|
||||
|
||||
Import trace:
|
||||
Server Component:
|
||||
./apps/tpos-mvp-next/src/components/TposPosExperience.tsx
|
||||
./apps/tpos-mvp-next/src/app/pos/pos-experience.tsx
|
||||
./apps/tpos-mvp-next/src/app/pos/[shopId]/[vertical]/[[...workflow]]/page.tsx
|
||||
|
||||
|
||||
at <unknown> (Error: ./apps/tpos-mvp-next/src/components/TposPosExperience.tsx:1577:36)
|
||||
at Object.getCompilationErrors (file:///Users/velikho/Desktop/WORKING/pos-system/microservices/node_modules/.pnpm/next@16.2.6_react-dom@19.2.6_react@19.2.6/node_modules/next/dist/server/dev/hot-reloader-turbopack.js:1186:59)
|
||||
at DevBundlerService.getCompilationError (file:///Users/velikho/Desktop/WORKING/pos-system/microservices/node_modules/.pnpm/next@16.2.6_react-dom@19.2.6_react@19.2.6/node_modules/next/dist/server/lib/dev-bundler-service.js:44:55)
|
||||
at DevServer.getCompilationError (file:///Users/velikho/Desktop/WORKING/pos-system/microservices/node_modules/.pnpm/next@16.2.6_react-dom@19.2.6_react@19.2.6/node_modules/next/dist/server/dev/next-dev-server.js:720:42)
|
||||
at DevServer.findPageComponents (file:///Users/velikho/Desktop/WORKING/pos-system/microservices/node_modules/.pnpm/next@16.2.6_react-dom@19.2.6_react@19.2.6/node_modules/next/dist/server/dev/next-dev-server.js:690:43)
|
||||
at async DevServer.renderErrorToResponseImpl (file:///Users/velikho/Desktop/WORKING/pos-system/microservices/node_modules/.pnpm/next@16.2.6_react-dom@19.2.6_react@19.2.6/node_modules/next/dist/server/base-server.js:1753:26)
|
||||
[12437977ms] [LOG] [HMR] connected @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_12y_-1y._.js:1226
|
||||
[12437979ms] [ERROR] ./apps/tpos-mvp-next/src/components/TposPosExperience.tsx:1577:36
|
||||
Nullish coalescing operator(??) requires parens when mixing with logical operators
|
||||
1575 | ...label>
|
||||
1576 | ... <span>{vertical === "karaoke" ? "Phòng đích" : "Bàn đích"}</span>
|
||||
> 1577 | ... <select value={targetTransferTableId || transferTargetTables[0]?.id ?? ""} onChange=...
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
1578 | ... {transferTargetTables.length ? transferTargetTables.map((table) => (
|
||||
1579 | ... <option key={table.id} value={table.id}>
|
||||
1580 | ... {table.tableNumber} · {table.zone ?? "Khu chính"}
|
||||
|
||||
Parsing ecmascript source code failed
|
||||
|
||||
Import trace:
|
||||
Server Component:
|
||||
./apps/tpos-mvp-next/src/components/TposPosExperience.tsx
|
||||
./apps/tpos-mvp-next/src/app/pos/pos-experience.tsx
|
||||
./apps/tpos-mvp-next/src/app/pos/[shopId]/[vertical]/[[...workflow]]/page.tsx @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_12y_-1y._.js:1945
|
||||
[12437979ms] [ERROR] ./apps/tpos-mvp-next/src/components/TposPosExperience.tsx:1577:36
|
||||
Nullish coalescing operator(??) requires parens when mixing with logical operators
|
||||
1575 | ...label>
|
||||
1576 | ... <span>{vertical === "karaoke" ? "Phòng đích" : "Bàn đích"}</span>
|
||||
> 1577 | ... <select value={targetTransferTableId || transferTargetTables[0]?.id ?? ""} onChange=...
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
1578 | ... {transferTargetTables.length ? transferTargetTables.map((table) => (
|
||||
1579 | ... <option key={table.id} value={table.id}>
|
||||
1580 | ... {table.tableNumber} · {table.zone ?? "Khu chính"}
|
||||
|
||||
Parsing ecmascript source code failed
|
||||
|
||||
Import trace:
|
||||
Server Component:
|
||||
./apps/tpos-mvp-next/src/components/TposPosExperience.tsx
|
||||
./apps/tpos-mvp-next/src/app/pos/pos-experience.tsx
|
||||
./apps/tpos-mvp-next/src/app/pos/[shopId]/dialog/[...path]/page.tsx @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_12y_-1y._.js:1945
|
||||
[12437979ms] [ERROR] ./apps/tpos-mvp-next/src/components/TposPosExperience.tsx:1577:36
|
||||
Nullish coalescing operator(??) requires parens when mixing with logical operators
|
||||
1575 | ...label>
|
||||
1576 | ... <span>{vertical === "karaoke" ? "Phòng đích" : "Bàn đích"}</span>
|
||||
> 1577 | ... <select value={targetTransferTableId || transferTargetTables[0]?.id ?? ""} onChange=...
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
1578 | ... {transferTargetTables.length ? transferTargetTables.map((table) => (
|
||||
1579 | ... <option key={table.id} value={table.id}>
|
||||
1580 | ... {table.tableNumber} · {table.zone ?? "Khu chính"}
|
||||
|
||||
Parsing ecmascript source code failed
|
||||
|
||||
Import trace:
|
||||
Server Component:
|
||||
./apps/tpos-mvp-next/src/components/TposPosExperience.tsx
|
||||
./apps/tpos-mvp-next/src/app/pos/pos-experience.tsx
|
||||
./apps/tpos-mvp-next/src/app/pos/[shopId]/operations/[...path]/page.tsx @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_12y_-1y._.js:1945
|
||||
[12437996ms] [ERROR] ./apps/tpos-mvp-next/src/components/TposPosExperience.tsx:1577:36
|
||||
Nullish coalescing operator(??) requires parens when mixing with logical operators
|
||||
1575 | ...label>
|
||||
1576 | ... <span>{vertical === "karaoke" ? "Phòng đích" : "Bàn đích"}</span>
|
||||
> 1577 | ... <select value={targetTransferTableId || transferTargetTables[0]?.id ?? ""} onChange=...
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
1578 | ... {transferTargetTables.length ? transferTargetTables.map((table) => (
|
||||
1579 | ... <option key={table.id} value={table.id}>
|
||||
1580 | ... {table.tableNumber} · {table.zone ?? "Khu chính"}
|
||||
|
||||
Parsing ecmascript source code failed
|
||||
|
||||
Import trace:
|
||||
Server Component:
|
||||
./apps/tpos-mvp-next/src/components/TposPosExperience.tsx
|
||||
./apps/tpos-mvp-next/src/app/pos/pos-experience.tsx
|
||||
./apps/tpos-mvp-next/src/app/pos/[shopId]/[vertical]/[[...workflow]]/page.tsx @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_12y_-1y._.js:1945
|
||||
[12438063ms] [ERROR] ./apps/tpos-mvp-next/src/components/TposPosExperience.tsx:1577:36
|
||||
Nullish coalescing operator(??) requires parens when mixing with logical operators
|
||||
1575 | ...label>
|
||||
1576 | ... <span>{vertical === "karaoke" ? "Phòng đích" : "Bàn đích"}</span>
|
||||
> 1577 | ... <select value={targetTransferTableId || transferTargetTables[0]?.id ?? ""} onChange=...
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
1578 | ... {transferTargetTables.length ? transferTargetTables.map((table) => (
|
||||
1579 | ... <option key={table.id} value={table.id}>
|
||||
1580 | ... {table.tableNumber} · {table.zone ?? "Khu chính"}
|
||||
|
||||
Parsing ecmascript source code failed
|
||||
|
||||
Import trace:
|
||||
Server Component:
|
||||
./apps/tpos-mvp-next/src/components/TposPosExperience.tsx
|
||||
./apps/tpos-mvp-next/src/app/pos/pos-experience.tsx
|
||||
./apps/tpos-mvp-next/src/app/pos/[shopId]/[vertical]/[[...workflow]]/page.tsx @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_12y_-1y._.js:1945
|
||||
[12438098ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_12y_-1y._.js:1226
|
||||
[12445787ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_12y_-1y._.js:1226
|
||||
[12445875ms] [LOG] [Fast Refresh] done in 148ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_12y_-1y._.js:1226
|
||||
[12446003ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_12y_-1y._.js:1226
|
||||
[12446004ms] [LOG] [Fast Refresh] done in 101ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_12y_-1y._.js:1226
|
||||
[12446451ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_12y_-1y._.js:1226
|
||||
[12446463ms] [LOG] [Fast Refresh] done in 113ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_12y_-1y._.js:1226
|
||||
[12457245ms] [INFO] %cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools font-weight:bold @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[12457256ms] [LOG] [HMR] connected @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[12763010ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[12763017ms] [LOG] [Fast Refresh] done in 109ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[12898574ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[12898639ms] [LOG] [Fast Refresh] done in 13ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[13125295ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[13125356ms] [LOG] [Fast Refresh] done in 138ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[13132269ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[13132333ms] [LOG] [Fast Refresh] done in 14ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[13243290ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[13243390ms] [LOG] [Fast Refresh] done in 151ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[13243495ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[13243631ms] [LOG] [Fast Refresh] done in 239ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[13243752ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[13243822ms] [LOG] [Fast Refresh] done in 170ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[13249734ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[13249770ms] [LOG] [Fast Refresh] done in 55ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[13249874ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[13249931ms] [LOG] [Fast Refresh] done in 159ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[13271894ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[13271957ms] [LOG] [Fast Refresh] done in 29ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[13272059ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[13272179ms] [LOG] [Fast Refresh] done in 221ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[13287574ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[13287625ms] [LOG] [Fast Refresh] done in 12ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[13309718ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[13309873ms] [LOG] [Fast Refresh] done in 184ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[13321621ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[13321692ms] [LOG] [Fast Refresh] done in 171ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[13321933ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[13322068ms] [LOG] [Fast Refresh] done in 235ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[13331636ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[13331727ms] [LOG] [Fast Refresh] done in 112ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[13331963ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[13332043ms] [LOG] [Fast Refresh] done in 181ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[13379990ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[13380060ms] [LOG] [Fast Refresh] done in 163ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[13394526ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[13394583ms] [LOG] [Fast Refresh] done in 55ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[13511133ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[13511169ms] [LOG] [Fast Refresh] done in 5ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[13587385ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[13587850ms] [LOG] [Fast Refresh] done in 566ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[13588194ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[13588273ms] [LOG] [Fast Refresh] done in 181ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[13588532ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[13588563ms] [LOG] [Fast Refresh] done in 131ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[13588751ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[13589658ms] [LOG] [Fast Refresh] done in 1007ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[13589832ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[13589881ms] [LOG] [Fast Refresh] done in 149ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[13590031ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[13590042ms] [LOG] [Fast Refresh] done in 112ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[13619012ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[13619446ms] [LOG] [Fast Refresh] done in 535ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[13619956ms] [LOG] [Fast Refresh] rebuilding @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
[13620950ms] [LOG] [Fast Refresh] done in 1094ms @ http://localhost:3010/_next/static/chunks/0x~w_next_dist_0c-ghxa._.js:2477
|
||||
|
||||
Reference in New Issue
Block a user