Can you show us your package.json? Is laravel-mix in there?
Jan 18, 2021
9
Level 3
Giving logs issue on fresh installation of laravel with jetstream livewire
I have installed new project then
composer require laravel/jetstream
php artisan jetstream:install livewire
npm install
when I run then npm run dev then giving this issue can you explain me why giving this issue
HP@DESKTOP-5AMTC38 MINGW64 /e/wamp64/www/Laravel8Projects/Laravel_Livewire_JetStream_Projects/jetstream_blog
$ npm run dev
> @ dev E:\wamp64\www\Laravel8Projects\Laravel_Livewire_JetStream_Projects\jetstream_blog
> npm run development
> @ development E:\wamp64\www\Laravel8Projects\Laravel_Livewire_JetStream_Projects\jetstream_blog
> mix
'mix' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ development: `mix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ development script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\HP\AppData\Roaming\npm-cache\_logs21-01-18T13_22_31_264Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ dev: `npm run development`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\HP\AppData\Roaming\npm-cache\_logs21-01-18T13_22_31_295Z-debug.log
Please or to participate in this conversation.