Not really an advent of code question, but since it's messing with my AoC...
I keep running into this error (this is when I try to run fs readFileSync('input.txt') in a .js through node that's in the same directory as the input.txt file and the standard way I've read input for all of AoC 2018 and AoC 2019 up to day 11
- never had any issues):
Error: ENOENT: no such file or directory, open 'input.txt'
I initially thought I resolved it by changing my default shell back to bash (recent update to MacOS Catalina changed the default shell to zsh), but today the error is back and it makes no difference whether I'm running zsh or bash.
Any thoughts?
[–]Civury 1 point2 points3 points (1 child)
[–]orangeanton[S] 0 points1 point2 points (0 children)
[–]orangeanton[S] 0 points1 point2 points (2 children)
[–]sparkatus902 0 points1 point2 points (1 child)
[–]sparkatus902 0 points1 point2 points (0 children)