Files
flux-srl/package.json
T
davidherran 89505c73cc
Deploy to VPS / deploy (push) Has been cancelled
fix: pin @swc/helpers explicitly so npm ci works on npm 10 (Alpine)
The Docker build on the VPS failed because:
  npm error Missing: @swc/helpers@0.5.21 from lock file

Cause: Next.js 16.1.6 declares @swc/helpers both as a direct dep at
0.5.15 AND as a peer dep ">=0.5.17". npm 11 (my local) accepts the
0.5.15 install and considers the peer satisfied. npm 10.9.7 (the
Alpine container in the VPS) is stricter — it tries to resolve the
peer to its own version and demands 0.5.21, which our lock file
didn't have.

Fix:
- Add @swc/helpers ^0.5.17 as a direct dependency so both npm 10 and
  npm 11 pick the same up-to-date version (resolved to 0.5.21).
- Regenerate package-lock.json from a clean install so it matches.

`npm ci` now succeeds in the docker-compose build.
2026-05-04 15:35:20 -05:00

57 lines
1.4 KiB
JSON

{
"name": "flux-srl",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "eslint"
},
"dependencies": {
"@ai-sdk/openai": "^3.0.41",
"@ai-sdk/react": "^3.0.118",
"@prisma/adapter-pg": "^7.5.0",
"@prisma/client": "^7.5.0",
"@react-three/drei": "^10.7.7",
"@react-three/fiber": "^9.5.0",
"@swc/helpers": "^0.5.17",
"@types/nodemailer": "^7.0.11",
"ai": "^6.0.116",
"bcryptjs": "^3.0.3",
"clsx": "^2.1.1",
"framer-motion": "^12.35.2",
"jose": "^6.2.1",
"lucide-react": "^0.577.0",
"next": "16.1.6",
"next-intl": "^4.8.3",
"nodemailer": "^8.0.2",
"pg": "^8.20.0",
"qrcode": "^1.5.4",
"react": "19.2.4",
"react-dom": "19.2.4",
"resend": "^6.9.3",
"sharp": "^0.34.5",
"speakeasy": "^2.0.0",
"tailwind-merge": "^3.5.0",
"three": "^0.183.2",
"zod": "^4.3.6",
"zustand": "^5.0.11"
},
"devDependencies": {
"@tailwindcss/postcss": "^4",
"@types/bcryptjs": "^3.0.0",
"@types/node": "^25",
"@types/pg": "^8.18.0",
"@types/qrcode": "^1.5.6",
"@types/react": "^19",
"@types/react-dom": "^19",
"@types/speakeasy": "^2.0.10",
"eslint": "^10",
"eslint-config-next": "16.1.6",
"prisma": "^7.5.0",
"tailwindcss": "^4",
"typescript": "^5"
}
}