When running the front end and executing the npm run dev command, an error is reported: Can't find stylesheet to import

When running the front end and executing the npm run dev command, an error is reported:

Can’t find stylesheet to import

@import “~element-ui/packages/theme-chalk/src/index”。

Solution: Find the npm run dev command in the cd folder, delete the node_moudle folder, and then enter the reinstallation command: npm install, press Enter, and then execute npm run dev, the pro-test is available

Refer to this link: https://blog.csdn.net/D493829844/article/details/122604062

Guess you like

Origin blog.csdn.net/qq_43207709/article/details/124414112