Error: Cannot find module '../dist/bindings/cws_linux_83'
I actually already have the fix for this, I'm just too lazy to use git so I figured I'd leave a comment.
One of the dependencies, clusterws (cws) deprecated versions 1 and 2 of their package and they no longer work with node versions above 14 (the latest lts is 14 something and the latest is on 16 now). Net64's server uses version 1. To fix this edit package.json and go down to dependencies.
Where you see "@clusterws/cws": "^1"
Change this to
"@clusterws/cws": "3.0.0"
Then run yarn install and it will update it. I've tested it and version 3.0.0 works with the the latest lts (14) and will allow you to keep your node up to date without having to downgrade to 13 or lower.
If the admin sees this you could test it and update package.json's cws to 3.0.0. Again, I'm too lazy to make use git.
Just something to add to this. You must have Node 14 or below. As I tried with Node 16. It doesn't seem to work and is asking for cws_win32_98 the file doesn't exist in @clusterws\cws\dist\bindings\here
Just uninstall Node higher than 14+ and install Node 14. The version I install is v14.19.0 https://nodejs.org/download/release/v14.19.0/
Download the one you need. Since Im on windows 10. I install the node-v14.19.0-x64.msi
other than that, glhf
The readme said node 12
The readme said node 12
Its just I dont want to use node 12 thats all.
Well in fact you can use nvm to install node 12 and only use node 12 for this thing and lastest node or you wished node version for your things.
Or going in the journey of updating this repo to lastest node version, which probably just have a few breaking changes... Maybe...