npm cross-env error [ solved ]

    By: Thad Mertz
    3 years ago

    To fix this run this command, Worked for me


    npm install --global cross-env
    

    After running above command both of "npm run dev" and "npm run watch". Worked fine for me.