NPM install Laravel-Mix gives error: “Maximum call stack size exceeded”

I’ve been trying to install npm on laravel but it keeps giving “Maximum call stack size exceeded”. So i decided to install the modules individually and it all worked except for the Laravel-Mix. I’ve tried updating NPM and force clear cache but it still keeps giving:

“Maximum call stack size exceeded”

Npm Version:6.8.0 Node Js Version: v10.15.1

"devDependencies": {
    "axios": "^0.18.0",
    "bootstrap": "^4.3.1",
    "cross-env": "^5.2.0",
    "jquery": "^3.3.1",
    "laravel-mix": "^4.0.7",
    "lodash": "^4.17.11",
    "popper.js": "^1.14.7",
    "resolve-url-loader": "^2.3.2",
    "sass": "^1.17.0",
    "sass-loader": "^7.1.0",
    "vue": "^2.6.6"

#node-js #laravel #npm

4 Likes28.85 GEEK