How to use nodemon without using npm install

Not allowed on my network npm install

. How do I install and use nodemon? Node should only be launched after Windows PATH variables are set. I tried to set the path for nodemon but I have no results.

+3


source to share


1 answer


The easiest way to install an npm package is to either log out of your network with a proxy, or just install the package when you are on a different network. The reason it's not that easy to just download it is because the npm packages have a list of dependencies that need to be installed along with it. Npm takes care of installing the dependency graph for you. If you try to install it manually, you will have to manually go to nodemon package.json

and install all its dependencies. It might not be too bad until you realize that you need to go through all these dependencies and install their dependencies, etc.

I am not affiliated with IPVanish at all , but I recently signed up for their service for the same reason as you. I have a VPN set up on my computer that connects to the IPVanish server and then my computer tunnels all internet traffic through that VPN. It's nice for simple anonymous web browsing, but more importantly, there is no way for network admins here to see where my traffic is going. It seems to me that I am just talking to a random server. They'll have to block every IPVanish server (and there are many!).

There are other alternatives out there, but they have good reviews and are only $ 10 per month. I haven't tried others, but I'm sure they are just as good.




If tunneling from your network or installing the module on a different network is not an option, I'm happy to install it myself and upload the zip of the completed installation to Google Drive so you can just extract it to the global npm folder. However, this obviously won't be a permanent solution for you, and while I have good intentions, you don't know me and I don't recommend downloading random stuff from unfamiliar Google Drive.

I recommend getting a friend to do the following from another network:

  • Install nodemon: npm install -g nodemon

  • Find where the global npm modules are installed: npm config get prefix

  • Go to the global npm module path, find the nodemon directory and close it.
  • Email / Dropbox you have an archive module.
  • On your computer, find out where the global npm modules are installed: npm config get prefix

  • Extract the nodemon zip to this location.
+3


source







All Articles