Skip to content

Field doesn't contain a valid alias configuration error on docker build #16119

@AyoubGhaddab

Description

@AyoubGhaddab

Description

Hello, i wanted to install Element develop branch using docker; I have foloowed the steps mentioned in github:
sudo docker build -t chat

--build-arg USE_CUSTOM_SDKS=true

--build-arg REACT_SDK_REPO="https://github.com/matrix-org/matrix-react-sdk.git"

--build-arg REACT_SDK_BRANCH="develop"

--build-arg JS_SDK_REPO="https://github.com/matrix-org/matrix-js-sdk.git"

--build-arg JS_SDK_BRANCH="develop"

.
during the yarn install step, i have got this error:
using description file: /src/react-sdk/package.json (relative path: ./src)
Field 'matrix_src_browser' doesn't contain a valid alias configuration
Field 'browser' doesn't contain a valid alias configuration
using description file: /src/react-sdk/package.json (relative path: ./src/component-index)
no extension

how can I solve this ? thank you

Steps to reproduce

  • run docker build -t chat in Element web project

Version information

  • Platform: web (in-browser)

For the web app:

  • OS: Ubuntu

Metadata

Metadata

Assignees

Labels

A-PackagingPackaging, signing, releasingP1S-MajorSeverely degrades major functionality or product features, with no satisfactory workaroundT-Defect

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions