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

Error running task: "version is longer than 256 characters" #2130

Open
trumbitta opened this issue May 9, 2024 · 3 comments
Open

Error running task: "version is longer than 256 characters" #2130

trumbitta opened this issue May 9, 2024 · 3 comments
Labels
type: bug Something isn't working

Comments

@trumbitta
Copy link

Current Behavior

  • Just created a new Nx empty workspace
  • Ported immediately to Yarn 4 (if that's relevant)
  • Added @nx/react
  • Went to Nx console in VS Code to create an app
  • As soon as I type the application name ("canary"), I get an error notification and the following output:

Failure Logs / Images / Videos

Telemetry: production
Graph - init
Error running task: "version is longer than 256 characters"

Environment

❯ nx report

 NX   Report complete - copy this into the issue template

Node   : 18.12.1
OS     : darwin-arm64
yarn   : 4.2.2

nx (global)    : 19.0.1
nx             : 19.0.1
@nx/js         : 19.0.1
@nx/linter     : 19.0.1
@nx/eslint     : 19.0.1
@nx/workspace  : 19.0.1
@nx/devkit     : 19.0.1
@nx/react      : 19.0.1
@nrwl/tao      : 19.0.1
@nx/web        : 19.0.1
typescript     : 5.4.5
  • Nx Console version: v18.21.1
  • VSCode version: 1.89.0
@trumbitta trumbitta added the type: bug Something isn't working label May 9, 2024
@trumbitta
Copy link
Author

I'd like to add that this would be less of a problem if I could fill the Nx Console form and then copy the resulting command line with a big fat nice unmissable button to copy it and run it manually in a Terminal (with --dry-run. so that I can see the output and adjust like I do in Nx Console).

I like a visual form better than the interactive UI. I like to see all of my options all at once, when they are fewer than 100.

@MaxKless
Copy link
Collaborator

I'll look into the error you've mentioned.

Can you elaborate on the distinction between interactive UI and visual form?
There should be a big fat nice unmissable button to copy the command in the generate UI but it looks like something went wrong with the release and the icons are gone. I'll release a patch to fix it ASAP

@trumbitta
Copy link
Author

Thanks 🙇

Can you elaborate on the distinction between interactive UI and visual form?

Sorry, should've been more precise: I mean "interactive TUI", the text-based command line wizard. It is easy to use, but if I know (and I know) that a generator has 20 options and I don't remember what those are but I remember I need some of them, looking at the form in Nx Console is a far superior experience than looking at the docs and then going back to the command line.
After I compose my command line using Nx Console, I'm happy to run a dry-run in the terminal if for some reason Nx Console is not 100% working (hence my love for the copy button)

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

No branches or pull requests

2 participants