Thanks for your reply.
However, I do have the file dir-reader.js in fstream in my local pimatic-app folder as well as in /usr/local/lib, and they are identical.
Next to that: I have multiple versions of dir-reader.js also under other modules like sqlite3 in my pimatic-app modules folder structure.
-
Released pimatic@0.9.43
-
However, I do have the file dir-reader.js in fstream in my local pimatic-app folder as well as in /usr/local/lib, and they are identical.
Not sure why there is one in /usr/local/lib. It shouldn’t have any effect.
Next to that: I have multiple versions of dir-reader.js also under other modules like sqlite3 in my pimatic-app modules folder structure.
Same with me. That’s normal, because fstream seems to be a popular library. Nevertheless you still try do delete fstream from there and install it again like I wrote before. It’s worth a try, and I think i fixed it this way, too.
pimatic-hap - pimatic HomeKit bridge
pimatic-echo - Amazon echo integration
pimatic-dash-button - Amazon dash button support
pimatic-alarm - pimatic alarm system
Like my work? Then consider a donation
Follow me: https://twitter.com/michaelkotten -
@michbeck100 said in Released pimatic@0.9.43:
Same with me. That’s normal, because fstream seems to be a popular library. Nevertheless you still try do delete fstream from there and install it again like I wrote before. It’s worth a try, and I think i fixed it this way, too.
Removed it and reinstalled it. Rebooted and did the upgrade and again it doesn’t work and keeps complaining about the dir-reader.js npm not found.
I’m so experienced in restoring now. -
Anybody still experience the error, it worked today with the following:
Running
npm update pimatic
from the terminal and after a restart of pimatic, running the webupdater for the plugins, everything went ok without any errors$ npm -v 2.15.11
$ nodejs -v v4.9.1
-
This post is deleted!
-
I tried that and it seemed to have worked at first but after restart of the system pimatic will not start with the known errors
-
found on github - what about pimatic@0.9.44a
-
@nofrog Seems to include just i18n changes necessary for a successful build. @mwittig did the changes. Maybe he can tell more.
pimatic-hap - pimatic HomeKit bridge
pimatic-echo - Amazon echo integration
pimatic-dash-button - Amazon dash button support
pimatic-alarm - pimatic alarm system
Like my work? Then consider a donation
Follow me: https://twitter.com/michaelkotten -
This is a release for testing this. See
https://forum.pimatic.org/topic/4432/install-pimatic-failing/15"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
As @KaiR figured out, the release 0.9.43 seems to be running stable with node 8 (at least with the default config, no guarantee for your setup).
I’ve adapted the installation guide from https://pimatic.teamemo.com/Guide/Getting-Started:$ wget https://nodejs.org/dist/latest-v8.x/node-v8.15.0-linux-armv7l.tar.gz -P /tmp $ cd /usr/local $ sudo tar xzvf /tmp/node-v8.15.0-linux-armv7l.tar.gz --strip=1 $ sudo apt-get install build-essential git $ cd /home/pi $ mkdir pimatic-app $ npm install pimatic --prefix pimatic-app --production $ cd pimatic-app $ node node_modules/pimatic/pimatic.js
If you have node 4 installed you may follow this instructions to delete it before.
Please make sure you have a backup of your system! There is no guarantee that this procedure will work for your system!
pimatic-hap - pimatic HomeKit bridge
pimatic-echo - Amazon echo integration
pimatic-dash-button - Amazon dash button support
pimatic-alarm - pimatic alarm system
Like my work? Then consider a donation
Follow me: https://twitter.com/michaelkotten -
i tried .43 also on my mac and installed pimatic-raspbee. it works fine. while with your node_v8 version @michbeck100 it doesn’t without doing changes. you know why?
-
@sweebee said in Released pimatic@0.9.43:
you know why?
Yes, because I also switched to CoffeeScript 2 with ES6 compatibility. See here: https://forum.pimatic.org/topic/4509/node-v8-plugin-compatibility/8
pimatic-hap - pimatic HomeKit bridge
pimatic-echo - Amazon echo integration
pimatic-dash-button - Amazon dash button support
pimatic-alarm - pimatic alarm system
Like my work? Then consider a donation
Follow me: https://twitter.com/michaelkotten -
@sweebee Yes?
pimatic-hap - pimatic HomeKit bridge
pimatic-echo - Amazon echo integration
pimatic-dash-button - Amazon dash button support
pimatic-alarm - pimatic alarm system
Like my work? Then consider a donation
Follow me: https://twitter.com/michaelkotten