Answer the question
In order to leave comments, you need to log in
Front on vue breaks when trying to update laravel-mix to version without vulnerability?
I lived without problems with laravel-mix and the front on vue.js, GitHub recently announced that I have a vulnerability in Laravel-mix in my application, which is also indicated by npm.
npm audit fix couldn't do anything.
npm audit fix --force or manually updating laravel-mix ( npm install --save-dev [email protected] ) followed by npm run dev produces the following:
npm run dev
> [email protected] dev /var/www/ws-chat
> NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js
Additional dependencies must be installed. This will only take a moment.
Running: yarn add vue-template-compiler --dev --production=false
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
Okay, done. The following packages have been installed and saved to your package.json dependencies list:
- vue-template-compiler
Additional dependencies must be installed. This will only take a moment.
Running: yarn add [email protected]* sass [email protected] --dev --production=false
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
warning " > [email protected]" has unmet peer dependency "[email protected]^3.0.0 || ^4.0.0".
Okay, done. The following packages have been installed and saved to your package.json dependencies list:
- [email protected]*
- sass
- [email protected]
Finished. Please run Mix again.
<spoiler title="">[Vue warn]: Failed to mount component: template or render function not defined.
found in
---> <Chatbox>
<Root></spoiler>
Vue packages version mismatch:
- [email protected]
- [email protected]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question