-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Labels
kind: bugSomething isn't workingSomething isn't working
Description
What version of Turborepo are you using?
1.0.19
Describe the Bug
I'm following this guide https://vercel.com/docs/concepts/git/monorepos#turborepo
Trying to deploy an app on vercel, the app is inside a monorepo that is generated with turbo cli.
I have changed the BUILD COMMAND to:
cd ../.. && npx turbo run build --scope=@scope/app --includeDependencies --no-deps
And I get the following output:
Expected Behavior
The expected behavior is of course that following this guide should simply work.
To Reproduce
-
Include source files outside of the Root Directory in the Build Step is checked:
-
packae.json in the root directory:
{
"version": "0.0.0",
"private": true,
"workspaces": [
"apps/*",
"packages/*"
],
"scripts": {
"build": "turbo run build",
"dev": "turbo run dev --parallel",
"lint": "turbo run lint",
"format": "prettier --write \"**/*.{ts,tsx,md}\""
},
"devDependencies": {
"prettier": "^2.5.1",
"turbo": "latest"
},
"turbo": {
"baseBranch": "origin/main",
"npmClient": "npm",
"pipeline": {
"build": {
"dependsOn": [
"^build"
],
"outputs": [
"dist/**",
".next/**"
]
},
"lint": {
"outputs": []
},
"dev": {
"cache": false
}
}
},
"engines": {
"npm": ">=7.0.0",
"node": ">=14.0.0"
}
}
goellner and joshsny
Metadata
Metadata
Assignees
Labels
kind: bugSomething isn't workingSomething isn't working