You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Under more recent versions of NPM, when running npm install, the following occurs whenever a newer version of Laravel Mix is utilized than specified in this libraries package.jsonpeerDependencies.
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: undefined@undefined
npm ERR! Found: [email protected]
npm ERR! node_modules/laravel-mix
npm ERR! dev laravel-mix@"^6.0.25" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer laravel-mix@"^2.1.7" from [email protected]
npm ERR! node_modules/laravel-mix-dload
npm ERR! dev laravel-mix-dload@"^1.0.0" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
Running npm install with the --legacy-peer-deps option seems to do the trick, but this is pretty hackish in nature and isn't really a solution.
The text was updated successfully, but these errors were encountered:
Under more recent versions of NPM, when running
npm install
, the following occurs whenever a newer version of Laravel Mix is utilized than specified in this librariespackage.json
peerDependencies
.Running
npm install
with the--legacy-peer-deps
option seems to do the trick, but this is pretty hackish in nature and isn't really a solution.The text was updated successfully, but these errors were encountered: