You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Lage refuses to run if it's not in a git repo:
...> pnpm build
> monorepo@ build /home/paulius/code/other/lage-starter
> lage build
lage - Version 2.7.5 - 23 Workers
[11:15:15] - error Error: Command failed with exit code 128: git ls-files -z
fatal: not a git repository (or any of the parent directories): .git
ELIFECYCLE Command failed with exit code 1.
Most users probably use lage in a git repo, but I wanted to try it out before creating one. Even when I initialized a git repo, it still wasn't satisfied as it couldn't find HEAD, so I also had to create a commit. I think that's a bit excessive, especially because lage doesn't seem to have any meaningful integration with git.
To Reproduce
Steps to reproduce the behavior:
Create an empty pnpm workspace in a local folder (not a git repo)
Add a package with a "build" script and a lage "build" pipeline
Try running lage build
See error above
Expected behavior
The build script should be called
Describe the bug
Lage refuses to run if it's not in a git repo:
Most users probably use lage in a git repo, but I wanted to try it out before creating one. Even when I initialized a git repo, it still wasn't satisfied as it couldn't find
HEAD
, so I also had to create a commit. I think that's a bit excessive, especially because lage doesn't seem to have any meaningful integration with git.To Reproduce
Steps to reproduce the behavior:
lage build
Expected behavior
The build script should be called
Environment/Troubleshooting
The text was updated successfully, but these errors were encountered: