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

nx container appName fails #1132

Open
ktourvas opened this issue Sep 26, 2024 · 1 comment
Open

nx container appName fails #1132

ktourvas opened this issue Sep 26, 2024 · 1 comment

Comments

@ktourvas
Copy link

Hi,
I am facing and issue when trying to run nx container appName command.
It fails after the build process with and error

NX fatal: No such remote 'origin'
Error: fatal: No such remote 'origin'
at /(localpath)/node_modules/.pnpm/@nx-tools+ci-context@6.0.1_@nx[email protected][email protected]/node_modules/@nx-tools/ci-context/src/lib/utils/git.js:107:27

Any ideas?

@gperdomor
Copy link
Owner

@ktourvas , Hi buddy...

Seems like you are trying to use metadata, which will be getted using a CI Runner context (GitLab Runner, GitHub Actions) or from a Git context... In you case is using the second, at some point of the flow the command git remote remote get-url origin it's executed but that remote not exists in your repo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants