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

Error while reading user config file #1270

@ooflorent

Description

@ooflorent

What version of Turborepo are you using?

1.2.7

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

Yarn v1

What operating system are you using?

Linux

Describe the Bug

After updating turbo from 1.2.6 to 1.2.7, turbo crashes when it is launched. I run it in a node v16 container on self hosted GitHub Actions runner. When ran locally (on my MBP), it runs as expected.

$ turbo run test
 ERROR  reading user config file: could not create any of the following paths: /.config/turborepo, /etc/xdg/turborepo
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

It seems that #1156 introduces the issue.

Expected Behavior

turbo should not crash on startup if it is unable to read the user config file.

To Reproduce

I'm not sure what to provide here…

Metadata

Metadata

Assignees

Labels

kind: bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions