Giter Club home page Giter Club logo

catan's Issues

Please provide installation/usage instructions

Hi there,
as a total nodejs rookie, I would really like to have foolproof installation instructions for this app. What I tried up until now is:

npm install https://github.com/OinkIguana/machi-koro.git

bash-4.4$ npm start

> [email protected] start /data/data/com.termux/files/home/node_modules/machi-koro
> node server.js

module.js:471
    throw err;
    ^

Error: Cannot find module '/data/data/com.termux/files/home/node_modules/machi-koro/server.js'
    at Function.Module._resolveFilename (module.js:469:15)
    at Function.Module._load (module.js:417:25)
    at Module.runMain (module.js:604:10)
    at run (bootstrap_node.js:390:7)
    at startup (bootstrap_node.js:150:9)
    at bootstrap_node.js:505:3

npm ERR! Linux 3.4.0-perf-gc14c2d5
npm ERR! argv "/data/data/com.termux/files/usr/bin/node" "/data/data/com.termux/files/usr/bin/npm" "start"
npm ERR! node v6.10.3
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] start: `node server.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] start script 'node server.js'.

and

bash-4.4$ ./node_modules/.bin/webpack --config node_modules/machi-koro/webpack.config.js 
Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
 - configuration[0].output.path: The provided value "./public_html" is not an absolute path!
 - configuration[1].output.path: The provided value "./" is not an absolute path!

Thank you,
Richard

npm run build fails

Hi,

I just tried installing this, got the error below.

ERROR in ./public_html/style/src/main.scss
Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
ModuleBuildError: Module build failed (from ./node_modules/sass-loader/index.js):
Error: ENOENT: no such file or directory, scandir '/var/www/html/catan/node_modules/node-sass/vendor'

Dockerfile

Hi, thanks for the game but unfortunately I can't build it on my host.

Can you please provide Dockerfile so others can run that in a container?

How to interact with game?

I've tried to launch local game in a dockerfile and also tried to play it on https://catan.cameldridge.com
but no interaction happens when I click somewhere.

I see this error when I launch it in docker:

โžœ  catan git:(main) docker run -p 8888:8888 catan

> [email protected] start
> babel-node server.js

Server started at 8888
My is attempting to join Try
New game created: Try
[Error: ENOENT: no such file or directory, open './games/Try.game'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: './games/Try.game'
}

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.