#4431·blitz

没有为月台=linux arch=x64 运行时间=node abi=127 uv=1 libc=glibc 节点=22.12.0 webpack= true找到原始建筑

作者: nstelmach创建于 2025年3月3日更新于 2025年6月4日
标签kind/bugstatus/triage

render.yaml:

services:
  - type: web
    name: surfapp
    env: node
    plan: free
    buildCommand:
      yarn --frozen-lockfile --prod=false &&
      blitz Prisma generate &&
      blitz build &&
      blitz Prisma migrate deploy
    startCommand: blitz start -p ${PORT}
    envVars:
      - key: NODE_ENV
        value: production
      - key: DATABASE_URL
        fromDatabase:
          name: blitzapp-db
          property: connectionString
      - key: SESSION_SECRET_KEY
        generateValue: true
databases:
  - name: blitzapp-db
    plan: free

package.json:

{
  "name": "nextjs-surf-shop",
  "version": "0.1.0",
  "private": true,
  "scripts": {
    "dev": "blitz dev",
    "build": "blitz build",
    "start": "blitz start",
    "studio": "blitz Prisma studio",
    "lint": "eslint --ignore-path .gitignore --ext .js,.ts,.tsx .",
    "test": "vitest run --passWithNoTests",
    "test:watch": "vitest",
    "prepare": "husky install"
  },
  "Prisma": {
    "schema": "db/schema.Prisma"
  },
  "prettier": {
    "semi": false,
    "printWidth": 100
  },
  "lint-staged": {
    "*.{js,ts,tsx}": [
      "eslint --fix"
    ]
  },
  "dependencies": {
    "@blitzjs/auth": "2.2.2",
    "@blitzjs/next": "2.2.2",
    "@blitzjs/rpc": "2.2.2",
    "@eslint-types/prettier": "5.1.3",
    "@hookform/resolvers": "^3.9.0",
    "@Prisma/client": "5.4.2",
    "@radix-ui/react-alert-dialog": "^1.1.1",
    "@radix-ui/react-avatar": "^1.1.0",
    "@radix-ui/react-checkbox": "^1.1.1",
…