Satyr can't distinguish between read errors and parse errors in config.yml #6

Closed
opened 2020-10-20 17:55:41 -05:00 by Ghost · 4 comments

I discovered that doing npm as root is something of an anti-pattern, and successfully ran npm install as the ubuntu user.

I executed the MariaDB script and renamed the generated config yml to config/config.yml, and yet...

ubuntu@ip-172-31-19-107:~/satyr$ npm run start

> satyr@0.10.1 start /home/ubuntu/satyr
> ts-node src/index.ts

No config file found. Exiting.
ubuntu@ip-172-31-19-107:~/satyr$ ls -l config/config.yml 
-rw-rw-r-- 1 ubuntu ubuntu 1330 Oct 20 22:40 config/config.yml

Suggestions welcome!

I discovered that doing `npm` as root is something of an anti-pattern, and successfully ran `npm install` as the `ubuntu` user. I executed the MariaDB script and renamed the generated config yml to config/config.yml, and yet... ``` ubuntu@ip-172-31-19-107:~/satyr$ npm run start > satyr@0.10.1 start /home/ubuntu/satyr > ts-node src/index.ts No config file found. Exiting. ubuntu@ip-172-31-19-107:~/satyr$ ls -l config/config.yml -rw-rw-r-- 1 ubuntu ubuntu 1330 Oct 20 22:40 config/config.yml ``` Suggestions welcome!

There's an error in the generated config syntax. I've pushed a fix.

To fix yours, go to the last line of config.yml and add a closing ' to the end of ingest: 'rtmp://live-ord02.twitch.tv/app/

There's an error in the generated config syntax. I've pushed a fix. To fix yours, go to the last line of config.yml and add a closing ' to the end of `ingest: 'rtmp://live-ord02.twitch.tv/app/`

It does raise the issue that satyr can't distinguish between syntax errors and file read errors though. I'm going to leave this open and change title.

It does raise the issue that satyr can't distinguish between syntax errors and file read errors though. I'm going to leave this open and change title.
knotteye changed title from No config file found to Satyr can't distinguish between read errors and parse errors in config.yml 2020-10-24 22:59:32 -05:00

Super - that fixed it, thanks :)

Super - that fixed it, thanks :)

Fixed in #13

Fixed in #13
This repo is archived. You cannot comment on issues.
No Milestone
No Assignees
2 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: knotteye/satyr#6
There is no content yet.