-
-
Notifications
You must be signed in to change notification settings - Fork 2
'vue-cli-service' is not recognized as an internal or external command - when running "yarn run electron:serve" #122
Comments
If a package was installed as a As those executables are nested, could it be your yarn version is out of date? Apparently yarn had an issues with nested executables a while ago: yarnpkg/yarn#760 I'd like to avoid having npx as a dependency as we're not reliant on npm. |
For reference: My current yarn version is v1.22.4 and the only global modules I have are commitizen and windows-build-tools. On Windows I've used PowerShell as admin and the repo from builds cleanly. Tested on a new clone. |
But still doesn't run. Maybe something wrong with my PATH? |
The main folder of my projects was created in WSL, which means is case-sensitive by default. This can be validated on Windows with on the CLI:
Then I recreated the parent folder, clone the repo and installed everything and now it works. |
It would be nice if we could link to the solution in the documentation, as this might happen to other people using WSL mixed with CMD/Powershell. |
Totally. I will add this. |
More detail can be found here: yarnpkg/yarn#5813 |
When executing
yarn run electron:serve
on Windows, I get this error:I tried to do this:
but this doesn't work. What should we do here to solve it?
The text was updated successfully, but these errors were encountered: