Skip to content

Instantly share code, notes, and snippets.

@jhannah
Created August 23, 2023 02:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jhannah/46f621c4faa040a4bb20b64f7bfa3d13 to your computer and use it in GitHub Desktop.
Save jhannah/46f621c4faa040a4bb20b64f7bfa3d13 to your computer and use it in GitHub Desktop.
Trying to build Norse...
Using my Docker branch from my updated Fork:
https://github.com/jhannah/Norse/pull/1
$ docker exec -it norse sh
/app # nx run client:build
> nx run client:pre-build
> nx run client:build:production
Attention: Next.js now collects completely anonymous telemetry regarding usage.
This information is used to shape Next.js' roadmap and prioritize features.
You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
https://nextjs.org/telemetry
- info Skipping linting
- info Checking validity of types...
Failed to compile.
./components/layouts/FavoritesPage.tsx:38:60
Type error: Property 'openGraphUrl' does not exist on type '{ name: string; logoUrl: string; favicon: string; }'.
36 |
37 | <meta property="og:title" content={props.metaTitle} />
> 38 | <meta property="og:image" content={appConfig.brand.openGraphUrl} />
| ^
39 | <meta property="og:type" content="website" />
40 | <meta property="og:description" content={props.metaDescription} />
41 | </Head>
Error occurred while trying to run the npx next build
Error: Command failed: npx next build
at checkExecSyncError (node:child_process:885:11)
at execSync (node:child_process:957:15)
at /app/node_modules/@nx/next/src/executors/build/build.impl.js:49:42
at Generator.next (<anonymous>)
at /app/node_modules/tslib/tslib.js:169:75
at new Promise (<anonymous>)
at Object.__awaiter (/app/node_modules/tslib/tslib.js:165:16)
at buildExecutor (/app/node_modules/@nx/next/src/executors/build/build.impl.js:20:20)
at /app/node_modules/nx/src/command-line/run/run.js:102:23
———————————————————————————————————————————————————————————————————————————————————————————————————————
> NX Ran target build for project client and 1 task(s) they depend on (30s)
✖ 1/2 failed
✔ 1/2 succeeded [0 read from cache]
View structured, searchable error logs at https://cloud.nx.app/runs/a9HXF6KD6a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment