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

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:
bilalgursen
2026-10-27 00:11:08 +03:00
parent 830b21199f
commit 42f9e483a6
6 changed files with 16 additions and 8 deletions

View File

@@ -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
}
]
}
}