Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@moonrepo/cli path resolution for git submodules broken after upgrading to v1.29.4 #82

Open
bludnic opened this issue Dec 13, 2024 · 1 comment
Labels
bug Something isn't working techdepth

Comments

@bludnic
Copy link
Owner

bludnic commented Dec 13, 2024

After upgrading @moonrepo/cli from v1.28.3 to v1.30.5, the moon run frontend:build command fails with the following error:

fatal: /frontend: '/frontend' is outside repository at '/Users/bludnic/OpenTrader/opentrader/pro'

For context: /pro is a git submodule with the following structure:

/opentrader
└── /pro (Git Submodule)
    ├── /frontend
    │   └── moon.yml
    ├── /processor
    │   └── moon.yml

Full logs with moon run frontend:build --log debug

image

Notes:

  • Build command for projects inside the root git repository works fine
  • The issue did not occur with @moonrepo/cli v1.28.3
  • Upgrade commit e96e846
@bludnic bludnic added bug Something isn't working techdepth labels Dec 13, 2024
@bludnic
Copy link
Owner Author

bludnic commented Dec 13, 2024

Same logs but with previous version (v1.28.3):

image

As you see, the project path is different, so the build command succeeded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working techdepth
Projects
None yet
Development

No branches or pull requests

1 participant