How can i add more node versions?

  • | 371 points

    Hello, I wanted to try out using the webpack on my laravel mix today,I installed using npm install and followed the steps in the docs but when I run the npm run dev, I get back lines of errors and I picked some of them.
    npm ERR!
    npm ERR! Failed at the @ dev script 'npm run development'.
    npm ERR! Make sure you have the latest version of node.js and npm installed.
    npm ERR! If you do, this is most likely a problem with the package,
    npm ERR! not with npm itself.
    npm ERR! Tell the author that this fails on your system:
    npm ERR! npm run development
    npm ERR! You can get information on how to open an issue for this project with:
    npm ERR! npm bugs
    npm ERR! Or if that isn't available, you can get their info via:
    npm ERR! npm owner ls
    npm ERR! There is likely additional logging output above.


    So like this problem wants me to change the npm version,I installed the latest node js from its official site ,nada.
    Then I discovered laragon too had a node js feature which I guess is the cause of the problem.

    To cut the long story short: How do I change or add more node js versions?.

  • administrators
    | 131219 points

    @falconxxx : The errors occurred when you use your installed Node.js or Laragon?

    For you question: Just copy your installed nodejs to bin\nodejs\nodejs-xxx, then you'll see a new entry nodejs-xxx in Menu > Node.js > Version -- select the version.

Log in to reply

Looks like your connection to Laragon was lost, please wait while we try to reconnect.