-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
beszel: init at 0.6.2 #345444
beszel: init at 0.6.2 #345444
Conversation
Result of 1 package failed to build:
See beszel-0.5.0-error.log for details |
Result of 1 package failed to build:
beszel> npm error code 1
beszel> npm error path /private/tmp/nix-build-beszel-0.5.0.drv-0/source/beszel/site/node_modules/esbuild
beszel> npm error command failed
beszel> npm error command sh -c node install.js
beszel> npm error [esbuild] Failed to find package "@esbuild/darwin-x64" on the file system
beszel> npm error
beszel> npm error This can happen if you use the "--no-optional" flag. The "optionalDependencies"
beszel> npm error package.json feature is used by esbuild to install the correct binary executable
beszel> npm error for your current platform. This install script will now attempt to work around
beszel> npm error this. If that fails, you need to remove the "--no-optional" flag to use esbuild.
beszel> npm error
beszel> npm error [esbuild] Trying to install package "@esbuild/darwin-x64" using npm
beszel> npm error [esbuild] Failed to install package "@esbuild/darwin-x64" using npm: Command failed: npm install --loglevel=error --prefer-offline --no-audit --progress=false @esbuild/[email protected]
beszel> npm error npm error code ENOTCACHED
beszel> npm error npm error request to https://registry.npmjs.org/@esbuild%2fdarwin-x64 failed: cache mode is 'only-if-cached' but no cached response is available.
beszel> npm error npm error Log files were not written due to an error writing to the directory: /nix/store/ag4lal4pnjbiczrvhwmj1zrc129k25vm-beszel-0.5.0-npm-deps/_logs
beszel> npm error npm error You can rerun the command with `--loglevel=verbose` to see the logs in your terminal
beszel> npm error
beszel> npm error [esbuild] Trying to download "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.21.5.tgz"
beszel> npm error [esbuild] Failed to download "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.21.5.tgz": unable to get local issuer certificate
beszel> npm error /private/tmp/nix-build-beszel-0.5.0.drv-0/source/beszel/site/node_modules/esbuild/install.js:273
beszel> npm error throw new Error(`Failed to install package "${pkg}"`);
beszel> npm error ^
beszel> npm error
beszel> npm error Error: Failed to install package "@esbuild/darwin-x64"
beszel> npm error at checkAndPreparePackage (/private/tmp/nix-build-beszel-0.5.0.drv-0/source/beszel/site/node_modules/esbuild/install.js:273:15)
beszel> npm error at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
beszel> npm error
beszel> npm error Node.js v20.17.0
beszel> npm error Log files were not written due to an error writing to the directory: /nix/store/ag4lal4pnjbiczrvhwmj1zrc129k25vm-beszel-0.5.0-npm-deps/_logs
beszel> npm error You can rerun the command with `--loglevel=verbose` to see the logs in your terminal |
@afh @mirkolenz I'm interested in how to fix it. I can find it build failed in ofborg. |
86d48c5
to
c334867
Compare
@Aleksanaa Done. |
@ofborg build beszel |
Why succeed on x86 but fail on arm64. |
@Aleksanaa Done. |
Have you tested that this program runs and works correctly? |
@emilazy Yes. |
Okay, if you’ve checked that the web server runs and the UI works correctly and reports statistics then this seems fine to me. |
This package only contains the web UI, not the agent required to actually record any monitoring data. Is it intentional that you have not packaged the agent and that it is not possible to monitor NixOS systems with this software? @MisileLab Is this package useful to you with only the web UI and no agent? |
actually my friend requested, I'll check it |
so I viewed docs and agent need to packaged. |
Ah, apologies; I missed that executable. We shouldn’t install it as |
@emilazy I have renamed it to beszel- |
@Aleksanaa Done. agent are used as server and hub are used as client. |
@Bot-wxt1221 I started the same work (I didn't notice it was already in progress). Wanna collaborate? At the moment I have the packages for I see your package has a patch for |
You can rebase on top of this and add module in a separated PR. |
Description of changes
Fix #345389
package-lock.json: henrygd/beszel#192
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.