-
Notifications
You must be signed in to change notification settings - Fork 9
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
npm run build failing #31
Comments
node -v: v16.17.0 |
Noticed this when trying to run ╰─ npm run build
> nody-greeter@1.5.1 build
> npm run build:tsc && node make build
> nody-greeter@1.5.1 build:tsc
> tsc --build && npm run build:themes
> nody-greeter@1.5.1 build:themes
> npm run build:theme:gruvbox && npm run build:theme:dracula
> nody-greeter@1.5.1 build:theme:gruvbox
> tsc --build themes/themes/gruvbox
> nody-greeter@1.5.1 build:theme:dracula
> tsc --build themes/themes/dracula
Building with prefix: /usr
Bindings copied
✔ Bindings compiled succesfully
Resources copied
Installing packages with 'npm ci --production -s'
Error: Command failed: npm ci --production -s
at checkExecSyncError (node:child_process:871:11)
at Object.execSync (node:child_process:943:15)
at create_build (/home/crylia/nody-greeter/build.js:157:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async build (/home/crylia/nody-greeter/build.js:352:3) {
status: 1,
signal: null,
output: [ null, null, null ],
pid: 135427,
stdout: null,
stderr: null
}
Node-gtk binding for electron found!
Binding copied
INSTALL_ROOT (build/unpacked) prepared
Creating 'asar' package in '/home/crylia/nody-greeter/build/unpacked/opt/nody-greeter/resources/app.asar'
✔ "asar" package created
SUCCESS! I also switched to a different nodejs version for this one to rule that out (v18.9.0 and 8.19.1 for npm) |
Ah, this happens sometimes when re-building, but it's unusual. Just delete everything inside |
I did it now a few times and also recloned but I'm still getting this error after
|
That is an error from node-gyp-bins, related to #29. I have yet to find a solution for it. |
I'm getting the same error message:
node -v: v18.12.1 Is there any known resolution for this yet? |
Check out if the latest commit 27495a5 solves this issue. |
I was able to build successfully on the latest commit, I haven't tested it yet though |
Can confirm that it now works correctly when I run with |
You can't run a browser, at least a chromium one, with root privilegies without adding the Though, you don't need to add this flag in any config file as LightDM will run the greeter with its own user that doesn't have root privilegies. Hence, that "issue" should never occur in a real LightDM environment. |
My LightDM seems to try to run it as root, I get the following message in
So maybe my LightDM is not configured right |
Which distro u using? |
Gentoo, I fixed it now, I had to enable the |
Oh, nais! |
Environment
Bug description
Trying to do anything with nody-greeter in the terminal outputs this:
Steps to reproduce
Installed by building myself as describes in this repo
Literally no idea whats happening
The text was updated successfully, but these errors were encountered: