Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instructions aren't quite clear for me.. #97

Open
goobertthegoober opened this issue Jun 12, 2024 · 2 comments
Open

Instructions aren't quite clear for me.. #97

goobertthegoober opened this issue Jun 12, 2024 · 2 comments

Comments

@goobertthegoober
Copy link

Where should i do npm install? I don't know which of them all i use! Is it powershell or the windows console? Node said to do it in other place!

@nlutterman
Copy link

Either PowerShell or Windows Console (CMD) should work.

The command itself depends on whether you have added npm.exe to your PATH variable. If not, you have to refer to the executable's full path when invoking it, like "C:\Program Files\nodejs\npm" install

To simplify things, you can add the directory to the PATH environment variable like this:

setx path "%PATH%;C:\Program Files\nodejs"

Then after setting it, re-open whichever command line you're using as they only read it once upon startup.

So in short:

  1. Open either PowerShell or CMD
  2. Navigate to the base directory containing this repository's code
  3. From within that directory:
    • If PATH adjusted: npm install
    • If PATH NOT adjusted: "C:\Program Files\nodejs\npm" install
  4. Then, to start the server:
    • If PATH adjusted: npm run start
    • If PATH NOT adjusted: "C:\Program Files\nodejs\npm" run start

The server should then be running. That's all that's necessary.

@goobertthegoober
Copy link
Author

Either PowerShell or Windows Console (CMD) should work.

The command itself depends on whether you have added npm.exe to your PATH variable. If not, you have to refer to the executable's full path when invoking it, like "C:\Program Files\nodejs\npm" install

To simplify things, you can add the directory to the PATH environment variable like this:

setx path "%PATH%;C:\Program Files\nodejs"

Then after setting it, re-open whichever command line you're using as they only read it once upon startup.

So in short:

  1. Open either PowerShell or CMD

  2. Navigate to the base directory containing this repository's code

  3. From within that directory:

    • If PATH adjusted: npm install
    • If PATH NOT adjusted: "C:\Program Files\nodejs\npm" install
  4. Then, to start the server:

    • If PATH adjusted: npm run start
    • If PATH NOT adjusted: "C:\Program Files\nodejs\npm" run start

The server should then be running. That's all that's necessary.

Uh... Neither npm install or "C:\Program Files\nodejs\npm" install work. Did i miss something?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants