Coder Social home page Coder Social logo

thilo-behnke / wasm-pong Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 1.0 992 KB

Pong in rust/wasm. Online multiplayer using kafka events.

License: Other

Rust 71.72% JavaScript 0.82% HTML 0.16% Shell 0.88% Dockerfile 0.82% Svelte 12.27% TypeScript 12.77% CSS 0.56%
wasm game-development kafka async hyper wasm-bindgen wasm-pack docker docker-compose tokio

wasm-pong's People

Contributors

thilo-behnke avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

sangelxyz

wasm-pong's Issues

There is a problem with the Dockerfile on the server side

Following the instructions in README.md, I directly executed . /run-server.sh, and then got the following error

 => ERROR [build_stage 6/6] RUN cargo build --release                                                                                        0.3s
------
 > [build_stage 6/6] RUN cargo build --release:
0.282 error: failed to load manifest for workspace member `/build/server/client/wasm`
0.282 
0.282 Caused by:
0.282   failed to read `/build/server/client/wasm/Cargo.toml`
0.282 
0.282 Caused by:
0.282   No such file or directory (os error 2)
------
Dockerfile:7
--------------------
   5 |     ADD ./pong /build/pong
   6 |     WORKDIR /build/server
   7 | >>> RUN cargo build --release
   8 |     
   9 |     FROM ubuntu:20.04
--------------------
ERROR: failed to solve: process "/bin/sh -c cargo build --release" did not complete successfully: exit code: 101
ERROR: Service 'server' failed to build : Build failed

After tracking, it can be determined to be . /server/Dockerfile is the problem, as I encountered the same issue when manually compiling the server's image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.