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

build-electron offline #17579

Closed
firstdeepfeel opened this issue Oct 16, 2024 · 2 comments
Closed

build-electron offline #17579

firstdeepfeel opened this issue Oct 16, 2024 · 2 comments

Comments

@firstdeepfeel
Copy link

firstdeepfeel commented Oct 16, 2024

What happened?

When I package an electron in an offline model, I get the error 'electron/packager could not build' Getaddrinfo ENOTFFOUND GitHub. After successfully packaging it on a computer with a network, I copied the npm cache and npm to the internal network computer, as well as the node modules All offline resources are ready
/npm WARN config production Use --omit=dev` instead.

added 182 packages in 13m

14 packages are looking for funding
run npm fund for details
App • Bundling app with electron/packager...

App • ⚠️ FAIL electron/packager could not build

RequestError: getaddrinfo ENOTFOUND github.com

undefined

App • ⚠️ FAIL Failed to finalize build (check the log above)`

What did you expect to happen?

build successful

Reproduction URL

https://codesandbox.io/p/devbox/ywtlc4?file=%2Fpackage.json

How to reproduce?

  1. Copy the packaged NPC cache to an offline computer
  2. Copy the packaged node modules to an offline computer
  3. Run build electron with an offline computer

Flavour

Quasar CLI with Webpack (@quasar/cli | @quasar/app-webpack)

Areas

Electron Mode

Platforms/Browsers

Electron

Quasar info output

No response

Relevant log output

npm WARN config production Use `--omit=dev` instead.

added 182 packages in 13m

14 packages are looking for funding
  run `npm fund` for details
 App • Bundling app with electron/packager...


 App • ⚠️   FAIL  electron/packager could not build

RequestError: getaddrinfo ENOTFOUND github.com

undefined

 App • ⚠️   FAIL  Failed to finalize build (check the log above)

Additional context

No response

Copy link

Hi @firstdeepfeel! 👋

It looks like you provided an invalid or unsupported reproduction URL.
Do not use any service other than Codepen, jsFiddle, StackBlitz, Codesandbox, and GitHub.
Make sure the URL you provided is correct and reachable. You can test it by visiting it in a private tab, another device, etc.
Please edit your original post above and provide a valid reproduction URL as explained.

Without a proper reproduction, your issue will have to get closed.

Thank you for your collaboration. 👏

@rstoenescu
Copy link
Member

Hi,

This should be reported to the @electron/packager team. We have no control over it. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants