Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker v1.4.0: Something went wrong installing the "sharp" module #60

Closed
chris1705 opened this issue Jun 3, 2020 · 2 comments
Closed

Comments

@chris1705
Copy link
Contributor

Hello Ian,

your new version of quickchart (v.1.4.0) seems to have a bug. Right after starting the docker container, it stops with the following output:

Stackdriver logging is disabled
{"name":"quickchart","hostname":"397b27e8b639","pid":1,"level":30,"msg":"Loaded 6 keys from API keyfile","time":"2020-06-03T05:14:01.910Z","v":0}
{"name":"quickchart","hostname":"397b27e8b639","pid":1,"level":30,"msg":"Telemetry is enabled","time":"2020-06-03T05:14:02.026Z","v":0}
/quickchart/node_modules/sharp/lib/constructor.js:34
  throw new Error(error);
  ^

Error: 
Something went wrong installing the "sharp" module

Error relocating /quickchart/node_modules/sharp/build/Release/../../vendor/lib/libvips.so.42: g_date_time_format_iso8601: symbol not found

- Remove the "node_modules/sharp" directory then run
  "npm install --ignore-scripts=false --verbose" and look for errors
- Consult the installation documentation at https://sharp.pixelplumbing.com/install
- Search for this error at https://github.com/lovell/sharp/issues

    at Object.<anonymous> (/quickchart/node_modules/sharp/lib/constructor.js:34:9)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/quickchart/node_modules/sharp/lib/index.js:3:15)
    at Module._compile (internal/modules/cjs/loader.js:778:30)

This issue occurs while running on Ubuntu 18.04 LTS and also when started on AWS fargate.

Do you have any idea how to fix this?

Thanks!
Christian

@typpo
Copy link
Owner

typpo commented Jun 6, 2020

Hey @chris1705, thanks for the report. I just pushed v1.4.1. Could you please try it and see if it solves the problem?

@typpo
Copy link
Owner

typpo commented Jun 11, 2020

Going to close this because 1.4.1 appears to be starting just fine!

@typpo typpo closed this as completed Jun 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants