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

Unable to forward positional arguments #16499

Closed
MarkMcCulloh opened this issue Apr 24, 2023 · 1 comment · Fixed by #17971
Closed

Unable to forward positional arguments #16499

MarkMcCulloh opened this issue Apr 24, 2023 · 1 comment · Fixed by #17971
Labels

Comments

@MarkMcCulloh
Copy link
Contributor

MarkMcCulloh commented Apr 24, 2023

Current Behavior

nx <target> -- arg1 arg2...

Results in error:

NX Cannot find project 'arg1'

Expected Behavior

Run the <target> of the current project directory, passing <args> to it

GitHub Repo

https://github.com/winglang/wing repo switched to turbo

Steps to Reproduce

  1. npm i
  2. npx nx wing -- compile -t sim ../../examples/tests/valid/hello.w

Nx Report

Node : 18.12.1
   OS   : darwin arm64
   npm  : 8.19.3
   
   nx            : 15.9.2
   @nrwl/cli     : 15.9.2
   @nrwl/devkit  : 15.9.2
   @nrwl/tao     : 15.9.2
   ---------------------------------------
   Community plugins:
   @nxrs/cargo : 0.3.3

Failure Logs

>  NX   Cannot find project 'compile'

Additional Information

Reverting to 15.7.2 fixes the issue

mergify bot pushed a commit to winglang/wing that referenced this issue Apr 24, 2023
In newer versions of nx, commands like `npx nx wing -- compile -t sim ../../examples/tests/valid/hello.w` no longer work.


Issue: nrwl/nx#16499


*By submitting this pull request, I confirm that my contribution is made under the terms of the [Monada Contribution License](https://docs.winglang.io/terms-and-policies/contribution-license.html)*.
@AgentEnder AgentEnder added the scope: core core nx functionality label Apr 24, 2023
@github-actions
Copy link

This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants