Skip to content

Instantly share code, notes, and snippets.

@Violet-Bora-Lee
Last active September 29, 2025 07:38
Show Gist options
  • Select an option

  • Save Violet-Bora-Lee/04eadfbf6d2603d845fb60c07452d6fe to your computer and use it in GitHub Desktop.

Select an option

Save Violet-Bora-Lee/04eadfbf6d2603d845fb60c07452d6fe to your computer and use it in GitHub Desktop.
LG CNS Next.js 특강
@Violet-Bora-Lee
Copy link
Author

@elephantoph
Copy link

node:events:497
throw er; // Unhandled 'error' event
^

Error: spawn pnpm ENOENT
at ChildProcess._handle.onexit (node:internal/child_process:285:19)
at onErrorNT (node:internal/child_process:483:16)
at process.processTicksAndRejections (node:internal/process/task_queues:90:21)
Emitted 'error' event on ChildProcess instance at:
at ChildProcess._handle.onexit (node:internal/child_process:291:12)
at onErrorNT (node:internal/child_process:483:16)
at process.processTicksAndRejections (node:internal/process/task_queues:90:21) {
errno: -2,
code: 'ENOENT',
syscall: 'spawn pnpm',
path: 'pnpm',
spawnargs: [ 'install' ]
}

Node.js v22.20.0
leesujin@isujin-ui-MacBookAir react-교육 % node -v
v22.20.0
leesujin@isujin-ui-MacBookAir react-교육 % npx create-next-app@v13 --use-pnpm

@bleykuri-stack
Copy link

Require stack:

  • C:\lgcns-20250929\next-app-router-playground\node_modules.pnpm\lightningcss@1.29.2\node_modules\lightningcss\node\index.js
  • C:\lgcns-20250929\next-app-router-playground\node_modules.pnpm@tailwindcss+node@4.1.4\node_modules@tailwindcss\node\dist\index.js
  • C:\lgcns-20250929\next-app-router-playground\node_modules.pnpm@tailwindcss+postcss@4.1.4\node_modules@tailwindcss\postcss\dist\index.js
  • C:\lgcns-20250929\next-app-router-playground.next\build\chunks[turbopack]_runtime.js
  • C:\lgcns-20250929\next-app-router-playground.next\postcss.js
    [at Function._resolveFilename (node:internal/modules/cjs/loader:1383:15)]
    [at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19)]
    [at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22)]
    [at Function._load (node:internal/modules/cjs/loader:1192:37)]
    [at TracingChannel.traceSync (node:diagnostics_channel:322:14)]
    [at wrapModuleLoad (node:internal/modules/cjs/loader:237:24)]
    [at Module.require (node:internal/modules/cjs/loader:1463:12)]
    [at require (node:internal/modules/helpers:147:16)]
    [at Object. (C:\lgcns-20250929\next-app-router-playground\node_modules.pnpm\lightningcss@1.29.2\node_modules\lightningcss\node\index.js:22:22)]
    [at Module._compile (node:internal/modules/cjs/loader:1706:14)]

○ Compiling /_error ...
✓ Compiled /_error in 838ms
GET / 500 in 3252ms
✓ Compiled /favicon.ico in 435ms
GET /favicon.ico 500 in 471ms

@Violet-Bora-Lee
Copy link
Author

Require stack:

  • C:\lgcns-20250929\next-app-router-playground\node_modules.pnpm\lightningcss@1.29.2\node_modules\lightningcss\node\index.js
  • C:\lgcns-20250929\next-app-router-playground\node_modules.pnpm@tailwindcss+node@4.1.4\node_modules@tailwindcss\node\dist\index.js
  • C:\lgcns-20250929\next-app-router-playground\node_modules.pnpm@tailwindcss+postcss@4.1.4\node_modules@tailwindcss\postcss\dist\index.js
  • C:\lgcns-20250929\next-app-router-playground.next\build\chunks[turbopack]_runtime.js
  • C:\lgcns-20250929\next-app-router-playground.next\postcss.js
    [at Function._resolveFilename (node:internal/modules/cjs/loader:1383:15)]
    [at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19)]
    [at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22)]
    [at Function._load (node:internal/modules/cjs/loader:1192:37)]
    [at TracingChannel.traceSync (node:diagnostics_channel:322:14)]
    [at wrapModuleLoad (node:internal/modules/cjs/loader:237:24)]
    [at Module.require (node:internal/modules/cjs/loader:1463:12)]
    [at require (node:internal/modules/helpers:147:16)]
    [at Object. (C:\lgcns-20250929\next-app-router-playground\node_modules.pnpm\lightningcss@1.29.2\node_modules\lightningcss\node\index.js:22:22)]
    [at Module._compile (node:internal/modules/cjs/loader:1706:14)]

○ Compiling /_error ... ✓ Compiled /_error in 838ms GET / 500 in 3252ms ✓ Compiled /favicon.ico in 435ms GET /favicon.ico 500 in 471ms

https://chatgpt.com/share/68d9f774-c6a8-8003-ba06-da6cf31920bb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment