edumeet / edumeet-docker

eduMEET in docker container for version (4.x)
https://edumeet.org
MIT License
54 stars 42 forks source link

Trying to build with 3.5.0 release fails with resolver issues #30

Closed telmich closed 2 months ago

telmich commented 2 years ago

Changed in the Dockerfile:

ARG BRANCH=release-3.5.0

Running docker build -t edumeet . fails with:

 ---> 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%