Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker-compose up failed #117

Closed
enm10k opened this issue Nov 16, 2021 · 2 comments
Closed

docker-compose up failed #117

enm10k opened this issue Nov 16, 2021 · 2 comments

Comments

@enm10k
Copy link

enm10k commented Nov 16, 2021

Your environment.

  • Version: dc7e9f9
  • Browser: N/A
  • Other Information - N/A

What did you do?

I executed docker-compose -f docker-compose.yml up.
https://github.com/pion/ion-app-web/blame/master/README.md#L22

What did you expect?

The command finished successfully.

What happened?

I got the following error.

$ docker-compose -f docker-compose.yml up
...
Step 16/20 : RUN npm run build
 ---> Running in 92bd23391b7d

> [email protected] build
> webpack --mode=production --config webpack.config.js --env.production

Production:  true
Hash: c6060893667a42d09580
Version: webpack 4.43.0
Time: 20453ms
Built at: 11/16/2021 3:27:43 AM
 3 assets
Entrypoint main = ion-conference.c6060893667a42d09580.js ion-conference.c6060893667a42d09580.js.map
 [34] ./node_modules/uuid/dist/esm-browser/validate.js + 1 modules 274 bytes {0} [built]
      |    2 modules
[122] ./node_modules/uuid/dist/esm-browser/index.js + 9 modules 15.9 KiB {0} [built]
      |    10 modules
[226] ./src/settings/style.scss 569 bytes {0} [built]
[227] ./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/settings/style.scss 582 bytes {0} [built]
[244] ./src/chat/style.scss 569 bytes {0} [built]
[245] ./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/chat/style.scss 2.07 KiB {0} [built]
[246] ./styles/css/app.scss 567 bytes {0} [built]
[247] ./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./styles/css/app.scss 1.33 KiB {0} [built]
[252] ./styles/css/login.scss 569 bytes {0} [built]
[253] ./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./styles/css/login.scss 419 bytes {0} [built]
[337] ./src/videoview/style.scss 569 bytes {0} [built]
[339] ./styles/css/conference.scss 574 bytes {0} [built]
[355] ./styles/css/styles.scss 570 bytes {0} [built]
[356] ./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./styles/css/styles.scss 1.24 KiB {0} [built]
[357] ./src/index.jsx + 188 modules 842 KiB {0} [built]
      | ./src/index.jsx 245 bytes [built]
      | ./src/App.jsx 21 KiB [built]
      | ./src/settings/index.js 14.4 KiB [built]
      | ./src/ToolShare.js 2.34 KiB [built]
      | ./src/chat/index.js 2.18 KiB [built]
      | ./src/chat/message.js 308 bytes [built]
      | ./public/pion-logo.svg 80 bytes [built]
      | ./src/LoginForm.jsx 10.8 KiB [built]
      | ./src/Conference.jsx 14 KiB [built]
      | ./src/settings/soundmeter.js 1.92 KiB [built]
      | ./src/chat/ChatBubble.jsx 2.09 KiB [built]
      | ./src/chat/ChatInput.jsx 1.5 KiB [built]
      | ./src/videoview/index.jsx 206 bytes [built]
      | ./src/videoview/LocalVideoView.jsx 2.66 KiB [built]
      | ./src/videoview/MainVideoView.jsx 1.12 KiB [built]
      |     + 174 hidden modules
    + 483 hidden modules

ERROR in ./node_modules/ion-sdk-js/lib/signal/grpc-web-impl.js
Module not found: Error: Can't resolve '../_library/proto/sfu/sfu_pb' in '/app/node_modules/ion-sdk-js/lib/signal'
 @ ./node_modules/ion-sdk-js/lib/signal/grpc-web-impl.js 8:11-50
 @ ./node_modules/ion-sdk-js/lib/ion.js
 @ ./src/App.jsx
 @ ./src/index.jsx

ERROR in ./node_modules/ion-sdk-js/lib/signal/grpc-web-impl.js
Module not found: Error: Can't resolve '../_library/proto/sfu/sfu_pb_service' in '/app/node_modules/ion-sdk-js/lib/signal'
 @ ./node_modules/ion-sdk-js/lib/signal/grpc-web-impl.js 7:16-63
 @ ./node_modules/ion-sdk-js/lib/ion.js
 @ ./src/App.jsx
 @ ./src/index.jsx
Child HtmlWebpackCompiler:
     1 asset
    Entrypoint HtmlWebpackPlugin_0 = __child-HtmlWebpackPlugin_0
    [0] ./node_modules/html-webpack-plugin/lib/loader.js!./public/index.html 407 bytes {0} [built]
npm notice 
npm notice New major version of npm available! 7.7.6 -> 8.1.3
npm notice Changelog: <https://github.com/npm/cli/releases/tag/v8.1.3>
npm notice Run `npm install -g [email protected]` to update!
npm notice 
ERROR: Service 'web' failed to build: The command '/bin/sh -c npm run build' returned a non-zero code: 2
@enm10k enm10k changed the title docker-compose up failed on master branch docker-compose up failed Nov 16, 2021
@nosovk
Copy link
Contributor

nosovk commented Nov 17, 2021

https://pionion.github.io/deploy/docker/#4-deploy-ion-app-web-with-docker
docker-compose -f docker-compose.prod.yml up

that step from docs relays to that repo, which seems to be broken now

@nosovk nosovk mentioned this issue Nov 17, 2021
@adwpc adwpc closed this as completed Dec 4, 2021
@adwpc
Copy link
Contributor

adwpc commented Dec 4, 2021

Feel free to @ me if anyone want help with this repo or docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants