@smartcoder You can’t, because Mix is running on your computer and not in the browser.
Dec 17, 2021
10
Level 1
How to display errors on the screen on Laravel Mix?
Now only display in the console and in the browser console, which is not very convenient for development. How can you display these errors directly on the browser screen?
Laravel Mix Version: 6.0.6
@babel/[email protected]
├── @pmmmwh/[email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]
Node Version (node -v): 17.0.1
NPM Version (npm -v): 8.1.0
OS: mac OS
Level 1
In the end, I solved the problem with installing a clean application npx create-react-app, and replace react-scripts to package react-app-rewired, it solved the problem
Please or to participate in this conversation.