i’m using a virtual debian 10 server on virtualbox and a windows 10 as host. I just begin with laravel, i use the version 6, i did install it correctly but when it comes to compile the auth scaffolding using
npm install && npm run dev
command, it shows errors,I found similar problem in another discussion,so i tried to fix the problem on deleting the node-modules and re-run npm install as told there but it’s not working. Here is the error i got.
2
Answers
This error is saying that
babel
depedencies not installed in your project. You want to install them usingnpm install --dev
command.If this method not working:-
Install these method one by one manually. This error will saying the
@babel/helper-call-delegate
module is missing. You can install it manually usingnpm install --save-dev @babel/helper-call-delegate
command.I had a similar issue when I moved my project onto a new hard drive. Just deleting the node_modules folder and then running
yarn install
did the trick for me.