-
Notifications
You must be signed in to change notification settings - Fork 457
module sc-uws: Compilation of µWebSockets has failed and there is no pre-compiled binary available for your system #2897
Comments
related to this issue but 'sc-uws' insteaed of 'uws' |
@Nerigal The I was maintaining If you change the |
@jondubois I know that If you read the error message carfully, it says This to me sound like
Actually like i said, C++11 ( the version requested by the package sc-uws ) is the default compiler version of CentOS 7 from the default glibc package, even that, i tried up to C++14 from glibc 7 and still had the problem which tell me the compiler is not the real problem So this is why i liked the issue from The actual workaround, ( Not a Fix ) is :
This means there is a new requirement to lisk |
@Nerigal
|
Then why the default config is set to
|
This is no longer in our package-lock.json and requirements |
Expected behavior
no WebSockets error i guess
Actual behavior
[ERR] 2019-02-16 05:23:17 | 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'
at native (/opt/lisk/client/node_modules/sc-uws/uws.js:40:21)
at Object. (/opt/lisk/client/node_modules/sc-uws/uws.js:46:3)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at new SCServer (/opt/lisk/client/node_modules/socketcluster-server/scserver.js:106:54)
at Object.module.exports.attach (/opt/lisk/client/node_modules/socketcluster-server/index.js:65:29)
at /opt/lisk/client/node_modules/socketcluster/scworker.js:202:41
at
at process._tickCallback (internal/process/next_tick.js:189:7)
at Function.Module.runMain (module.js:696:11)
at startup (bootstrap_node.js:204:16)
[ERR] 2019-02-16 05:23:17 | If you are not able to install sc-uws, you can try setting the wsEngine property in config.json to "ws" before starting the node
Steps to reproduce
start lisk using the Linux Binary package
Which version(s) does this affect? (Environment, OS, etc...)
CentOS 7.6
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36) ( Default Version )
The text was updated successfully, but these errors were encountered: