Duroktar / vscode-npm-scripts

View and run NPM scripts in the sidebar
MIT License
28 stars 13 forks source link

auto: command not found #18

Open burasuk opened 3 years ago

burasuk commented 3 years ago

On fresh install, when i click on some script it opens terminal with message "auto: command not found" and that's it.

RobinGiel commented 3 years ago

I'm having the same problem today

smfukaya commented 3 years ago

Me too with v0.2.1 after updating to Visual Studio Code 1.55.1

Duroktar commented 3 years ago

I'm really sorry, but I've been going through a separation from my wife and now have full-time care of 2 of my 4 children. Due to these circumstances I have been unable to attend to this issue for quite some time. I just attempted to sit down and fix this again and it led to yet another potty accident with one of the kids due to my inattentiveness while trying to work. At this point I'm about ready to give up as I refuse to neglect them anymore to fix something that is now available natively in vscode. I urge you to just start using that and to remove this extension until I can come up with a stable solution to my home life. I thank you all for the time you took to lodge these issues and wish you all safe travels and happy coding.

Cheers, Duroktar

smfukaya commented 3 years ago

@Duroktar, I can see how difficult this has been. But you made the right decision to look after your kids. Be there for them! Hope things get better soon!

After debugging your extension, it turned out that it what only a matter of changing the Visual Studio Code "npm" "Package Manager" settings (File --> Settings --> User --> Extensions --> Npm) from "auto" to "npm"

2021-04-11_18-35-25-Npm scripts

All the best!

lucasmaffazioli commented 2 years ago

Just to add to what @Duroktar said, VSCode now has this feature built-in, just enable it in your file explorer:

image

Konglomneshued commented 1 year ago

Actually was having the same issue.

Please provide a fix, so we can use auto. I know VSCode has a feature built in, but it doesn't look as nice.

image