-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
kind: bugSomething isn't workingSomething isn't workingneeds: investigationThe bug / idea needs more investigationThe bug / idea needs more investigation
Description
What version of Turborepo are you using?
1.0.7
Describe the Bug
context: this repo
On my (windows) pc, all turbo commands work fine, but when i deploy it to vercel, i get the following error:
Running "turbo run build test lint deploy database"
20:15:34.159 | unmarshal
20:15:34.160 | ERROR yarn.lock: yaml: line 6: mapping values are not allowed in this context
20:15:34.165 | Error: Command "turbo run build test lint deploy database" exited with 1
i assumed this isnt a problem with vercel and something weird going on with the windows to linux differences in yarns lockfile not being reflected in turborepos unmarshalling process
this happens with both v1 and berry lockfiles (slight difference in line number, v2 will fail on the version line under _metadata but follows a similar format to v1, i use v1 here because the docs say v1 is the only supported version and the error is also present there)
Expected Behavior
Turborepo should unmarshall the yarn lock fine and start building
To Reproduce
- create a repo that has the scripts database, build, test, lint, deploy, dev (not sure if all of these are necessary)
- deploy in production to vercel running all of these (obviously minus dev)
- wait for yarn to install
- see the error above
Metadata
Metadata
Assignees
Labels
kind: bugSomething isn't workingSomething isn't workingneeds: investigationThe bug / idea needs more investigationThe bug / idea needs more investigation