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

AppSignal shows a scary-looking error on Windows #960

Open
unflxw opened this issue Nov 13, 2023 · 2 comments
Open

AppSignal shows a scary-looking error on Windows #960

unflxw opened this issue Nov 13, 2023 · 2 comments
Labels

Comments

@unflxw
Copy link
Contributor

unflxw commented Nov 13, 2023

AppSignal should print an error message when on Windows, warning the user that AppSignal is not running -- but it should not look like it crashed. The error seen here about the install report, while not really a crash in itself, could be mistaken for one.

The error is also shown when AppSignal is not active -- in that case, loading the extension is not necessary, so we shouldn't show any error if active is set to false.

[appsignal][ERROR] Unable to fetch install report: Error: ENOENT: no such file or directory, open 'C:\[REDACTED]\node_modules\@appsignal\nodejs\ext\install.report'
at Object.openSync (node:fs:590:3)
at Object.readFileSync (node:fs:458:35)
at fetchInstalledArch (C:\[REDACTED]\node_modules\@appsignal\nodejs\dist\extension_wrapper.js:8:40)
at Object.<anonymous> (C:\[REDACTED]\node_modules\@appsignal\nodejs\dist\extension_wrapper.js:22:42)
at Module._compile (node:internal/modules/cjs/loader:1165:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1219:10)
at Module.load (node:internal/modules/cjs/loader:1043:32)
at Function.Module._load (node:internal/modules/cjs/loader:878:12)
at Module.require (node:internal/modules/cjs/loader:1067:19)
at require (node:internal/modules/cjs/helpers:103:18) {
errno: -4058,
syscall: 'open',
code: 'ENOENT',
path: 'C:\\[REDACTED]\\node_modules\\@appsignal\\nodejs\\ext\\install.report'
}
[appsignal][ERROR] The AppSignal extension was installed for architecture 'unknown-unknown', but the current architecture is 'x64-win32'. Please reinstall the AppSignal package on the host the app is started.

Intercom conversation: https://app.intercom.com/a/inbox/yzor8gyw/inbox/admin/5246522/conversation/16410700272393#part_id=comment-16410700272393-21909540524

@backlog-helper
Copy link

backlog-helper bot commented Nov 13, 2023

✔️ All good!

New issue guide | Backlog management | Rules | Feedback

@unflxw unflxw added the bug label Nov 13, 2023
@unflxw unflxw changed the title AppSignal errors on Windows when set to active AppSignal shows a scary-looking error on Windows when set to active Nov 13, 2023
@unflxw unflxw changed the title AppSignal shows a scary-looking error on Windows when set to active AppSignal shows a scary-looking error on Windows Nov 13, 2023
@shairyar
Copy link
Member

shairyar commented Feb 5, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants