Making Node.js Behave (Good Dog)

It has not taken me this long to install something for years. Years and years. AND YEARS.

The installer itself (as far as Windows goes) is fine. It’s an installer. Double click and done. That was easy. It was when I got to NPM that things got…well…bad.

Bad because I had to search the web for hours on what to do and every website only gave one or two pieces of the puzzle.

Let me be clear. I’ve become interested in Electron. Desktop apps made from websites? Sold. So I’m trying to find tutorials. Work through the steps to create an app. I have never run into anything so piecemeal. That’s okay.

There are so many assumptions that a person has a long history with Node.js. That they are going to know which directory to cd into (or that they are actually going to know what cd is and how to do it). So after several days of trying to get this far, I’ve done the following:

Installed Node.js (double click on the exe file)

Then after getting that far, nearly every site tells me to make sure I’ve installed NPM. The Node site tells me it is already installed. Tutorials then say to install the modules by opening the command line and typing npm install. Except you can’t just do that. It have been awhile but I know you need to be in the right directory. Windows searches and a few educated guesses mean I’ve gotten that far (with errors so may have to do that again).

Now what? Now I can see if I get to Electron.


Discover more from MJN Studio

Subscribe to get the latest posts sent to your email.

52 Stories
1/52
Outline: Dreamfire
3/10
I’ll publish, right or wrong; fools are my theme, let satire be my song.Lord Byron

Posted

in

by

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *