Pixel Streaming- problem in Creating Signalling Server

On Clicking the run.bat file in “UE_4.21\Engine\Source\Programs\PixelStreaming\WebServers\SignallingWebServer”,
i’m getting ‘npm’ unknown command.

Then i installed node.js (version 10.15.1) and npm ( version 6.4.1) on my windows 10.

now i’m getting a different kind of error

/----------------------------------------------start of error statements-----------------------------------------------------------------------/

npm WARN saveError EPERM: operation not permitted, rename ‘D:\UE4.21\UE_4.21\Eng
ine\Source\Programs\PixelStreaming\WebServers\SignallingWebServer\package-lock.j
son.3469309782’ → ‘D:\UE4.21\UE_4.21\Engine\Source\Programs\PixelStreaming\WebS
ervers\SignallingWebServer\package-lock.json’
npm WARN cirrus-webserver@0.0.1 No repository field.
npm WARN cirrus-webserver@0.0.1 No license field.

audited 391 packages in 1.816s
found 1 low severity vulnerability
run npm audit fix to fix them, or npm audit for details
16:18:28.687 Config: {
“UseFrontend”: false,
“UseMatchmaker”: false,
“UseHTTPS”: false,
“UseAuthentication”: false,
“LogToFile”: true,
“HomepageFile”: “player.htm”,
“AdditionalRoutes”: {}
}
(node:10640) [DEP0005] DeprecationWarning: Buffer() is deprecated due to securit
y and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or
Buffer.from() methods instead.
16:18:28.811 Listening to proxy connections on: 8888
events.js:174
throw er; // Unhandled ‘error’ event
^

Error: listen EACCES: permission denied 0.0.0.0:80
at Server.setupListenHandle [as _listen2] (net.js:1260:19)
at listenInCluster (net.js:1325:12)
at Server.listen (net.js:1412:7)
at Object. (D:\UE4.21\UE_4.21\Engine\Source\Programs\PixelStreami
ng\WebServers\SignallingWebServer\cirrus.js:615:6)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:742:12)
Emitted ‘error’ event at:
at emitErrorNT (net.js:1304:8)
at process._tickCallback (internal/process/next_tick.js:63:19)
at Function.Module.runMain (internal/modules/cjs/loader.js:745:11)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)
Press any key to continue

/--------------------------------end of error statements-------------------------------------------------/

Please help me

Try updating your Node.js installation. I was running npm version 5.0.3 before and got the same error. I upgraded to 6.4.1 and everything works fine now. Apparently, it is not able to compile the “spread syntax”, indicated by the three dots (…): see Spread syntax (...) - JavaScript | MDN

I still get the same issue and I am on the latest version of Node.js

Also experiencing these errors when running run.bat as Administrator on Windows Server 2016.

Node.js 10.15.3 (x64)
npm 6.4.1

Allowed incoming connections on 80, 8124, 8888.
Have also attempted to ‘npm audit fix’ to no avail.

npm WARN saveError EPERM: operation not permitted, rename 'C:\Program Files\Epic Games\UE_4.22\Engine\Source\Programs\PixelStreaming\WebServers\SignallingWebServer\package-lock.json.3707760328' -> 'C:\Program Files\Epic Games\UE_4.22\Engine\Source\Programs\PixelStreaming\WebServers\SignallingWebServer\package-lock.json'
npm WARN cirrus-webserver@0.0.1 No repository field.
npm WARN cirrus-webserver@0.0.1 No license field.

audited 391 packages in 1.588s
found 2 vulnerabilities (1 low, 1 high)
  run `npm audit fix` to fix them, or `npm audit` for details
20:29:14.380 Config: {
        "UseFrontend": false,
        "UseMatchmaker": false,
        "UseHTTPS": false,
        "UseAuthentication": false,
        "LogToFile": true,
        "HomepageFile": "player.htm",
        "AdditionalRoutes": {}
}
(node:17676) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
20:29:14.481 Listening to proxy connections on: 8888
events.js:174
      throw er; // Unhandled 'error' event
      ^

Error: listen EACCES: permission denied 0.0.0.0:80
    at Server.setupListenHandle [as _listen2] (net.js:1253:19)
    at listenInCluster (net.js:1318:12)
    at Server.listen (net.js:1405:7)
    at Object.<anonymous> (C:\Program Files\Epic Games\UE_4.22\Engine\Source\Programs\PixelStreaming\WebServers\SignallingWebServer\cirrus.js:615:6)
    at Module._compile (internal/modules/cjs/loader.js:701:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)
    at Module.load (internal/modules/cjs/loader.js:600:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:539:12)
    at Function.Module._load (internal/modules/cjs/loader.js:531:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:754:12)
Emitted 'error' event at:
    at emitErrorNT (net.js:1297:8)
    at process._tickCallback (internal/process/next_tick.js:63:19)
    at Function.Module.runMain (internal/modules/cjs/loader.js:757:11)
    at startup (internal/bootstrap/node.js:283:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
Press any key to continue . . .