[openstreetmap/openstreetmap-website] install by docker, Error: Invalid CSS after ".": expected 1 selector or at-rule, was "../common.scss" (Issue #3422)
windcatcher
notifications at github.com
Sat Jan 15 04:04:55 UTC 2022
### URL
_No response_
### How to reproduce the issue?
### 1. install it by docker.md
[https://github.com/openstreetmap/openstreetmap-website/blob/master/DOCKER.md](url)
### 2. open the website ,find the problem
**the website url** is [http://10.10.201.81:3000/#map=12/38.8938/-77.0146](url)
Showing /app/app/views/layouts/map.html.erb where line # raised:
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
### run the command ,find this error info
`bundle exec image_optim --info`
_root at 7227613449f6:/app# bundle exec image_optim --info
image_optim v0.31.1
config:
verbose: true
nice: 10
threads: 8
pack: false
skip_missing_workers: false
allow_lossy: false
cache_dir:
cache_worker_digests: false
timeout:
PATH: /var/lib/gems/2.7.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/var/lib/gems/2.7.0/gems/image_optim-0.31.1/vendor
Resolved jpegrescan 1a762f62 at /var/lib/gems/2.7.0/gems/image_optim-0.31.1/vendor/jpegrescan
Bin resolving errors:
pngcrush worker: `pngcrush` not found; please provide proper binary or disable this worker (--no-pngcrush argument or `:pngcrush => false` through options)
pngout worker: `pngout` not found; please provide proper binary or disable this worker (--no-pngout argument or `:pngout => false` through options)
advpng worker: `advpng` not found; please provide proper binary or disable this worker (--no-advpng argument or `:advpng => false` through options)
optipng worker: `optipng` not found; please provide proper binary or disable this worker (--no-optipng argument or `:optipng => false` through options)
pngquant worker: `pngquant` not found; please provide proper binary or disable this worker (--no-pngquant argument or `:pngquant => false` through options)
oxipng worker: `oxipng` not found; please provide proper binary or disable this worker (--no-oxipng argument or `:oxipng => false` through options)
jhead worker: `jhead` not found, `jpegtran` not found; please provide proper binary or disable this worker (--no-jhead argument or `:jhead => false` through options)
jpegoptim worker: `jpegoptim` not found; please provide proper binary or disable this worker (--no-jpegoptim argument or `:jpegoptim => false` through options)
jpegtran worker: `jpegtran` not found; please provide proper binary or disable this worker (--no-jpegtran argument or `:jpegtran => false` through options)
gifsicle worker: `gifsicle` not found; please provide proper binary or disable this worker (--no-gifsicle argument or `:gifsicle => false` through options)
svgo worker: `svgo` not found; please provide proper binary or disable this worker (--no-svgo argument or `:svgo => false` through options)
/var/lib/gems/2.7.0/gems/image_optim-0.31.1/lib/image_optim/worker/class_methods.rb:77:in `create_all'
/var/lib/gems/2.7.0/gems/image_optim-0.31.1/lib/image_optim/worker/class_methods.rb:48:in `create_all_by_format'
/var/lib/gems/2.7.0/gems/image_optim-0.31.1/lib/image_optim.rb:96:in `initialize'
/var/lib/gems/2.7.0/gems/image_optim-0.31.1/lib/image_optim/runner.rb:56:in `new'
/var/lib/gems/2.7.0/gems/image_optim-0.31.1/lib/image_optim/runner.rb:56:in `initialize'
/var/lib/gems/2.7.0/gems/image_optim-0.31.1/bin/image_optim:18:in `new'
/var/lib/gems/2.7.0/gems/image_optim-0.31.1/bin/image_optim:18:in `<top (required)>'
/usr/local/bin/image_optim:23:in `load'
/usr/local/bin/image_optim:23:in `<main>'__
### Screenshot(s) or anything else?
_No response_
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/3422
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/3422 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20220114/f0babf9e/attachment.htm>
More information about the rails-dev
mailing list