-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Error while parsing cli flags #235
Comments
One of my colleagues had the same Problem, but now I tried it on my pc (npm chromatic 5.50) and it worked. Could this have been a server issue? Is it still occuring for others? For us it was the inital build |
@MichaelPeter Working for me now too, thanks for the heads up |
Edit: For me the error is happen now again - also just updated to the latest storybook version 6.1.11: Unhandled promise rejection: Flag keys may not contain '-': project-token, app-code, build-script-name, output-dir, storybook-build-dir, allow-console-errors, auto-accept-changes, exit-once-uploaded, exit-zero-on-changes, ignore-last-build-on-branch, patch-build, preserve-missing, junit-report, do-not-start, script-name, storybook-port, storybook-url, storybook-https, storybook-cert, storybook-key, storybook-ca Edit: meow\index.js:61:9:
Also as you said a downgrade is maybe required. Edit 2: But my version in chromatic/npm_modules is 8.1.1. TL;DR Npm install breaks your chromatic... |
As seen here, meow.js released a version 8.1.2 without the change made a major version 9 with the breaking change sindresorhus/meow#173. So deleting the 8.1.1 package in chromatic and reinstalling 8.1.2 fixes the problem. thank you mr @sindresorhus |
Thanks for updating us @MichaelPeter! Couldn't find the 8.1.2 release on https://github.com/sindresorhus/meow/releases but I see that it's there on npm. With that the issue is resolved, I'm closing the ticket. |
Can we please reopen this? |
@bodograumann we don't experience this issue so I suggest that you open a new ticket - maybe it's related to your specific setup. |
The problem was reintroduced in 5.6.2, maybe you have not updated yet. Otherwise I'd be happy to create a new ticket. |
Just upgraded to 5.6.2, and still seeing this issue |
Guys please open a new ticket with this. We don't experience this problem and so I'd rather not manage this ticket since I won't be able to provide further info to the maintainers. |
It seems one was already opened #281 |
Sorry, I did not intent to bother you with this. Of course if this causes problems for you, I will respect your decision. |
@bodograumann / @TheSonOfThomp are you seeing the issue: "Flag keys may not contain '-': " or the "The flag --projectToken can only be set once" issue? |
@tmeasday Im seeing the "Flag keys may not contain '-': " issue on 5.6.2. Just saw the fix should be up in 5.6.3 |
Hey!
Since today all our chromatic builds have been failing with the following error:
Based on the stack trace this issue is probably related to a new release in the
meow
dependency https://github.com/sindresorhus/meow/releases/tag/v8.1.1The text was updated successfully, but these errors were encountered: