SocketCluster / SocketCluster/socketcluster

Integration with 'sc-uws' Compilation of µWebSockets has failed and there is no pre-compiled binary available for your system. Please install a supported C++11 compiler and reinstall the module 'sc-uws'

Open
#497 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
6.2k
Forks
318
PR merge metrics
No merged PRs in 30d

Description

When setting wsEngine to: 'sc-uws' i get the following error:

[Error] WSEngineInitError: Compilation of µWebSockets has failed and there is no pre-compiled binary available for your system. Please install a supported C++11 compiler and reinstall the module 'sc-uws'

I am not able to make this work on node 10 and node 11

It seems there is now a new uws package available which does not require compilation:
https://github.com/uNetworking/uWebSockets.js

would integrating socketcluster with this engine be a viable option?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing sc-uws integration and the referenced uWebSockets.js project, focusing on the Node 10 and Node 11 compilation failure. Determine the scope and compatibility requirements for adding this engine; done would require an agreed integration design and a working supported path without the reported installation failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, javascript, node.js
Domain
backend, networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.