Code Monkey home page Code Monkey logo

Comments (5)

dehlak avatar dehlak commented on July 30, 2024

There's also a version of the CLI configured in the package.json of your component set, could it be that this one is outdated?

from cli.

saliemamirkhan avatar saliemamirkhan commented on July 30, 2024

I did look at the package.json file and it had "^23.12.0". So I thought it would be okay since it's looking for a version higher than 23.12.0 but I'll try changing it to "23.21.0" and see what the outcome is.

from cli.

saliemamirkhan avatar saliemamirkhan commented on July 30, 2024

Changed the version in de package.json file and the same error occurs. I do have a package-lock,json file where the cli version is 22.39.1, can I just change this version, do I have to delete this file so it can be generated again or does this file have nothing to do with the error?

from cli.

dehlak avatar dehlak commented on July 30, 2024

You can check in the node_modules folder to see which version of the CLI is installed, it's most likely using that one. If that's version 22.39.1 you can safely delete it so that it can be regenerated, to make sure everything is fresh you may also delete the node_modules folder before running npm install or yarn

from cli.

saliemamirkhan avatar saliemamirkhan commented on July 30, 2024

Thank you, it worked. I deleted the whole folder, restarted VS Code and ran "sudo npm install" and the problem was solved.

from cli.

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.