I switched to Linux to follow the book, clearly the code was not tested on a Windows machine. Personally I don’t mind, but it may be a good idea for the author to test on a Windows machine given the number of Windows users. Alternatively, the book could suggest to Windows users to enable WSL2.
Thanks for letting me know, Paul! We had another thread on a very similar topic, but yes–WSL is probably the better work around for now, although I am also looking into making the npm stuff a little more cross-platform.