heybourn / headwind

An opinionated Tailwind CSS class sorter built for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=heybourn.headwind
MIT License
1.38k stars 46 forks source link

rustywind error when sort on entire workspace #113

Open thiras opened 3 years ago

thiras commented 3 years ago

Describe the bug Headwind doesn't work. It throws an error when I run Sort TailwindCSS Classes on Entire Workspace;

Headwind error: /home/thiras/.vscode/extensions/heybourn.headwind-1.7.0/node_modules/rustywind/bin/rustywind: 1: Syntax error: ")" unexpected

To Reproduce Steps to reproduce the behavior:

  1. Go to install the extension
  2. Restart VSCode
  3. Run Sort TailwindCSS Classes on Entire Workspace
  4. See error

Expected behavior The extension should fix the entire workspace

Screenshots Screenshot from 2021-03-11 16-46-43

Desktop (please complete the following information):

Additional context

Version: 1.54.1
Commit: f30a9b73e8ffc278e71575118b6bf568f04587c8
Date: 2021-03-04T22:38:50.094Z
Electron: 11.3.0
Chrome: 87.0.4280.141
Node.js: 12.18.3
V8: 8.7.220.31-electron.0
OS: Linux x64 5.8.0-44-generic
praveenperera commented 3 years ago

Hey @thiras do any Headwind configuration in vscode settings.json?

thiras commented 3 years ago

@praveenperera nope. I didn't change anything on settings. It's all default. No custom config on settings.json

praveenperera commented 3 years ago

I am unable to recreate this issue

timsun28 commented 2 years ago

Hi, I got the same issue as mentioned above: Headwind error: /home/timo/.vscode/extensions/heybourn.headwind-1.7.0/node_modules/rustywind/bin/rustywind: 1: Syntax error: ")" unexpected

I just installed the extension and did not make any modifications. The plugin works well when saving files, so it only gives me this error when running the command to style the entire workspace.

I'm also having this issue on Ubuntu 20.04 with version 1.7.0 of Headwind.

Please let me know if I can supply you with more information needed to discover what is going on here.

mattrossman commented 2 years ago

Same error here, I'm on Ubuntu 20.04 via WSL2.

Headwind: v1.7.0 VSCode: 1.65.1

EmilioBravo commented 2 years ago

Same error here OS: Ubuntu 22.04 Headwind: v1.7.0 VSCode: 1.67.2

kissu commented 2 years ago

Same error:

I'm not sure how we can debug this one. The Electron devtools are not more verbose + I don't see a Headwind (Extension) in the output.

I have a quite big configuration, so I'll maybe try to replicate it into a vanilla Ubuntu VM. Then into an Arch Linux VM if I get some time. This is maybe coming from the distribution?

ran-dall commented 2 years ago

Same error.

ryantaussig commented 1 year ago

I'm experiencing the same issue.

dbm03 commented 1 year ago

Same issue.

AkioCode commented 1 year ago

Same issue.

MateusJSouza commented 9 months ago

Same issue.