B3J4y / UniDisk

A Crawler to search for keywords and compare the score
MIT License
0 stars 1 forks source link

Docker compose funktioniert nicht #70

Open B3J4y opened 3 years ago

B3J4y commented 3 years ago

Ausgabe vom std::out von docker-compose:

[unidisk_frontend build 8/8] RUN npm run build:prod:
#21 1.010
#21 1.010 > unidisk-frontend@0.1.0 build:prod /app
#21 1.010 > REACT_APP_STAGE=prod react-scripts build
#21 1.010
#21 2.482 Creating an optimized production build...
#21 10.41 Failed to compile.
#21 10.41
#21 10.41 ./src/remote/services/Firebase.ts
#21 10.41 Cannot find file './../../firebase-config.json' in './src/remote/services'.
#21 10.41
#21 10.41
#21 10.44 npm ERR! code ELIFECYCLE
#21 10.44 npm ERR! errno 1
#21 10.44 npm ERR! unidisk-frontend@0.1.0 build:prod: `REACT_APP_STAGE=prod react-scripts build`
#21 10.45 npm ERR! Exit status 1
#21 10.45 npm ERR!
#21 10.45 npm ERR! Failed at the unidisk-frontend@0.1.0 build:prod script.
#21 10.45 npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
#21 10.46
#21 10.46 npm ERR! A complete log of this run can be found in:
#21 10.46 npm ERR!     /root/.npm/_logs/2021-08-31T08_41_01_556Z-debug.log
------
failed to solve: rpc error: code = Unknown desc = executor failed running [/bin/sh -c npm run build:prod]: exit code: 1

Ich finde das angegebene Log nicht, aber wie NPM auch schon sagt, wahrscheinlich ist der Failer davor aufgetreten.