dcmeglio / hubitat-packagemanager

BSD 3-Clause "New" or "Revised" License
149 stars 56 forks source link

Error installing #129

Open smartin1471 opened 3 years ago

smartin1471 commented 3 years ago

Sorry if I'm such a noobie that I am doing something wrong, but you don't know what you don't know. I'm trying to install the hubitat-packagemanager on my habitat and getting the following message when I try to save:

Importing [groovy.json.internal.LazyMap] is not allowed

Can you give me any assistance with how to solve this?

dcmeglio commented 3 years ago

Where did you get the code from? The code doesn't import LazyMap so I'm confused why you'd get this error. Can you provide the exact url where you downloaded HPM? What version of Hubitat do youh have as well?

cjmorri1018 commented 3 years ago

EDIT- seems there are 2 versions floating around. 1.7 installed fine from copy paste while the 1.1.0 has the "LazyMap" error... I will go back track to find where I got the "bad" link to the "old code" and then updated the below accordingly..

EDIT - the "old code" is in "releases". Only 1.1.0 is in "Releases"

image

HI, I am a newb as well and have come to the same problem mentioned here.. Be gentle this is a whole new world for me :). I can only assume I have done something wrong.. .. Note I also posted over in the Hubitat community.

EDIT: - The below instructions will get you to the working version (v1.7.0) without the "LazyMap" issue.

I got the code from the below url. I first tried to "import" the custom app into Hubitat by just putting in the git hub url but it didnt do anything, so then I did the "Download Zip" from GitHub to my pc, extracted, opened in Notepad and copy/pasted the code into "New App" of Hubitat.

https://github.com/dcmeglio/hubitat-packagemanager --> Green Button "Download Code" --> Download Zip

image

NOTICE version 1.7.0

image

When using 1.1.0 I got the below.

image

Lamda604 commented 3 years ago

Had the same error with 1.1.0. Had to go to branches and download 1.7.0 for it to work without error. Hubitat Elevation® Platform Version 2.2.6.134 Hardware Version Rev C-7