``` Run cd .next && yarn export && cd .. yarn run ...
# questions
g
Copy code
Run cd .next && yarn export && cd ..
yarn run v1.22.17
$ next build && next export
info  - Checking validity of types...
warn  - No ESLint configuration detected. Run next lint to begin setup
info  - Creating an optimized production build...
info  - Compiled successfully
info  - Collecting page data...

> Build error occurred
TypeError: Cannot read properties of undefined (reading 'id')
    at /home/runner/work/dendron-global/dendron-global/.next/.next/server/chunks/884.js:457:152
    at /home/runner/work/dendron-global/dendron-global/.next/node_modules/lodash/lodash.js:10661:37
    at arrayFilter (/home/runner/work/dendron-global/dendron-global/.next/node_modules/lodash/lodash.js:596:11)
    at Function.reject (/home/runner/work/dendron-global/dendron-global/.next/node_modules/lodash/lodash.js:9817:14)
    at getNotePaths (/home/runner/work/dendron-global/dendron-global/.next/.next/server/chunks/884.js:457:63)
    at buildStaticPaths (/home/runner/work/dendron-global/dendron-global/.next/node_modules/next/dist/build/utils.js:498:37)
    at /home/runner/work/dendron-global/dendron-global/.next/node_modules/next/dist/build/utils.js:641:125
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Span.traceAsyncFn (/home/runner/work/dendron-global/dendron-global/.next/node_modules/next/dist/trace/trace.js:75:20) {
  type: 'TypeError'
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Error: Process completed with exit code 1.