2 글 보임 - 1 에서 2 까지 (총 2 중에서)
-
글쓴이글
-
2023년 6월 15일 14:05 #87076
김태현참가자> forum@0.1.0 build > next build
- info Loaded env from /Users/mac/Desktop/62savage/nextJS/forum/.env - info Creating an optimized production build - info Compiled successfully - info Linting and checking validity of types - info Collecting page data ../Users/mac/Desktop/62savage/nextJS/forum/.next/server/chunks/718.js:6521 const _db = (await client).db(options.databaseName); ^
TypeError: Cannot read properties of undefined (reading 'db') at /Users/mac/Desktop/62savage/nextJS/forum/.next/server/chunks/718.js:6521:36 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Node.js v19.2.0 /Users/mac/Desktop/62savage/nextJS/forum/.next/server/chunks/718.js:6521 const _db = (await client).db(options.databaseName); ^
TypeError: Cannot read properties of undefined (reading 'db') at /Users/mac/Desktop/62savage/nextJS/forum/.next/server/chunks/718.js:6521:36 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Node.js v19.2.0 /Users/mac/Desktop/62savage/nextJS/forum/.next/server/chunks/718.js:6521 const _db = (await client).db(options.databaseName); ^
TypeError: Cannot read properties of undefined (reading 'db') at /Users/mac/Desktop/62savage/nextJS/forum/.next/server/chunks/718.js:6521:36 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Node.js v19.2.0 Static worker unexpectedly exited with code: 1 and signal: null Static worker unexpectedly exited with code: 1 and signal: null Static worker unexpectedly exited with code: 1 and signal: null - info Collecting page data ./Users/mac/Desktop/62savage/nextJS/forum/.next/server/chunks/718.js:6521 const _db = (await client).db(options.databaseName); ^
TypeError: Cannot read properties of undefined (reading 'db') at /Users/mac/Desktop/62savage/nextJS/forum/.next/server/chunks/718.js:6521:36 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Node.js v19.2.0 Static worker unexpectedly exited with code: 1 and signal: null - info Collecting page data ./Users/mac/Desktop/62savage/nextJS/forum/.next/server/chunks/718.js:6521 const _db = (await client).db(options.databaseName); ^
TypeError: Cannot read properties of undefined (reading 'db') at /Users/mac/Desktop/62savage/nextJS/forum/.next/server/chunks/718.js:6521:36 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Node.js v19.2.0 /Users/mac/Desktop/62savage/nextJS/forum/.next/server/chunks/718.js:6521 const _db = (await client).db(options.databaseName); ^
TypeError: Cannot read properties of undefined (reading 'db') at /Users/mac/Desktop/62savage/nextJS/forum/.next/server/chunks/718.js:6521:36 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Node.js v19.2.0 - info Collecting page data [ ] - info Generating static pages (0/7)/Users/mac/Desktop/62savage/nextJS/forum/.next/server/chunks/718.js:6521 const _db = (await client).db(options.databaseName); ^
TypeError: Cannot read properties of undefined (reading 'db') at /Users/mac/Desktop/62savage/nextJS/forum/.next/server/chunks/718.js:6521:36
Node.js v19.2.0 /Users/mac/Desktop/62savage/nextJS/forum/.next/server/chunks/718.js:6521 const _db = (await client).db(options.databaseName); ^
TypeError: Cannot read properties of undefined (reading 'db') at /Users/mac/Desktop/62savage/nextJS/forum/.next/server/chunks/718.js:6521:36
Node.js v19.2.0 /Users/mac/Desktop/62savage/nextJS/forum/.next/server/chunks/718.js:6521 const _db = (await client).db(options.databaseName); ^
TypeError: Cannot read properties of undefined (reading 'db') at /Users/mac/Desktop/62savage/nextJS/forum/.next/server/chunks/718.js:6521:36
Node.js v19.2.0 /Users/mac/Desktop/62savage/nextJS/forum/.next/server/chunks/718.js:6521 const _db = (await client).db(options.databaseName); ^
TypeError: Cannot read properties of undefined (reading 'db') at /Users/mac/Desktop/62savage/nextJS/forum/.next/server/chunks/718.js:6521:36
Node.js v19.2.0 /Users/mac/Desktop/62savage/nextJS/forum/.next/server/chunks/718.js:6521 const _db = (await client).db(options.databaseName); ^
TypeError: Cannot read properties of undefined (reading 'db') at /Users/mac/Desktop/62savage/nextJS/forum/.next/server/chunks/718.js:6521:36
Node.js v19.2.0 /Users/mac/Desktop/62savage/nextJS/forum/.next/server/chunks/718.js:6521 const _db = (await client).db(options.databaseName); ^
TypeError: Cannot read properties of undefined (reading 'db') at /Users/mac/Desktop/62savage/nextJS/forum/.next/server/chunks/718.js:6521:36
Node.js v19.2.0 /Users/mac/Desktop/62savage/nextJS/forum/.next/server/chunks/718.js:6521 const _db = (await client).db(options.databaseName); ^
TypeError: Cannot read properties of undefined (reading 'db') at /Users/mac/Desktop/62savage/nextJS/forum/.next/server/chunks/718.js:6521:36
Node.js v19.2.0 /Users/mac/Desktop/62savage/nextJS/forum/.next/server/chunks/718.js:6521 const _db = (await client).db(options.databaseName); ^
TypeError: Cannot read properties of undefined (reading 'db') at /Users/mac/Desktop/62savage/nextJS/forum/.next/server/chunks/718.js:6521:36
Node.js v19.2.0 [= ] - info Generating static pages (3/7)/Users/mac/Desktop/62savage/nextJS/forum/.next/server/chunks/718.js:6521 const _db = (await client).db(options.databaseName); ^
TypeError: Cannot read properties of undefined (reading 'db') at /Users/mac/Desktop/62savage/nextJS/forum/.next/server/chunks/718.js:6521:36
Node.js v19.2.0 /Users/mac/Desktop/62savage/nextJS/forum/.next/server/chunks/718.js:6521 const _db = (await client).db(options.databaseName); ^
TypeError: Cannot read properties of undefined (reading 'db') at /Users/mac/Desktop/62savage/nextJS/forum/.next/server/chunks/718.js:6521:36
Node.js v19.2.0 /Users/mac/Desktop/62savage/nextJS/forum/.next/server/chunks/718.js:6521 const _db = (await client).db(options.databaseName); ^
TypeError: Cannot read properties of undefined (reading 'db') at /Users/mac/Desktop/62savage/nextJS/forum/.next/server/chunks/718.js:6521:36
Node.js v19.2.0 /Users/mac/Desktop/62savage/nextJS/forum/.next/server/chunks/718.js:6521 const _db = (await client).db(options.databaseName); ^
TypeError: Cannot read properties of undefined (reading 'db') at /Users/mac/Desktop/62savage/nextJS/forum/.next/server/chunks/718.js:6521:36
Node.js v19.2.0 /Users/mac/Desktop/62savage/nextJS/forum/.next/server/chunks/718.js:6521 const _db = (await client).db(options.databaseName); ^
TypeError: Cannot read properties of undefined (reading 'db') at /Users/mac/Desktop/62savage/nextJS/forum/.next/server/chunks/718.js:6521:36
Node.js v19.2.0 /Users/mac/Desktop/62savage/nextJS/forum/.next/server/chunks/718.js:6521 const _db = (await client).db(options.databaseName); ^
TypeError: Cannot read properties of undefined (reading 'db') at /Users/mac/Desktop/62savage/nextJS/forum/.next/server/chunks/718.js:6521:36
Node.js v19.2.0
> Build error occurred Error: Call retries were exceeded at ChildProcessWorker.initialize (/Users/mac/Desktop/62savage/nextJS/forum/node_modules/next/dist/compiled/jest-worker/index.js:1:11661) at ChildProcessWorker._onExit (/Users/mac/Desktop/62savage/nextJS/forum/node_modules/next/dist/compiled/jest-worker/index.js:1:12599) at ChildProcess.emit (node:events:513:28) at ChildProcess.emit (node:domain:489:12) at ChildProcess._handle.onexit (node:internal/child_process:293:12) { type: 'WorkerError' } [ ] - info Generating static pages (3/7)%
npm run dev 하면 해당 오류가 뜹니다.. 강의 위주로 따라갔던 것 같은데 혹시 왜 그런지 아실까요?
-
글쓴이글
2 글 보임 - 1 에서 2 까지 (총 2 중에서)
- 답변은 로그인 후 가능합니다.