Closed wonyeouuu closed 7 years ago
how? I get the error:Cannot find module '/private/var/www/element-in-laravel-starter/node_modules/cross-env/bin/cross-env.js'
@moxiaobei2 add the '/dist' part in the scripts part of package.json file
From Windows: Right clic over folder. Git bash npm run dev
I found that cross-env has updated their path to node_modules/cross-env/dist/bin/cross-env.js. We should modify the path in scripts in package.json and then run npm run dev.