stylus and stylus-loader version issues
Installing the following specified version will solve it:
"stylus": "^0.54.7", "stylus-loader": "^3.0.2",
Order:
//Uninstall the installed plug-in firstnpm uninstall --save-dev stylus stylus-loader //Installing the plug-in for this version of the specified versionnpm install [email protected] [email protected] ``
stylus and stylus-loader versions are incompatible
Starting yarn add installed stylus, the loader that automatically relies on 5.0.0 will report an error when starting.
"stylus": "^0.54.8", "stylus-loader": "^5.0.0",
Then change to the loader version
"stylus": "^0.54.8", "stylus-loader": "^3.0.2",
The above is personal experience. I hope you can give you a reference and I hope you can support me more.