Skip to content

Failed to build Zen Browser #31

@bqsh

Description

@bqsh

I'm trying to build Zen Browser on Void Linux, but the build process fails during both download and bootstrap phases with different errors.

Steps to reproduce:

  1. Clone the repository
  2. Run npm run init
  3. Observe the failures

Full logs:

 npm run init

> [email protected] init
> npm run download && npm run import && npm run bootstrap


> [email protected] download
> surfer download

 WARNING Failed to get latest firefox version with error:
 WARNING Failed to check for updates.
The following error is a bug. Please open an issue on the surfer issue structure with a link to your repository and the output from this command.
The surfer issue tracker is located at: https://github.com/zen-browser/surfer/issues
00:00:00 Dynamic config 'brand not set, defaulting to 'unofficial'
00:00:00 Locating Firefox release 142.0.1...
00:00:00 Downloading Firefox release 142.0.1...

   ERROR An error occurred while running command ["download"]:

	Error: socket hang up
	
	• RedirectableRequest.handleRequestError (/tmp/desktop/node_modules/axios/lib/adapters/http.js:391:25)
	• RedirectableRequest.emit (node:events:518:28)
	• eventHandlers.<computed> (/tmp/desktop/node_modules/follow-redirects/index.js:49:24)
	• ClientRequest.emit (node:events:518:28)
	• emitErrorEvent (node:_http_client:104:11)
	• Socket.socketOnEnd (node:_http_client:542:5)
	• Socket.emit (node:events:530:35)
	• endReadableNT (node:internal/streams/readable:1698:12)
	• process.processTicksAndRejections (node:internal/process/task_queues:90:21)

00:00:00 Exiting due to error.

npm run download

> [email protected] download
> surfer download

 WARNING Failed to get latest firefox version with error:
 WARNING Failed to check for updates.
The following error is a bug. Please open an issue on the surfer issue structure with a link to your repository and the output from this command.
The surfer issue tracker is located at: https://github.com/zen-browser/surfer/issues
00:00:00 Dynamic config 'brand not set, defaulting to 'unofficial'
00:00:00 Locating Firefox release 142.0.1...
00:00:00 Downloading Firefox release 142.0.1...

   ERROR An error occurred while running command ["download"]:

	Error: socket hang up
	
	• RedirectableRequest.handleRequestError (/tmp/desktop/node_modules/axios/lib/adapters/http.js:391:25)
	• RedirectableRequest.emit (node:events:518:28)
	• eventHandlers.<computed> (/tmp/desktop/node_modules/follow-redirects/index.js:49:24)
	• ClientRequest.emit (node:events:518:28)
	• emitErrorEvent (node:_http_client:104:11)
	• Socket.socketOnEnd (node:_http_client:542:5)
	• Socket.emit (node:events:530:35)
	• endReadableNT (node:internal/streams/readable:1698:12)
	• process.processTicksAndRejections (node:internal/process/task_queues:90:21)

00:00:00 Exiting due to error.


npm run bootstrap

> [email protected] bootstrap
> surfer bootstrap

 WARNING Failed to get latest firefox version with error:
 WARNING Failed to check for updates.
The following error is a bug. Please open an issue on the surfer issue structure with a link to your repository and the output from this command.
The surfer issue tracker is located at: https://github.com/zen-browser/surfer/issues
00:00:00 Bootstrapping Zen Browser...
Passing through to |mach bootstrap|

   ERROR An error occurred while running command ["bootstrap"]:

	Error: spawn ./mach ENOENT
	
	• onErrorNT (node:internal/child_process:483:16)
	• process.processTicksAndRejections (node:internal/process/task_queues:90:21)

00:00:00 Exiting due to error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions