Laravel - Compiling Assets - Installing Node

Before running Mix, you must first ensure that Node.js and NPM are installed on your machine:

    node -v
    npm -v

You can easily install the latest version of Node and NPM using simple graphical installers from the official Node website. Or, if you are using Laravel Sail, you may invoke Node and NPM through Sail:

    ./sail node -v
    ./sail npm -v