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/`
I discovered that doing
npm
as root is something of an anti-pattern, and successfully rannpm install
as theubuntu
user.I executed the MariaDB script and renamed the generated config yml to config/config.yml, and yet...
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/
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.
No config file foundto Satyr can't distinguish between read errors and parse errors in config.yml 2 years agoSuper - that fixed it, thanks :)
Fixed in #13