New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zigbee2mqtt won't start after upgrade to version 1.5.1: Cannot find module 'zigbee-herdsman/dist/ziee' #1892
Comments
Same problem here and I have not been able to fix, yet. |
After updating you need to do a |
I already did this before, finding your hint in another thread. But with no luck ...
|
Absolutely the same here. Trying to install on Raspebrry Pi Zero W. Node version 10.16.3, Npm 6.9.0 I am trying to do fresh install, no update. EDIT: EDIT 2:
|
Hey, I did faced the same issue, yesterday. Today I did some further testing. After doing a "npm audit fix" the "npm start" provides me with the same output as @Aberixis7306 provided earlier. Skipping the audit; "npm start" is coming up with:
Last line is only because I didn't moved the stick to the new environment yet.
Furthermore, I did tried "npm install zigbee-herdsman@0.6.0" and its going back to the same issue.
I hope I have been of help. Cheers |
Not running "npm audit fix" unfortunately did not solve my problem. I'll try a clean install within the next few days. What I also noticed is that the green LED on the CC2531 sniffer suddenly turns off about 1 minute after attaching the stick. I checked the serial port and the setting in "configuration.yaml" (/dev/ttyACM0), everything seems to be ok. |
Same here, regarding "npm audit fix." I will try a clean install, too. However, I am a novice with respect to RPi. What is the procedure for removing all the zigbee2mqtt programs to do a clean install? Thanks. |
Hey @Elliott32224, @Aberixis7306, you are right and sorry for late reply. A "rm -r node_modules & npm install" will not fix it. Please try after the install ("rm -r node_modules & npm install"): "npm install zigbee-herdsman@0.1.17". That is the version which gets installed with an initial installation of zigbee2mqtt_v.1.5.1.
npm install zigbee-herdsman@0.6.1
At least within the "npm-shrinkwrap.json" is after the first "npm audit fix" a reference to the new version. By today:
Regards |
By the way, I tested version 0.2.0 of zigbee-herdsman but that brings at least me back to the same issue. |
The security issues are solved in zigbee-herdsman 0.6.0, this will be integrated in the dev after 1.6 (see #1888) |
@wossix Once more thx |
I got past the herdsman issue with this fix, but have a new issue: YAMLException: can not read a block mapping entry; a multiline key may not be an implicit key at line 13, column 3... ??? This happens when I start the program. |
same problem here but with the docker image koenkk/zigbee2mqtt:arm32v6 |
Hi guys. I have also problem with this. I used "npm install zigbee-herdsman@0.1.17" but it didn't help: |
@tmechen did you map a custom zigbee shepherd converters? |
i mount https://github.com/Koenkk/zigbee-shepherd-converters, to add support for new devices, according to your guide, see following docker-compose. oh and this is running on a raspi 4, could this be a problem?
|
What if you remove it, does it start? |
Same here. Tried everything suggested in this thread but nothing did help. |
Can you help me how to reproduce this issue? I've tried with below but I don't get this error. Also what is the output of ls cd /tmp
git clone https://github.com/Koenkk/zigbee2mqtt.git
cd zigbee2mqtt
npm install
npm start |
Well, this is a new error .... |
@iz3man and others, please contact me on telegram (koenkk), in this way we can find and solve the problem faster. |
|
Together with @iz3man I found the cause of this problem. If
the problem can be fixed by running the following commands:
For those who ran into this issues, did you follow the update commands of https://www.zigbee2mqtt.io/getting_started/running_zigbee2mqtt.html#6-for-later-update-zigbee2mqtt-to-the-latest-version? I will close this issue for know, if somebody else has the same issue but cannot fixed it by the above commands please comment here. |
#1892 (comment) |
False alarm. Still it not working properly. 😔 |
Still the same error? |
Still the same here on a fresh install and not an update |
Please contact me on telegram (koenkk) |
Updated to 1.6.0 and it broke my Hassio installation as well. Reverting to 1.5.1.2 via snapshot fixes it.
|
@douglasjam this is probably fixed in the dev branch (hassio edge), can you check? |
Have the same issue after new installation. npm install zigbee-herdsman@0.1.17 didn't helped Anything else we can do? |
Just tried the "solution" mentioned above but the issue remained
manually updated the package.json and set "zigbee-herdsman": "0.5.7" insted of the 7 that was mentioned, did a |
Good morning Radiotechniman, first let me say "thank you". I think this is the solution. I try it, but I think I do anything wrong. I found the cie.js and found the mistake(s) in the file. I found also the /opt/zigbee2mqtt/package.json file and I change the value from "zigbee-herdsman": "^0.7.0" to "zigbee-herdsman": "^0.5.7". But after I did npm install, I had the same problem, the old value is set to "^0.7.0". Sorry, but I am a Linux beginner :-( |
I am still having this on a fresh install following the installation guide. None of the above posts seem to fix my issues either I made the mistake of updating, which killed my installation. I have then reflashed the pi SD card and started again from scratch. Same issues - with the following error: `> zigbee2mqtt@1.6.0 start /opt/zigbee2mqtt
internal/modules/cjs/loader.js:638 Error: Cannot find module 'zigbee-herdsman/dist/deprecated/ziee' npm ERR! A complete log of this run can be found in: |
hm, i'm completely new to z2m but initially ran on a blank RPI (stretch) machine in the same errors listed above. Is there any fix available that works, or only downgrade will help? Regards |
I'm totally new to this and had this issue, I followed the instructions to the letter. Running the commands above fixed the issue and now it's working for me.. :) |
Hi, i am facing the same Problem with fresh install on my Raspberry pi with openhabian. |
This fixed my problem after update. |
Hello all!
After upgrading to version 1.5.1 starting zigbee2mqtt it cannot find the module 'zigbee-herdsman/dist/ziee' and the service stops. I'm using openHAB on a Raspberry Pi 3B+.
Debug Info
zigbee2mqtt version: 1.5.1
CC253X firmware version: 20190608
Short debug listing:
Can somebody help me?
The text was updated successfully, but these errors were encountered: