Jump to content

Make assets Issue


Recommended Posts

Hello I'm try to set up the enviroment for development template i'm follow the official documentation but when type make asset I have this error:

 

/Applications/MAMP/htdocs/PrestaShop/admin-dev/themes/default /Applications/MAMP/htdocs/PrestaShop
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/webpack
npm ERR!   dev [email protected]"^5.53.0" from the root project
npm ERR!   [email protected]"^5" from @types/[email protected]
npm ERR!   node_modules/@types/webpack
npm ERR!     @types/[email protected]">=4.0" from [email protected]
npm ERR!     node_modules/csso-webpack-plugin
npm ERR!       dev [email protected]"^2.0.0-beta.3" from the root project
npm ERR!   13 more (@webpack-cli/configtest, babel-loader, ...)
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer [email protected]"^4.0.0" from [email protected]
npm ERR! node_modules/css-loader
npm ERR!   dev [email protected]"^1.0.0" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: [email protected]
npm ERR! node_modules/webpack
npm ERR!   peer [email protected]"^4.0.0" from [email protected]
npm ERR!   node_modules/css-loader
npm ERR!     dev [email protected]"^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.
npm ERR! 
npm ERR! See /Users/paolomazzon/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/paolomazzon/.npm/_logs/2022-05-30T05_38_14_323Z-debug-0.log
make: *** [assets] Error 1
[email protected] PrestaShop % 

Can you help me?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More