mgilangjanuar / teledrive

The Google Drive/OneDrive/etc alternative using Telegram API

Home Page:https://teledriveapp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ERROR [11/11] RUN yarn workspaces run build

NightSommelier opened this issue · comments

Describe the bug
Launch error on step 11. You can see on the screenshot.

To Reproduce

  1. git clone git@github.com:mgilangjanuar/teledrive.git
  2. chmod +x install.docker.new.sh
  3. ./install.docker.new.sh
  4. Error on step 11.

Screenshots

Desktop (please complete the following information):

❯ docker --version
Docker version 20.10.23, build 7155243
❯ docker-compose --version
Docker Compose version v2.15.1

Tell me, please, how can I fix this? what is the problem?

This might or might not work:

In the end of your ~/.bash_profile file, add the following line:

export NODE_OPTIONS="--openssl-legacy-provider --no-experimental-fetch"

Save the file, restart all terminal, and it should work. And you shouldn't follow the documentation on the website since it's outdated. They forgot to update it, so the latest one, check it in the docs/ folder of this repository.