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: unknown option `--visualise' #6

Closed
xDae opened this issue Mar 16, 2018 · 9 comments
Closed

error: unknown option `--visualise' #6

xDae opened this issue Mar 16, 2018 · 9 comments

Comments

@xDae
Copy link

xDae commented Mar 16, 2018

I dont know what Im doing wrong, but i always get this message

@gregtillbrook
Copy link
Owner

gregtillbrook commented Mar 18, 2018

Ah wait - damn Im stupid.. Was testing in a way that missed this (rather important!) problem. So to fix this properly will require a parcel change which Ive raised a feature request for.

In the meantime you can use version 0.8.2 which has all the current features minus the cli arg check.

i.e. install

and use bundle without the --visualise flag

parcel build example.html

I'll update the README in a bit

@gregtillbrook
Copy link
Owner

Not sure how long it'll take for the parcel change so Ive completely removed the --visualise cli arg for now.

Thanks for the heads up on the problem!

@xDae
Copy link
Author

xDae commented Mar 18, 2018

thanks @gregtillbrook !

@TimNZ
Copy link

TimNZ commented Mar 20, 2018

ENV vars for a temp workaround?

@davidnagli
Copy link
Contributor

@gregtillbrook Honestly I don't think the plugin overhaul will be done anytime soon. 😟

As @TimNZ mentioned, env vars might be the only workaround for now 😬

@gregtillbrook
Copy link
Owner

@TimNZ ENV is an interesting workaround idea - Id rather not have the usage keep changing though so think I'll drop the --visualise bit for now and revisit when parcels updated. If it proves a nuisance and folks complain, i'll look at it again.

Thanks for the heads up @davidnagli

@TimNZ
Copy link

TimNZ commented Mar 26, 2018

Plenty of tools support CLI and ENV for option setting, you can support both when CLI works?

@davidnagli
Copy link
Contributor

It’s definitely possible, it’s just not a feature yet.

I introduced an RFC for a plugin overhaul, but given all the other high priority features such as Vue support, nobody really got around to designing and implementing the new plugin system (which will hopefully include that feature). Hopefully it happens soon.

@TimNZ
Copy link

TimNZ commented Mar 27, 2018

Hi @davidnagli. CLI vs ENV comment was for @gregtillbrook
There are definitely other things the Parcel team should be prioritising. Thanks

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

4 participants