question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Latest released v2.0.3 as-is, I'm getting this.

See original GitHub issue

Seems like there are issues with the sharp libraries.

2020-05-04T16:48:05.710Z	undefined	ERROR	Uncaught Exception 	
{
    "errorType": "Error",
    "errorMessage": "\nSomething went wrong installing the \"sharp\" module\n\n/opt/nodejs/node_modules/sharp/build/Release/../../vendor/lib/libvips-cpp.so.42: file too short\n\n- Remove the \"node_modules/sharp\" directory then run\n  \"npm install --ignore-scripts=false --verbose\" and look for errors\n- Consult the installation documentation at https://sharp.pixelplumbing.com/install\n- Search for this error at https://github.com/lovell/sharp/issues\n",
    "stack": [
        "Error: ",
        "Something went wrong installing the \"sharp\" module",
        "",
        "/opt/nodejs/node_modules/sharp/build/Release/../../vendor/lib/libvips-cpp.so.42: file too short",
        "",
        "- 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> (/opt/nodejs/node_modules/sharp/lib/constructor.js:34:9)",
        "    at Module._compile (internal/modules/cjs/loader.js:1158:30)",
        "    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1178:10)",
        "    at Module.load (internal/modules/cjs/loader.js:1002:32)",
        "    at Function.Module._load (internal/modules/cjs/loader.js:901:14)",
        "    at Module.require (internal/modules/cjs/loader.js:1044:19)",
        "    at require (internal/modules/cjs/helpers.js:77:18)",
        "    at Object.<anonymous> (/opt/nodejs/node_modules/sharp/lib/index.js:3:15)",
        "    at Module._compile (internal/modules/cjs/loader.js:1158:30)",
        "    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1178:10)"
    ]
}

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Mosnarcommented, May 4, 2020

@bs-thomas Ahah! It looks like when I built the original binaries, they were symlinked - which is what caused them to be empty.

1reaction
Mosnarcommented, May 4, 2020

@bs-thomas Yeah, that’s what I’m looking into now. I think I may have been a little overzealous with updating without reading the full changelog. To be honest, I don’t have a perfect understanding of how this part of the project works.

It looks like this was a significant change that may be working in our favor: https://github.com/lovell/sharp/issues/1282

Read more comments on GitHub >

github_iconTop Results From Across the Web

Major UEFI release - B450, B550, X370, X470, X570, A520
New UEFI BIOS updates For ASUS AMD and Intel motherboards – W12. AMD – B450,B550,X370,X470,X570,A520. *For applicable boards this UEFI includes the latest...
Read more >
Latest ASUS drivers for Windows 10 - Official links
Download the latest versions of ASUS drivers and tools for Windows 10. ATK Package, Smart Gesture, Audio, Bluetooth, WLAN, VGA, Card Reader, BIOS,...
Read more >
ASI Support for RAGE Plugin Hook - GTA5-Mods.com
This is a RPH plugin that converts ASI mods into UASI ("Universal ASI") mods which can be loaded with RAGE Plugin Hook in...
Read more >
Diversion - the Router Ad-Blocker - Diversion
Diversion 4.3.2 released. July 17 2022. What's new in Diversion 4.3.2 ... Use u or the WebUI function to update to this latest...
Read more >
word_document2 "multiple labels on one line" error #538
I'm encountering an error when trying to render a word_document2 with more than one figure in a single chunk. Both #249 and #483...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found