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.

Can we have platformAndArch string in error log?

See original GitHub issue

What are you trying to achieve?

I mean this string: https://github.com/lovell/sharp/blob/master/lib/sharp.js#L3

If its have error here it’s possible platformAndArch to be different from sharp-XXX.node in /build/Release/ but I dont know what is platformAndArch output

try {
  module.exports = require(`../build/Release/sharp-${platformAndArch}.node`);
} catch (err) {

This line miss me:

} catch (err) {
  help.push('current platformAndArch: ' + platformAndArch);
  throw new Error(help.join('\n'));
}

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
lovellcommented, Dec 12, 2021
0reactions
lovellcommented, Feb 1, 2022

v0.30.0 now available with this feature.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Access and Error Logs - The Ultimate Guide To Logging - Loggly
An Apache log is a record of the events that have occurred on your Apache web ... You can find a full description...
Read more >
View portal error logs - Power Apps | Microsoft Learn
To help debug, you can access detailed error logs for any issues on your portal. There are multiple ways that you can get...
Read more >
Cloud9 PHP error log file - Stack Overflow
Currently mine is at /home/ubuntu/lib/apache2/log/error.log. I discovered this by looking at the terminal/console that opens up below the editor when you ...
Read more >
The Essential Guide to PHP Error Logging | Scout APM Blog
There are two primary places where we can have our errors presented in PHP – through inline errors and dedicated error log files....
Read more >
Read SQL Server error logs using the xp_readerrorlog ...
We can use error logs in the following scenario: ... with N. We might get following error message with N. It declares the...
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