opentok-rtc
opentok-rtc copied to clipboard
ENOENT: no such file or directory, open 'C:\home\site\wwwroot\otrtc_\pipe\88cfa211-9d55-4f5f-b21e-a293c1bf5ea0.pid'
When starting server.js on windows azure app service the following error is thrown:
[LOG] 2021-01-21T16:02:06.500Z - OpenTokRTC Main: Setting up process. Run as a daemon: false Logfile: undefined
OpenTokRTC server started on port \\.\pipe\88cfa211-9d55-4f5f-b21e-a293c1bf5ea0
[LOG] 2021-01-21T16:02:06.761Z - OpenTokRTC Main: api.yml file read
[LOG] 2021-01-21T16:02:06.791Z - HTTP Server App: Starting process
[LOG] 2021-01-21T16:02:06.807Z - HTTP Server App: Loading implementation module: serverMethods.js
[LOG] 2021-01-21T16:02:12.995Z - HTTP Server App: Implementation module ( serverMethods.js ) read!
[LOG] 2021-01-21T16:02:13.729Z - HTTP Server App: Setting shared directory /shared/js handler to C:\home\site\wwwroot\node_modules\swagger-boilerplate\lib\shared
[LOG] 2021-01-21T16:02:13.779Z - HTTP Server App: Using middleware: setSecurityHeaders true
[LOG] 2021-01-21T16:02:13.789Z - HTTP Server App: Using middleware: configReady true
[LOG] 2021-01-21T16:02:13.789Z - HTTP Server App: Using middleware: securityHeaders true
[LOG] 2021-01-21T16:02:13.805Z - HTTP Server App: Using middleware: iframingOptions true
[LOG] 2021-01-21T16:02:13.821Z - HTTP Server App: Using middleware: featureEnabled true
[LOG] 2021-01-21T16:02:13.883Z - OpenTokRTC Main: Starting server at \\.\pipe\88cfa211-9d55-4f5f-b21e-a293c1bf5ea0 , static path: ./web
[LOG] 2021-01-21T16:02:13.883Z - OpenTokRTC Main: Configuration handler set! To reload the configuration just do a kill -SIGHUP
[ERROR] 2021-01-21T16:02:14.336Z - OpenTokRTC Main: Got an uncaught exception: [Error: ENOENT: no such file or directory, open 'C:\home\site\wwwroot\otrtc_\pipe\88cfa211-9d55-4f5f-b21e-a293c1bf5ea0.pid'] {
errno: -4058,
code: 'ENOENT',
syscall: 'open',
path: 'C:\\home\\site\\wwwroot\\otrtc_\\pipe\\88cfa211-9d55-4f5f-b21e-a293c1bf5ea0.pid'
} Error: ENOENT: no such file or directory, open 'C:\home\site\wwwroot\otrtc_\pipe\88cfa211-9d55-4f5f-b21e-a293c1bf5ea0.pid'
App seems to run withoput problems, but how to solve this error?
I think I did npm cache verify to fix that