Code Monkey home page Code Monkey logo

Comments (7)

TimPietrusky avatar TimPietrusky commented on July 28, 2024 1
  • I updated yarn to v1.22.4
  • Removed node_modules
  • Removed @vue/cli & electron-builder globally with npm

But still doesn't run. Maybe something wrong with my PATH?

from modv-3.

TimPietrusky avatar TimPietrusky commented on July 28, 2024 1

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:

fsutil.exe file queryCaseSensitiveInfo <path-to-the-folder-you-want-to-check>

# Example
fsutil.exe file queryCaseSensitiveInfo "C:\dev"

Then I recreated the parent folder, clone the repo and installed everything and now it works.

from modv-3.

TimPietrusky avatar TimPietrusky commented on July 28, 2024 1

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.

from modv-3.

2xAA avatar 2xAA commented on July 28, 2024

@vue/cli-service and vue-cli-plugin-electron-builder are part of the repo's packages.

If a package was installed as a devDependency it should be locally executable from ./node_modules/.bin as those binaries are added to the $PATH.

As those executables are nested, could it be your yarn version is out of date?
You might want to check your ./node_modules/.bin folder for the "missing" executables.

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.

from modv-3.

2xAA avatar 2xAA commented on July 28, 2024

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.

from modv-3.

2xAA avatar 2xAA commented on July 28, 2024

Totally. I will add this.

from modv-3.

2xAA avatar 2xAA commented on July 28, 2024

More detail can be found here: yarnpkg/yarn#5813

from modv-3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.