deep-foundation / deep-memo-app

The Unlicense
11 stars 8 forks source link

Error: Cannot find module '/workspace/dev/packages/sdk/app/server/client-reference-manifest.json' #145

Open Konard opened 9 months ago

Konard commented 9 months ago

Screenshot_20240227_002938

1 of 1 unhandled error
Server Error
Error: Cannot find module '/workspace/dev/packages/sdk/app/server/client-reference-manifest.json'
Require stack:
- /workspace/dev/packages/sdk/node_modules/next/dist/server/next-server.js
- /workspace/dev/packages/sdk/node_modules/next/dist/server/dev/next-dev-server.js
- /workspace/dev/packages/sdk/node_modules/next/dist/server/next.js
- /workspace/dev/packages/sdk/node_modules/next/dist/server/lib/render-server.js
- /workspace/dev/packages/sdk/node_modules/next/dist/compiled/jest-worker/processChild.js

This error happened while generating the page. Any console logs will be displayed in the terminal window.
Call Stack
Module._resolveFilename
node:internal/modules/cjs/loader (1077:15)
<unknown>
file:///workspace/dev/packages/sdk/node_modules/next/dist/server/require-hook.js (189:36)
Module._load
node:internal/modules/cjs/loader (922:27)
Module.require
node:internal/modules/cjs/loader (1143:19)
require
node:internal/modules/cjs/helpers (121:18)
DevServer.getServerComponentManifest
file:///workspace/dev/packages/sdk/node_modules/next/dist/server/next-server.js (809:16)
DevServer.findPageComponents
file:///workspace/dev/packages/sdk/node_modules/next/dist/server/dev/next-dev-server.js (1258:54)
process.processTicksAndRejections
node:internal/process/task_queues (95:5)
async DevServer.renderErrorToResponseImpl
file:///workspace/dev/packages/sdk/node_modules/next/dist/server/base-server.js (1534:26)
async pipe.req.req
file:///workspace/dev/packages/sdk/node_modules/next/dist/server/base-server.js (1461:30)
async DevServer.pipeImpl
file:///workspace/dev/packages/sdk/node_modules/next/dist/server/base-server.js (641:25)
async DevServer.run
file:///workspace/dev/packages/sdk/node_modules/next/dist/server/dev/next-dev-server.js (905:28)
async DevServer.handleRequestImpl
file:///workspace/dev/packages/sdk/node_modules/next/dist/server/base-server.js (546:20)

Workround

Restart Deep.Links, Deep.Case App, and Deep.Memo App:

https://github.com/deep-foundation/deepcase-app?tab=readme-ov-file#gitpod