headwind icon indicating copy to clipboard operation
headwind copied to clipboard

rustywind error when sort on entire workspace

Open thiras opened this issue 5 years ago • 12 comments

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):

  • OS: Ubuntu 20.04
  • Browser Firefox
  • Version 86

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

thiras avatar Mar 11 '21 13:03 thiras

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

praveenperera avatar Mar 11 '21 15:03 praveenperera

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

thiras avatar Mar 11 '21 15:03 thiras

I am unable to recreate this issue

praveenperera avatar Mar 11 '21 18:03 praveenperera

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.

timsun28 avatar Jan 10 '22 20:01 timsun28

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

Headwind: v1.7.0 VSCode: 1.65.1

mattrossman avatar Mar 15 '22 18:03 mattrossman

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

EmilioBravo avatar May 19 '22 14:05 EmilioBravo

Same error:

  • basic ESlint + Prettier configuration
  • using Tailwind
  • works perfectly on a component individually
  • used for a Nuxt.js app
  • Ubuntu 20.04
  • VScode 1.69.1
  • Headwind 1.7.0
  • I'm using "headwind.runOnSave": true
  • do also have "files.autoSave": "onFocusChange"

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?

kissu avatar Jul 22 '22 21:07 kissu

Same error.

  • Gentoo
  • Headwind 1.7.0
  • VSCode 1.70.1

ran-dall avatar Aug 16 '22 08:08 ran-dall

I'm experiencing the same issue.

  • Ubuntu 22.04
  • VSCode 1.73.0
  • Headwind 1.7.0

ryantaussig avatar Nov 09 '22 15:11 ryantaussig

Same issue.

  • Ubuntu 22.10
  • VSCode 1.74.2
  • Headwind 1.7.0

dbm03 avatar Dec 28 '22 00:12 dbm03

Same issue.

  • Ubuntu 22.04
  • VSCode 1.77.3
  • Headwind 1.7.0

AkioCode avatar May 04 '23 01:05 AkioCode

Same issue.

  • Ubuntu 22.04
  • VSCode 1.84.2
  • Headwind 1.7.0

MateusJSouza avatar Nov 10 '23 15:11 MateusJSouza