Following the instructions to set up: npm install runs fine. Created a .env file (for example, ani.env) in the directory C:\AniSchedule with the specified content. Running npm start creates the following error:
C:\AniSchedule>npm start
[email protected] start C:\AniSchedule
tsc && node dist/AniSchedule.js
internal/fs/utils.js:298
throw err;
^
Error: ENOENT: no such file or directory, open 'C:\AniSchedule\dist\query\Watching.graphql'
at Object.openSync (fs.js:465:3)
at Object.readFileSync (fs.js:368:35)
at Object. (C:\AniSchedule\dist\command\CommandWatching.js:16:28)
at Module._compile (internal/modules/cjs/loader.js:1201:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1221:10)
at Module.load (internal/modules/cjs/loader.js:1050:32)
at Function.Module._load (internal/modules/cjs/loader.js:938:14)
at Module.require (internal/modules/cjs/loader.js:1090:19)
at require (internal/modules/cjs/helpers.js:75:18)
at Object. (C:\AniSchedule\dist\command\Command.js:15:1) {
errno: -4058,
syscall: 'open',
code: 'ENOENT',
path: 'C:\AniSchedule\dist\query\Watching.graphql'
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: tsc && node dist/AniSchedule.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Plex\AppData\Roaming\npm-cache_logs\2020-07-23T01_30_52_288Z-debug.log
Troubleshooting so far: I've tried the last 5 node.js versions, also tried installed AniSchedule 1.13, 1.14, 1.15, 2.0.0.
Log:
2020-07-23T01_30_52_288Z-debug.log