[openstreetmap/openstreetmap-website] Docker db problem (#3312)
Seth Deegan
notifications at github.com
Sun Oct 3 13:06:52 UTC 2021
I still get the same error.
This problem does not seem to be caused by line endings.
I deleted the repository, redownloaded it, and built the image. It did not work.
Then, I checked out the line endings for the `app/assets/stylesheets/ltr/common.scss` file and found out that **all other text files in the repository had LF line endings but this one** and `app\assets\stylesheets\ltr\small.scss`. I changed them from `CRLF` to `LF` in VSCode, deleted and rebuilt the image, and still get the error.
So, line endings do not seem to be the problem.
The error:
```
ActionView::Template::Error (Error: Invalid CSS after ".": expected 1 selector or at-rule, was "../common.scss"
on line 1:1 of app/assets/stylesheets/ltr/common.scss
>> ../common.scss
^
):
```
seems to be an error relating to the building of the CSS. Another possible problem could be that `common.scss` and `small.css` are Symbolic Links and that could be messing with something (I don't know exactly how symbolic links work myself).
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/3312#issuecomment-932947756
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20211003/7f536b43/attachment.htm>
More information about the rails-dev
mailing list