pjatk21 / alt-api

Twórz zapytania do planu zajęć PJATK w ciągu milisekund. Dobra alternatywa dla oryginalnej strony z 2010. :shipit:
https://altapi.kpostek.dev
7 stars 0 forks source link

Docker nie kompiluje się z yarn v2 #25

Closed kpostekk closed 2 years ago

kpostekk commented 2 years ago

Instalacja paczek przebiega bez problemu, jednakże yarn build zwraca błąd:

 => ERROR [16/19] RUN yarn build                                                                                                                1.2s 
------
 > [16/19] RUN yarn build:
#20 1.124 Usage Error: Couldn't find the node_modules state file - running an install might help (findPackageLocation)
#20 1.124
#20 1.124 $ yarn run [--inspect] [--inspect-brk] [-T,--top-level] [-B,--binaries-only] <scriptName> ...
------
executor failed running [/bin/sh -c yarn build]: exit code: 1
rafalopilowski1 commented 2 years ago

@kpostekk

yarn install && yarn installDeps

taką komendę trzeba wykonać przed yarn install wg Internetu

rafalopilowski1 commented 2 years ago

Hmm 🤔

https://github.com/yarnpkg/yarn/issues/2240