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
Another option would be to configure the IDE or Editor for the End of Line Sequence type, change from CRLF to LF ... They are only alternatives ... try it.
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"; */
Checkout git repo with :
[core]
autocrlf = false
Because Windows CRLF are not supported by resolve-url-loader, using node-sass but Options not available to setup with Create-React-App. See https://github.com/sass/node-sass/issues/2756
I had this same error. To fix this, I had to navigate to
node_modules/resolve-url-loader
open
index.js
and under var options
change removeCR
from "false" to "true".