-
-
Notifications
You must be signed in to change notification settings - Fork 205
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
Cannot check for firmware updates ... Cannot find package 'p-queue' #3953
Comments
is |
I build on a different VM than I run zwave-js on, so I use the package.sh script to bundle the build into a binary and copy that over. |
The package flow changed, now there is the need to firstly create the esm bundle. I suggest you to use the builds you find in releases instead |
I see. Thank you for that lead! That gave me enough info to research how to do the rest and I've built a functional pkg again. Does the code path in package.sh for the non-$1 case (this else block) even still make sense? From this distance and with the context of your reply, it kind of looks like the official build processes never run that code anymore, but it's a huge red herring for someone who's an experienced developer but not with Node specifically. But I might be talking out my bum since I don't know Node or this codebase super well. Would it make sense to mention the need to |
Yeah that code isn't used anymore I just kept it there after I introduced the bundle in case there were some issues with it. Anyway git instructions only mention how to build your project to be run locally not how to create your own packaged binary, that's a really edge case usage IMO as most users will go for docker/snap/npm |
Checklist
Deploy method
Manually built (git clone - npm run build - npm install
Z-Wave JS UI version
9.23.0 (6420ee4)
ZwaveJS version
13.9.0
Describe the bug
The affected code seems to be in the node-zwave-js module but the bug reporting instructions there told me to report it here instead. Granted, these instructions tell me to file a bug against hass core, but I'm not doing that. I can reproduce without involving hass. I tried wiping my entire zwavejs2mqtt git repo and rebuilding from a fresh checkout, as I've occasionally had weird issues that
npm run clean
won't fix, but that didn't help.When opening the "OTA Updates" section for any device in the zwave-js-ui, I receive the following messages in the UI and zwave-js-ui "log" (stderr):
These messages don't appear in the driver log, although the following similar one does:
I don't do any NodeJS dev, so I'm a but out of my element here, but my guess is that this is somehow related to using Node 18 (blame Debian) which is still listed as supported.
There doesn't seem to be any other relevant information in the logs, but I'm happy to provide any additional information/test solutions as needed.
To Reproduce
Expected behavior
Additional context
The text was updated successfully, but these errors were encountered: