If anyone still experience any issue or this error: " npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! etc.... " Then use this: "npm install --legacy-peer-deps && npm run dev"
I don't have js and css folder also under public. And no manifest file. I am using WSL for compilation. And I am getting mix manifest does not exists. What can I do? And for your info I am using nodejs version 12 in windows. And also have installed the nodejs in WSL too.
@@alainanibalbellidodelunaca3492 It gets installed with any new laravel installation. composer.json file and package.json "devDependencies": you can view them.
for composer.json file it is normally done with "composer install or composer update' package.json is normally "npm install or npm update". NPM means Node Package manager and composer is a PHP dependency manager.
great job Sir i enjoy learning from your great tutorial, thanks for the time and courage for the good work.
Thanks for watching! and thank you really appreciate it
It fixed my problem. Thank you very much.
Glad it helped
Thank you very much !!!!
N'gouan Magara Thank you!
If anyone still experience any issue or this error:
"
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree npm ERR!
etc....
"
Then use this:
"npm install --legacy-peer-deps && npm run dev"
thank youuuuuuuuuuuuu
I don't have js and css folder also under public. And no manifest file. I am using WSL for compilation. And I am getting mix manifest does not exists. What can I do? And for your info I am using nodejs version 12 in windows. And also have installed the nodejs in WSL too.
It is not working for me on Laravel 9 and laravel-mix. It does not compile an app.js file and neither writes some code on mix-manifest.json
Thanks a lot
Most welcome
THANKYOU THIS WORKS, LIKE AND SUBSCRIB
I got the same problem when hosting on cpanel
just change from
{{ mix('backend/css/app.css') }}
Becomes
{{ asset('backend/css/app.css') }}
What lavarel version use
Hi "laravel/framework": "^8.54" and "laravel-mix": "^6.0.6",
@@AngelJayAcademy and larave-mix where your install
@@alainanibalbellidodelunaca3492 It gets installed with any new laravel installation. composer.json file and package.json "devDependencies": you can view them.
for composer.json file it is normally done with "composer install or composer update' package.json is normally "npm install or npm update". NPM means Node Package manager and composer is a PHP dependency manager.
@@AngelJayAcademy this is my problem (Node Package manager and composer is a PHP dependency manager)