-
-
Notifications
You must be signed in to change notification settings - Fork 814
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
bug(windows): native command execution syntax doesn’t work for npm/npx package #1474
Comments
See rust-lang/rust#37519 for some history about the behaviour of
|
Type: Additional information ➕ 1. xargs + npx on Windows without WSLWhen I run fd + npx CoffeeLint on Windows 11 without WSL, I get this output:
I don’t reproduce this behavior on continuous integration services perhaps because CIs have WSL pre-installed. I think that WSL — too big dependency to run npx commands, and that it would be nice if Windows users without WSL could run npx commands use fd. 2. xargs implementation
I added this information to my AppVeyor build. Yes, I used the I can’t resolve the WSL problem when I also use the
Thanks. |
1. Summary
I can’t run the CoffeeLint npm/npx package command using the native fd syntax for commands execution. I get errors:
2. Reproducibility
I don’t reproduce the problem and get expected behavior if I use:
Ubuntu instead of Windows.
fd + xargs instead of built-in fd command execution.
fd to run the Chocolatey and pip/pipenv packages instead of npm/npx package.
3. MCVE
AppVeyor build for this configuration.
3.1. Files
2 files
KiraFirst.coffee
andKiraSecond.coffee
without any content.3.2. Install
3.3. Commands
CoffeeLint doesn’t support glob pattern out of the box, to run it recursively requires tools like fd.
3.4. Behavior
3.4.1. Expected — Ubuntu
Travis CI build:
All 4 commands successfully launched.
3.4.2. Undesirable — Windows
AppVeyor CI build:
CoffeeLint launched successfully if I use xargs, but failed to launch if I use the native fd syntax for commands execution.
4. Environment
Operating system:
fd 9.0.0
Node.js
npx
CoffeeLint 5.2.11
Thanks.
The text was updated successfully, but these errors were encountered: