---> 28d4a305bf33
Step 16/32 : RUN npm run build
---> Running in aa42102898bf
> edumeet@3.5.0 build /opt/edumeet/app
> react-scripts build && rm -rf ../server/public && DEST='../server/dist/public' && rm -rf $DEST && mkdir -p $DEST && mv -T build/ $DEST
Creating an optimized production build...
Failed to compile.
src/components/ConfigDocumentation.tsx
Line 1:1: Resolve error: typescript with invalid interface loaded as resolver import/no-duplicates
Line 1:1: Resolve error: typescript with invalid interface loaded as resolver import/extensions
src/components/ConfigError.tsx
Line 1:1: Resolve error: typescript with invalid interface loaded as resolver import/no-duplicates
Line 1:1: Resolve error: typescript with invalid interface loaded as resolver import/extensions
src/components/VideoContainers/AudioAnalyzer.ts
Line 1:1: Resolve error: typescript with invalid interface loaded as resolver import/no-duplicates
Line 1:1: Resolve error: typescript with invalid interface loaded as resolver import/extensions
src/config.ts
Line 1:1: Resolve error: typescript with invalid interface loaded as resolver import/no-duplicates
src/transforms/receiver.ts
Line 1:1: Resolve error: typescript with invalid interface loaded as resolver import/extensions
Line 1:1: Resolve error: typescript with invalid interface loaded as resolver import/no-duplicates
Search for the keywords to learn more about each error.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! edumeet@3.5.0 build: `react-scripts build && rm -rf ../server/public && DEST='../server/dist/public' && rm -rf $DEST && mkdir -p $DEST && mv -T build/ $DEST`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the edumeet@3.5.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2022-02-11T17_17_10_693Z-debug.log
The command '/bin/sh -c npm run build' returned a non-zero code: 1
[18:22] nb3:edumeet-docker%
Changed in the Dockerfile:
Running
docker build -t edumeet .
fails with: