From 5e23e1492ecd4417c8f966b2b028851440f9da08 Mon Sep 17 00:00:00 2001 From: zefie Date: Sun, 31 Oct 2021 17:51:11 -0400 Subject: [PATCH] move node 17 flag to `npm start17` --- README.md | 2 +- zefie_wtvp_minisrv/package.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c7173aff..0a184bcd 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ This open source server is in beta status. Use at your own risk. - Verify you are in the same directory as `app.js`, then run `npm install` - Check any configuration. Create your override `user_config.json`. Especally `service_ip`. See [user_config_README.md](user_config_README.md) and [user_config.example.json](zefie_wtvp_minisrv/user_config.example.json) for more information. - **Note:** The intended use is for all custom config to be in `user_config.json` and any custom service files to go in `UserServiceVault`. If you do not care about potential issues with future `git pull`, and will manually add new upstream `config.json` entries, you could use the standard `ServiceVault` and `config.json` -- Run `npm start` +- Run `npm start` (note: if you are using node version 17 or newer, and are getting errors, try `npm start17`) - If you have trouble running it on Windows, try a Linux machine, Windows may need a full development enviroment or extra steps. - Test with a WebTV Viewer or connect with a real box - To connect with a real box, you will need to open ports in your firewall and have a way to connect your WebTV (and preferably reroute 10.0.0.1 to the server) diff --git a/zefie_wtvp_minisrv/package.json b/zefie_wtvp_minisrv/package.json index cae78b0c..d9126a16 100644 --- a/zefie_wtvp_minisrv/package.json +++ b/zefie_wtvp_minisrv/package.json @@ -6,7 +6,8 @@ "homepage": "https://github.com/zefie/zefie_wtvp_minisrv", "license": "GPL3", "scripts": { - "start": "node --openssl-legacy-provider app.js", + "start": "node app.js", + "start17": "node --openssl-legacy-provider app.js", "test": "node test.js" }, "author": {