Solve the error of developing uniapp+vant in HbuildX: Module build failed (from ./node_modules/postcss-loader/src/index.js):

First of all, the directory is roughly the same.

Module build failed (from ./node_modules/postcss-loader/src/index.js) will appear when running next:

Such an error.

 

If it is the same as mine, it is the pit of HbuildX.

 

Next, you only need to open the index.vue file in the icon under the vant directory in wxcomponents, click the mouse cursor into the code, press ctrl+k, HbuildX will automatically compile, and then run it again. 

Guess you like

Origin blog.csdn.net/qq_45802269/article/details/131096168
Recommended