Git Product home page Git Product logo

Comments (4)

mike-north avatar mike-north commented on June 27, 2024

rm -rf node_modules/yargs and reinstall. It should work. Still tracking down exactly what the problem is here before merging into materialize v0

from ember-materialize-shim.

dustinfarris avatar dustinfarris commented on June 27, 2024

yargs 3.27.0 is installed when running npm install. For some reason npm is skipping os-locale and y18n even though they are listed as dependencies.

npm list | grep yargs

│ │ │ │ │ └─┬ [email protected]
│   │ └─┬ [email protected]
    └─┬ [email protected]
      └─┬ [email protected]
npm ERR! missing: os-locale@^1.4.0, required by [email protected]
npm ERR! missing: y18n@^3.2.0, required by [email protected]

from ember-materialize-shim.

dustinfarris avatar dustinfarris commented on June 27, 2024

Uninstalling and reinstalling yargs installs 4.8.1, and installs the dependencies as you would expect.

There doesn't seem to be a difference in how yargs 3.27.0 and 4.8.1 reference these two dependencies, so I'm left scratching my head here.

https://github.com/yargs/yargs/blob/v3.27.0/package.json
https://github.com/yargs/yargs/blob/v4.8.1/package.json

from ember-materialize-shim.

mike-north avatar mike-north commented on June 27, 2024

@dustinfarris did you try adding these dependencies explicitly to this library? We shouldn't have to, but if it gets rid of this problem, we can do it temporarily and create a TODO to dive deeper later

from ember-materialize-shim.

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.