Read the statement by Michael Teeuw here.
Its may a problem with node_helper
-
I think its node_helper issue…
What was it you changed to fix that?
Thanks again for building this
-
hey @Phate
sorry for the late answer. was a bit busy these days :o
you need to install the dependencies directly in the MMM-Bitcoin folder to run the request.
hope you will get it run ;)my problem at the beginning of writing the module was just a wrong file name of module_helper.js. yes i know, it was a bit stupid…
i started mining with some usb asic miners. if i remember it right, they had about 300Mhash each :D
a module to get any type of data would a bit complicated because you need to know what kind of fields you have in you json. a real dynamic module for any json input would be over my horizon i guess. but if i have some time, i would give it i try ;)
-
No problem at all mate… Appreciate any help at all lol
USB little blade things… I skipped that stage… Went GPU rig straight to larger ASICS… Cost a fortune at the time tho lol
My issue is installing the dependencies in the actual Bitcoin module folder… it throws an error…
I’ll try again now and see if I can copy paste the error
In case I’m doing this wrong…
Cd into module folder MMM-Bitcoin
npm install request
-
I’ve tried a bunch of different ways to get the dependencies installed in the modules folder… No luck…
Keep getting:
ENOENT: no such file or directory, open '/home/pi/MagicMirror/modules/package.json ENOENT: no such file or directory, open '/home/pi/MagicMirror/modules/node_helper/package.json
I’m guessing I’m still doing something wrong
Note from admin: Please use Markdown on code and console output for easier reading!
-
I haven’t had another chance to have a play yet. Think I need a reinstall of the whole magic mirror system. Start fresh.
It occurs to me tho that I should be able to adapt you module to lookup an address balance…
I love the idea of being able to set notifications for the price… Haven’t been able to see how that works yet but I wonder if a config setting is possible where it takes the previous value and indicates the price changes compared to the new price… i.e. up or down
Again awesome job… can’t believe how quick some of you guys write these modules… lol
-
Ahoi @Phate
had this problem a few weeks ago. dont remember how i fixed it :D
You can try to copy the dependency by your own to …/MMM-Bitcoin/node_modules/request/.
but i am not sure if this will work…a comparison between to prices should not be a big problem ;)
-
I was hoping you’d say this was the case… I’ll give it a try… Seen in another thread somewhere that someone had to do that to…
See how I go…
Cheers
-
Nope… Still no luck…
I’ve seen the issue elsewhere so its not just me having issues with modules and dependencies…
hmmmmmmm
-
Ok full fresh install…
Nothing… same dependencies issue… No matter how I try and install it or copy files over…
-
while working on the comparison, i found a problem with the request.
The problem is that the mirror only starts on request.In my config i have 3 modules using request: MMM_Traffic, MMM-Bitcoin and the default newsfeed module. if i run only run one of them, they work nicely! if there is more than one, only the first module in the config gets the data. the other only try to load the content.
working with node.js is new for me, so i dont have any experience with it. i cant solve the problem by my one at this point. i hope anyone here has a solution.
BTW: Comparison works nicely^^