ivanseidel/IAMDinosaur

Confused by Install Steps

Opened this issue · 11 comments

anb43 commented

I installed Node.js, and where I go from there is maddening. What does 'run 'npm install' within this folder' mean? What does 'run 'node index' within this folder' mean?

I had assumed you'd just type "npm install/node index (folder location)", but 'npm install' tells me "npm should be run outside of the node repl, in your normal shell"

I'm stuck and this is one of the most ingenious things I've come across, and I'd like to see more. If anyone is more experienced with this stuff I'd greatly appreciate the help.

You should cd into the folder, and then run npm install/node index when inside the folder.

First, you'll have to install Node.js: https://nodejs.org/en/

anb43 commented

Well, randy, I already have Node. Mishka, I tried to cd in, but it seems it won't work either.

What @mishka1980 said to do worked perfectly fine for me.

@anb43 What is your error message?

anb43 commented

http://prntscr.com/cw224r
Reference Error; Syntax Error, am I not doing this correctly?

You have to run this in your terminal, not in Node.js.

anb43 commented

Which terminal? The CLI, cmd?

anb43 commented

I did it in cmd, I tried the other day and the problem still persists with just giving me errors.
http://prntscr.com/cw26yw

@anb43 it looks like you have some missing tools that robotjs requires. I had similar errors while running this on windows. This helped me fix/install those missing tools:
https://www.npmjs.com/package/windows-build-tools

run the following in your cmd window (make sure it is running as administrator)
npm install --global --production windows-build-tools

Hi @tiagosomda, your tip was very usefull. I suggest you to add this on the readme, it can help other people.

Thanks