Skip to content
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

9.27.4 -linux and -linux-arm zip executables won't run, Error: Cannot find module '../../package.json' #4027

Closed
3 tasks done
luckyjay opened this issue Nov 21, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@luckyjay
Copy link
Contributor

Checklist

  • I am not using Home Assistant. Or: a developer has told me to come here.
  • I have checked the troubleshooting section and my problem is not described there.
  • I have read the changelog and my problem is not mentioned there.

Deploy method

PKG executable

Z-Wave JS UI version

9.27.4

ZwaveJS version

Version that came with release PKG

Describe the bug

Ubuntu 24 LTS, ARM64 (aarch64) on an RPI4, getting a startup failure using the zwave-js-ui-v9.27.4-linux-arm64.zip package, shown below. 9.27.3 is okay.

image

To Reproduce

Download the arm64 zip, attempt to run the zwave-js-ui executable.

Expected behavior

Normal execution

Additional context

No response

@luckyjay luckyjay added the bug Something isn't working label Nov 21, 2024
@wallenium
Copy link

same issue here on Proxmox

@luckyjay luckyjay changed the title 9.27.4 linux-arm64 zip executable won't run, Error: Cannot find module '../../package.json' 9.27.4 -linux and -linux-arm zip executables won't run, Error: Cannot find module '../../package.json' Nov 21, 2024
@kpanchen
Copy link

kpanchen commented Nov 21, 2024

Yes, same issue here, 9.27.4 on Ubuntu 24 LTS x64 (not arm), 9.27.3 works fine.

@RWeinberg3
Copy link

Same issue on Windows 11

@robertsLando
Copy link
Member

@AlCalzone For some reason esbuild is not including @zwave-js/server package.json in bundle starting from final version:

// node_modules/@zwave-js/server/dist-esm/lib/const.js
init_esbuild_import_meta_url_shim();
var import_node_module2 = require("node:module");
var require4 = (0, import_node_module2.createRequire)(__import_meta_url);
var version = require4("../../package.json").version;
var minSchemaVersion = 0;
var maxSchemaVersion = 40;
var applicationName = "zwave-js-server";
var dnssdServiceType = applicationName;

Fixing this now. cc @AlCalzone

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants