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

Not enough arguments following: flat #61

Open
CreateSean opened this issue Nov 6, 2022 · 1 comment
Open

Not enough arguments following: flat #61

CreateSean opened this issue Nov 6, 2022 · 1 comment

Comments

@CreateSean
Copy link

I'm running this script in NPM

    "tw-whitelist": "tailwindcss-export-config --config=./tailwind.config.js --destination=./templates/_tw-config/whitelist --format=scss --quoted-keys=true --onlyIncludeKeys=colors --prefix=bg --flat",

and get the following error: Not enough arguments following: flat

when I look at the logs I see this:

32 error command C:\Windows\system32\cmd.exe /d /s /c tailwindcss-export-config --config=./tailwind.config.js --destination=./templates/_tw-config/whitelist --format=scss --quoted-keys=true --onlyIncludeKeys=colors --prefix=bg --flat
33 verbose exit 1

However if I remove the --flat flag everything runs as expected.

@andrewgioia
Copy link

@CreateSean having the same issue, if you change it to --flat=true it should work as expected. Readme may need to be updated.

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