cx88 / moomoo.js

Simple bot API for MooMoo.io
Apache License 2.0
3 stars 1 forks source link

Cant find module #1

Closed sonicrush closed 7 years ago

sonicrush commented 7 years ago

When i do require("moomoo.js") or var moo = require("moomoo.js") it cant find module image

sonicrush commented 7 years ago

And yes, i have installed it. i tried gobally also, that didnt work. image

sonicrush commented 7 years ago

after lots of time, i was able to fix the problem. For some reason, it makes and installs the Module folder in your users when its located in your program files, so this is what i did. i opened up to C:\Program Files\nodejs\node_modules in file explorer, and then opened up to C:\Users\whateveryourusernameis\node_modules and cut all the files in the user to the one in program files. after all that, i get this image Yay 👍