alvinl/auto-trader

Cant find module.

Closed this issue · 11 comments

Hello , im having issues with step #8 of the windows guide. I have copied both config files to the stem folder. when i try to use the < node bin/stem auto.json > command it comes up with this error. What could be the issue? ( its me. lol. ) Thanks in advance for the help.

$ node bin/stem auto.json

module.js:340
throw err;
^
Error: Cannot find module 'C:\Users\Jukie\bin\stem'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:929:3

Looks like you're not inside the stem folder. Try running the command cd stem first and then try node bin/stem auto.json again.

I have done that. It still shows that error. What else could it be? Steps 1-7 worked. (afaik no errors happened)

I'm not sure what else it could be, I've tried reproducing that error and the only way I've been able to is by not being inside the right folder. Can you just verify by running the dir command and checking that you see the file package.json listed?

Very strange , i cant seem to make the < dir > command work. this is the output while im in the stem directory. http://i.imgur.com/11pOrZV.png . Im sure that i messed something up , but dont know what. I would like to say thanks again for the small help so far.

No worries and it looks like you're using Git bash (not the Command Prompt), in which case you should run ls instead of dir but you shouldn't be seeing the original error regardless. Try using the command prompt and see if that works.

Drats in command prompt i get the same error. ( dir works , as did ls in git ) I see the package.json listed. Should i start over and install everything from admin command prompt this time?

http://imgur.com/HE72yde is the output/error

Hmm that's pretty strange, you could try deleting the stem folder and git cloning it again. If that still doesn't work add me on Steam and I'll be able to help you out more tomorrow.

Oh, based on the last screenshot screenshot error it looks like either you didn't run npm install or npm install failed

Alright Alvinl , thanks for the help ill start over. Must have been my fault installing from git and not command prompt. Ill take you up on that offer for help tomorrow/ in the future. thanks for everything!

100% solved. Thanks again Alvin , you ROCK!