GitHub user vmaksimenko added a comment to the discussion: Custom docker image 
build takes a long time and then gets stuck

I experienced the same problem running the Superset docker compose on Windows 
11 WSL2. I waited a long time, and when npm run build finished after 40 
minutes, with 30K+ errors about prettier/prettier: Delete ␍. As I understand, 
it occurs due to Windows and Linux end-of-line differences when copying files 
in a Docker image. Running the following commands on the project level helped 
me. After the fix build runs faster and with success.
```
git config core.autocrlf false
git rm --cached -r .
git reset --hard
```

GitHub link: 
https://github.com/apache/superset/discussions/25418#discussioncomment-14327897

----
This is an automatically sent email for notifications@superset.apache.org.
To unsubscribe, please send an email to: 
notifications-unsubscr...@superset.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to