Node Error: resolve-url-loader: CSS error

前端 未结 4 1981
星月不相逢
星月不相逢 2021-02-19 17:35

I am trying to run a react project as dev server on my surface, and if gives me the error shown below and in the title. When I am running the same config on my pc I am not havin

4条回答
  •  梦如初夏
    2021-02-19 18:13

    well, the solution must be related to some package configuration or something. But I want to share the solution that I applied:

    @import "variables";
    @import "colored-balls";
    @import "glowing-ball";
    @import "pixel-loader";
    @import "square-box";
    @import "circle-loader";
    @import "jumping-dots-loader";
    

    Look for the file that cannot be resolved by the module in charge (Look for the error file). with ctrl + click ... and comment one by one until you see which of them you did not read, when you found them: you can, comment on them, Or delete them. They are preloaders, I did not need them.

    /* @import "colored-balls"; */

    /* @import "pixel-loader"; */

提交回复
热议问题