How to test icons local ? #6689
-
Hi ! I've created an icon but unable to test it locally. I tried both docker and npm way.
In docker, I prefer the npm way but why it creates an error if I followed the rules? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 18 replies
-
you said you created an icon: which one? did you made a branch or submitted a PR? If you did please send me the link to see if I can reproduce the errors you report. I'm going to focus on the npm way, and ignore docker for the time being. |
Beta Was this translation helpful? Give feedback.
-
@adsingh14 this can indeed be a problem on Windows due to the fact that Windows uses different characters for line-endings than Unix (Linux and Mac) systems. This is enforced to avoid "phantom" changes (where a file has changed in the line-ending it has, which is not visible). Git for Windows has an option for this that you have to configure correctly for this problem to go away. If I'm not mistaking you can run |
Beta Was this translation helpful? Give feedback.
-
From recent changes. The CRLF error has resolved! Even it's working fine on 'bash' as well as 'Ubuntu Terminal'. |
Beta Was this translation helpful? Give feedback.
From recent changes. The CRLF error has resolved! Even it's working fine on 'bash' as well as 'Ubuntu Terminal'.