Skip to content

Element Desktop build with docker fails #1778

@psachs91

Description

@psachs91

Steps to reproduce

I've tried to build Element using Docker as described in the README.

Steps I've done:

  1. git clone https://github.com/element-hq/element-desktop.git
  2. cd element-desktop
  3. yarn install
  4. yarn run fetch --noverify --cfgdir "myconfig"
  5. yarn run docker:setup
  6. yarn run docker:install
  7. yarn run docker:build:native

Outcome

What did you expect?

Build without errors.

What happened instead?

Following error:

yarn run docker:build:native
yarn run v1.22.19
$ scripts/in-docker.sh yarn run hak
yarn run v1.22.22
error Couldn't find a package.json file in "/"
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

The missing package.json is present.

Operating system

No response

Application version

No response

How did you install the app?

No response

Homeserver

No response

Will you send logs?

No

Metadata

Metadata

Assignees

Labels

A-PackagingPackaging, signing, releasingO-UncommonMost users are unlikely to come across this or unexpected workflowT-DefectX-Regression

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions