Closed alexya closed 7 years ago
I made a mistake, the file path is wrong
C:\\Users\\Developer\\AppData\\Roaming\npm\\node_modules\\shadowsocks\\bin\\ssserver
it should be
C:\\Users\\Developer\\AppData\\Roaming\\npm\\node_modules\\shadowsocks\\bin\\ssserver
I tried to use node-windows to run my JavaScript
first of all, I git clone the node-windows, and install to global
and then create a script start_service.js under the folder with the content:
But when I ran the script with administrator privilege directly, I got the error:
or, I copied the .js to the roaming folder and used node to run the JavaScript, I still got another error:
I have manually run the ssserver successfully. It can work. I just want to make it as a windows service.
Any help will be much appreciated. thx.