kclyu / rpi-webrtc-streamer

This repo's objective is providing something like Web Cam server on the most popular Raspberry PI hardware. By integrating [WebRTC](https://webrtc.org/native-code/) and Raspberry PI, we can stream the Raspberry camera feed to browser or native client which talks WebRTC.
Other
617 stars 108 forks source link

Error: ENOENT: no such file or directory, open 'logs/all-logs.log' #108

Open poplarbeargi opened 3 years ago

poplarbeargi commented 3 years ago

Anyone can help me figure this one out? I got this when I use the command 'node rws-proxy.js'

info: AuthStatueChanged User : SignOut events.js:292 throw er; // Unhandled 'error' event ^

Error: ENOENT: no such file or directory, open 'logs/all-logs.log' Emitted 'error' event on instance at: at WriteStream. (/home/pi/rpi-webrtc-streamer-frontend/web/workspace/rpi-webrtc-streamer-frontend/proxy/node_modules/winston/lib/winston/transports/file.js:491:16) at WriteStream.emit (events.js:315:20) at internal/fs/streams.js:361:12 at FSReqCallback.oncomplete (fs.js:156:23) { errno: -2, code: 'ENOENT', syscall: 'open', path: 'logs/all-logs.log'