electron / electron

:electron: Build cross-platform desktop apps with JavaScript, HTML, and CSS

Home Page:https://electronjs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug]: Missing dependencies from lock file when using `npm ci`

opened this issue · comments

Preflight Checklist

Electron Version

^19.0.6

What operating system are you using?

Other (specify below)

Operating System Version

macos-latest, windows-latest, and ubuntu-latest all fail on Github Actions

What arch are you using?

x64

Last Known Working Electron version

No response

Expected Behavior

It should install all dependencies.

Actual Behavior

Can't install the deps due to missing dependencies from lockfile.
Logs: https://pastebin.com/aFkiVuFu

Testcase Gist URL

No response

Additional Information

On my machine, it gets to install all dependencies but I get:

sh: 1: electron-builder: command not found

from the preinstall script I suppose. I'm using the electron-react-typescript template.

Thanks for reaching out!

Because we treat our issues list as the team's backlog, we close issues that are questions since they don't represent a task needing to be completed. For most questions about Electron there are a lot of options.
Check out the Electron community. There are also a bunch of helpful people in this Discord that should be willing to point you in the right direction. Additionally, your problem is not to do with core Electron functionality. The Electron team does not maintain and is not responsible for electron-builder.