Skip to content

Builder version error when deploying #69

@adamduncan

Description

@adamduncan

Hi, I'm not sure if this project is still tenable/maintained, but have just come back to an old codebase that previously used now-sapper and trying to get it redeploying to Vercel.

When running vercel we're getting:

Error! Unsupported Builder version `undefined` from "vercel-sapper"
Error: Command "vercel build" exited with 1

Is this a known issue, or are there any potential workarounds? Thanks


For context:

Our package.json has a build command:

    "build": "sapper build --legacy",

vercel.json we've tried the legacy builds with and without config.build: false:

{
  "version": 2,
  "builds": [
    {
      "src": "package.json",
      "use": "vercel-sapper",
      "config": {
        "build": false
      }
    }
  ]
}

And .vercelignore includes __sapper__ directory:

/__sapper__
/cypress
!node_modules
/node_modules/*

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions