-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
Description
What version of Turborepo are you using?
1.2.4
What package manager are you using / does the bug impact?
npm
What operating system are you using?
Mac
Describe the Bug
I keep getting this error when trying to deploy turborepo on vercel
ERROR failed to calculate global hash: error hashing files. make sure that
git has been initialized failed to hash files/vercel/path0/package.json,
/vercel/path0/package-lock.json: git hash-object exited with status: exit status 128
Expected Behavior
Get a succesful deployment
To Reproduce
I have set up this command on Vercel
cd ../.. && npx turbo run build --filter=medusa-admin --include-dependencies --no-deps
And my turborepo is set uo like this
{
"pipeline": {
"build": {
"dependsOn": [
"^build",
"$GATSBY_MEDUSA_BACKEND_URL"
],
"outputs": ["public/**"]
},
"lint": {
"outputs": []
},
"dev": {
"cache": false
}
}
}
gabro, messenjer, kettanaito, nezz0746, drummerjolev and 2 more