cottojon / scribe

NASA Kennedy Space Center Scribe Web Application
4 stars 0 forks source link

Building frontend docker container fails #8

Closed monik3r closed 4 years ago

monik3r commented 5 years ago

Could be that the container isn't ready to be built yet, but while testing for container disk space utilization I attempted to build the frontend container with docker built -t frontend

Got the following on step 7:

Step 7/9 : RUN ng build --prod && rm -R src
 ---> Running in ae6b30790956

Date: 2019-10-05T06:12:54.499Z
Hash: feebf91aaa78c46ba3c2
Time: 9659ms
chunk {scripts} scripts.ea9a7b51b5073e2a08c5.js (scripts) 161 kB  [rendered]
chunk {0} runtime.ec2944dd8b20ec099bf3.js (runtime) 1.41 kB [entry] [rendered]
chunk {1} main.9868d9b237c3a48c54da.js (main) 128 bytes [initial] [rendered]
chunk {2} polyfills.85f47f0bf59079cbc23a.js (polyfills) 130 bytes [initial] [rendered]
chunk {3} styles.7cb0ab09953a8ce64c41.css (styles) 226 kB [initial] [rendered]

ERROR in src/app/views/main-view/main-view.component.html(31,50): : Property 'authService' is private and only accessible within class 'MainViewComponent'.

The command '/bin/sh -c ng build --prod && rm -R src' returned a non-zero code: 1

It might be too soon to be an issue, but figured it might be worth noting just in case.

Kepter commented 4 years ago

Odd that this only causes an error when building for prod. Oh well I fixed it.