Have you tried doing a full reset?
rm -rf node_modules
rm package-lock.json yarn.lock
npm cache clear --force
npm install
i have error in installing tailwind css
here is my error
PS C:\xampp_7.4.2\htdocs\laravelproject\laravel-movie-api> npm run dev
@ dev C:\xampp_7.4.2\htdocs\laravelproject\laravel-movie-api npm run development
@ development C:\xampp_7.4.2\htdocs\laravelproject\laravel-movie-api cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js
The system cannot find the path specified. events.js:292 throw er; // Unhandled 'error' event ^
Error: spawn node_modules\webpack\bin\webpack.js ENOENT at notFoundError (C:\xampp_7.4.2\htdocs\laravelproject\laravel-movie-api\node_modules\cross-env\node_modules\cross-spawn\lib\enoent.js:6:26) at verifyENOENT (C:\xampp_7.4.2\htdocs\laravelproject\laravel-movie-api\node_modules\cross-env\node_modules\cross-spawn\lib\enoent.js:40:16) at ChildProcess.cp.emit (C:\xampp_7.4.2\htdocs\laravelproject\laravel-movie-api\node_modules\cross-env\node_modules\cross-spawn\lib\enoent.js:27:25) at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12) Emitted 'error' event on ChildProcess instance at: at ChildProcess.cp.emit (C:\xampp_7.4.2\htdocs\laravelproject\laravel-movie-api\node_modules\cross-env\node_modules\cross-spawn\lib\enoent.js:30:37) at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12) { code: 'ENOENT', errno: 'ENOENT', syscall: 'spawn node_modules\webpack\bin\webpack.js', path: 'node_modules\webpack\bin\webpack.js', spawnargs: [ '--progress', '--hide-modules', '--config=node_modules/laravel-mix/setup/webpack.config.js' ] }
// This like error when it appearing like red text
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ development: cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js
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\user\AppData\Roaming\npm-cache_logs\2020-08-08T11_57_31_983Z-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\user\AppData\Roaming\npm-cache_logs\2020-08-08T11_57_32_048Z-debug.log
i already try this solution
if you have exprience error like me please i need help. sorry for interrupt your time with a bigger of i say please help !!. Thank you.
Have you tried doing a full reset?
rm -rf node_modules
rm package-lock.json yarn.lock
npm cache clear --force
npm install
Please or to participate in this conversation.