mirror of
https://github.com/mthenw/frontail.git
synced 2026-04-26 02:05:57 +03:00
[GH-ISSUE #244] TypeError: SocketIO is not a constructor #159
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/frontail#159
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @janilahti on GitHub (Sep 22, 2021).
Original GitHub issue: https://github.com/mthenw/frontail/issues/244
Released v4.9.2 binary frontail-linux only gives an error when started on Ubuntu 20.04.
@ak2766 commented on GitHub (Nov 21, 2021):
I've just hit this issue as well.
@kamilkosek commented on GitHub (Dec 20, 2021):
Same here
@masaru-natsu commented on GitHub (Jan 11, 2022):
Same issue, I'm running CentOS 8.2
`pkg/prelude/bootstrap.js:1244
throw error;
^
TypeError: SocketIO is not a constructor
at Object. (/snapshot/frontail/index.js:79:14)
at Module._compile (pkg/prelude/bootstrap.js:1320:22)
at Object.Module._extensions..js (module.js:662:10)
at Module.load (module.js:564:32)
at tryModuleLoad (module.js:504:12)
at Function.Module._load (module.js:496:3)
at Module.require (module.js:595:17)
at Module.require (pkg/prelude/bootstrap.js:1225:31)
at require (internal/module.js:11:18)
at Object. (/snapshot/frontail/bin/frontail:2:1)`
@jonespm commented on GitHub (Apr 25, 2022):
Version 4.9.1 and the code in master (when built as a package) doesn't give an error during startup. But in the browser console there's an error below and there's nothing in the output. The last version that works is 4.9.0.
4.9.1:
socket.io.js:8 WebSocket connection to 'wss://<URL>/tail/socket.io/?EIO=3&transport=websocket' failed:master:
@themocs commented on GitHub (Dec 1, 2023):
Hi there! @jonespm to solve this error just add: "node_modules/socket.io/client-dist/*.js" on package.json pkg assets, then regenerate pkg build. Done! Cheers.