IAMDinosaur icon indicating copy to clipboard operation
IAMDinosaur copied to clipboard

Confused by Install Steps

Open anb43 opened this issue 8 years ago • 11 comments

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.

anb43 avatar Oct 16 '16 05:10 anb43

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

mishka1980 avatar Oct 17 '16 01:10 mishka1980

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

randyfortier avatar Oct 17 '16 10:10 randyfortier

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

anb43 avatar Oct 17 '16 15:10 anb43

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

kelvinkellner avatar Oct 19 '16 00:10 kelvinkellner

@anb43 What is your error message?

mishka1980 avatar Oct 19 '16 00:10 mishka1980

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

anb43 avatar Oct 19 '16 00:10 anb43

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

mishka1980 avatar Oct 19 '16 00:10 mishka1980

Which terminal? The CLI, cmd?

anb43 avatar Oct 19 '16 00:10 anb43

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 avatar Oct 19 '16 01:10 anb43

@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

tiagosomda avatar Nov 17 '16 02:11 tiagosomda

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

Thanks

Betanin avatar Dec 04 '16 13:12 Betanin