Severity
Low
Impact
next dev, next build, and next start all fail to load the Next.js configuration with a SyntaxError, blocking every UI command. This is currently masked because the UI has no pages to serve anyway, but it must be fixed before any UI work resumes, and CI's || true (ci.yml line 98) silently swallows the failure.
Description
packages/ui/next.config.js is not valid JavaScript. A stray Markdown code-fence character (``` ```) appears on the final line, pasted into the file alongside the actual module contents:
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
}
module.exports = nextConfig
` ` ` // <-- stray code fence, invalid JS
Node.js throws when Next.js requires this file, so all Next.js CLI commands abort before the app even starts.
Sub-Issues
Severity
Low
Impact
next dev,next build, andnext startall fail to load the Next.js configuration with aSyntaxError, blocking every UI command. This is currently masked because the UI has no pages to serve anyway, but it must be fixed before any UI work resumes, and CI's|| true(ci.ymlline 98) silently swallows the failure.Description
packages/ui/next.config.jsis not valid JavaScript. A stray Markdown code-fence character (``` ```) appears on the final line, pasted into the file alongside the actual module contents:Node.js throws when Next.js
requires this file, so all Next.js CLI commands abort before the app even starts.Sub-Issues
Delete the trailing
``` line so the file is a plain, valid CommonJS module.Remove the
|| truein the UI build step (ci.ymlline 98) and/or add a config-smoke step (node -e "require('./next.config.js')"), so syntax and build regressions in the UI are caught.