chore(node): proje Node 22'ye sabit — .npmrc use-node-version, engines, Dockerfile node:22-alpine
Some checks failed
Deploy / deploy (push) Has been cancelled
Some checks failed
Deploy / deploy (push) Has been cancelled
better-sqlite3 Node 22 (ABI 127) için derli; kabuktaki Node 20 ile npm run dev tüm sayfaları ERR_DLOPEN_FAILED'a düşürüyordu. pnpm artık her komutu 22.21.1 ile koşar; .npmrc Docker'a girmez (Alpine'de glibc Node indirtir), imaj kendi node:22'sini kullanır. launch.json dev yapılandırmaları npm yerine pnpm. Lokal docker build + run doğrulandı. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
@@ -3,20 +3,17 @@
|
||||
"configurations": [
|
||||
{
|
||||
"name": "dev",
|
||||
"runtimeExecutable": "npm",
|
||||
"runtimeExecutable": "pnpm",
|
||||
"runtimeArgs": [
|
||||
"run",
|
||||
"dev"
|
||||
],
|
||||
"port": 3000
|
||||
},
|
||||
{
|
||||
"name": "dev-3100",
|
||||
"runtimeExecutable": "npm",
|
||||
"runtimeExecutable": "pnpm",
|
||||
"runtimeArgs": [
|
||||
"run",
|
||||
"dev",
|
||||
"--",
|
||||
"-p",
|
||||
"3100"
|
||||
],
|
||||
@@ -57,4 +54,4 @@
|
||||
"port": 3110
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user