fix: dev:inspect가 네트워크 인스펙션 플래그를 NODE_OPTIONS 대신 node 인자로 넘긴다
Node가 이 플래그를 NODE_OPTIONS에서 거부한다. Next 16은 execArgv로 받은 플래그를 자식 서버 프로세스에 그대로 전달한다(EXEC_ARGV_ONLY_OPTIONS). Co-Authored-By: Claude Opus 5
@06b2c5f75a3358f15d22f505c49f2f6f378e220c
--- package.json
+++ package.json
... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 |
"private": true, |
| 5 | 5 |
"scripts": {
|
| 6 | 6 |
"dev": "next dev", |
| 7 |
- "dev:inspect": "NODE_OPTIONS=--experimental-network-inspection next dev --inspect", |
|
| 7 |
+ "dev:inspect": "node --experimental-network-inspection node_modules/next/dist/bin/next dev --inspect", |
|
| 8 | 8 |
"build": "next build", |
| 9 | 9 |
"start": "next start", |
| 10 | 10 |
"lint": "eslint" |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?