Recently, I made the switch to EndeavourOS, which is based on Archlinux. I completed all my installations without any issues and attempted to create a new NestJs project after installing NVM, Node's latest version, and the NestJs/cli. However, when I tried creating the project using npm, the installation never finished and crashed. Perplexed, I decided to give Yarn a try, but encountered the same issue.
I searched for solutions online, but none of them seemed to work. In my terminal, I received the error message "There appears to be trouble with your network connection..." followed by "error An unexpected error occurred: 'https://registry.yarnpkg.com/ts-jest: aborted'."
I've attempted various fixes such as adjusting the timeout duration (up to 300000), forcefully clearing the cache, and reinstalling NestJs/client. I do not have a proxy setup, and I've attempted downloading over different connections including ethernet, wi-fi, and mobile hotspot - unfortunately, none of these worked.
It's worth noting that I am connected to a wifi network in a dormitory at a school. At this point, I'm running out of ideas on how to resolve this issue.
- Node version -> 18.14.1
- Nest version -> 9.2.0
- NVM version -> 0.39.3
- Yarn version -> 1.22.19