这是indexloc提供的服务,不要输入任何密码
Skip to content

"Vanilla" turborepo deployment on vercel fails #1019

@jonathanmv

Description

@jonathanmv

What version of Turborepo are you using?

1.2.0

What package manager are you using / does the bug impact?

npm

What operating system are you using?

Mac

Describe the Bug

Hi.
I'm trying to deploy a 'vanilla' repo created with npx create-turbo.

$ npx create-turbo --version
1.2.0

Here's the repo https://github.com/jonathanmv/turbo-test

The deployment fails with

Error: The file "/vercel/path0/apps/docs/.next/routes-manifest.json" couldn't be found. This is normally caused by a misconfiguration in your project.

I'm following these instructions to deploy monorepos
I set up the Root Directory to apps/docs
These are the relevant commands

npm build command

cd ../.. && npx turbo run build --scope=docs --include-dependencies --no-deps

output directory (default)
npm install command

npm install --prefix=../..

Maybe the documentation is wrong. I also found this GitHub issue
They had a wrong pipeline configuration. I didn't do any changes to the files created by turbo, so I'm not facing what's described in the issue.

Thank you for your help

Expected Behavior

after running npx create-turbo I can push that project to github, import it from vercel, and deploy it following the instructions and with the configuration above.

To Reproduce

Try deploying this repo on vercel by following the instructions here.

You can also run npx create-turbo, select npm as the package manager and push that to a github repo. Deploy it on vercel.

Make sure to include the same deployment configuration described above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions