Giter Club home page Giter Club logo

vue-chess's People

Contributors

gustayo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vue-chess's Issues

Multiplayer Problem

In the multiplayer , after a person check mate the opponent .The game is not over!

License

Hi,
may i ask which license do you use ? :)

can not run the code

WARNING in ./~/vue/dist/vue.common.js
There is another module with an equal name when case is ignored.
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
Rename module if multiple modules are expected or use equal casing if one module is expected.

WARNING in ./~/Vue/dist/vue.common.js
There is another module with an equal name when case is ignored.
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
Rename module if multiple modules are expected or use equal casing if one module is expected.

ERROR in .//babel-loader/lib?presets[]=es2015&plugins[]=transform-runtime&comments=false!.//vue-loader/lib/selector.js?type=script&index=0!.//eslint-loader!./src/components/game/index.vueModule not found: Error: Cannot resolve module 'garbochess' in G:\Code\Vue_Nuxt_Project\vue-chess-master\vue-chess-master\src\components\game
@ ./
/babel-loader/lib?presets[]=es2015&plugins[]=transform-runtime&comments=false!.//vue-loader/lib/selector.js?type=script&index=0!.//eslint-loader!./src/components/game/index.vue 19:18-39
ERROR in .//babel-loader/lib?presets[]=es2015&plugins[]=transform-runtime&comments=false!.//vue-loader/lib/selector.js?type=script&index=0!.//eslint-loader!./src/components/home/boardVisor.vue
Module not found: Error: Cannot resolve module 'garbochess' in G:\Code\Vue_Nuxt_Project\vue-chess-master\vue-chess-master\src\components\home
@ ./
/babel-loader/lib?presets[]=es2015&plugins[]=transform-runtime&comments=false!.//vue-loader/lib/selector.js?type=script&index=0!.//eslint-loader!./src/components/home/boardVisor.vue 15:18-39
ERROR in .//babel-loader/lib?presets[]=es2015&plugins[]=transform-runtime&comments=false!.//vue-loader/lib/selector.js?type=script&index=0!.//eslint-loader!./src/components/puzzles/puzzle.vue
Module not found: Error: Cannot resolve module 'garbochess' in G:\Code\Vue_Nuxt_Project\vue-chess-master\vue-chess-master\src\components\puzzles @ ./
/babel-loader/lib?presets[]=es2015&plugins[]=transform-runtime&comments=false!.//vue-loader/lib/selector.js?type=script&index=0!.//eslint-loader!./src/components/puzzles/puzzle.vue 15:18-39

cannot build on node v7.1.0/npm v4.0.2

When I run "npm test", the output from the attached file is displayed. It also gives the errors and warnings seen below.

npm-debug.log.txt

WARNING in ./~/Vue/dist/vue.common.js
There is another module with an equal name when case is ignored.
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
Rename module if multiple modules are expected or use equal casing if one module is expected.

ERROR in ./test/unit/specs/Hello.spec.js
Module not found: Error: Cannot resolve 'file' or 'directory' /Users/frazer/repos/vue-chess/src/components/Hello in /Users/frazer/repos/vue-chess/test/unit/specs
 @ ./test/unit/specs/Hello.spec.js 7:13-44

ERROR in ./src/directives/vue.pretty-bytes.js

  error    semi    Extra semicolon
  /Users/frazer/repos/vue-chess/src/directives/vue.pretty-bytes.js:6:45
      throw new TypeError('Expected a number');
                                               ^

  error    semi    Extra semicolon
  /Users/frazer/repos/vue-chess/src/directives/vue.pretty-bytes.js:11:20
    var neg = num < 0;
                      ^

  error    semi    Extra semicolon
  /Users/frazer/repos/vue-chess/src/directives/vue.pretty-bytes.js:12:68
    var units = ['B', 'kB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'];
                                                                      ^

  error    semi    Extra semicolon
  /Users/frazer/repos/vue-chess/src/directives/vue.pretty-bytes.js:15:15
      num = -num;
                 ^

  error    semi    Extra semicolon
  /Users/frazer/repos/vue-chess/src/directives/vue.pretty-bytes.js:10:11
    var unit;
             ^

  error    semi    Extra semicolon
  /Users/frazer/repos/vue-chess/src/directives/vue.pretty-bytes.js:22:84
    exponent = Math.min(Math.floor(Math.log(num) / Math.log(1000)), units.length - 1);
                                                                                      ^

  error    semi    Extra semicolon
  /Users/frazer/repos/vue-chess/src/directives/vue.pretty-bytes.js:23:56
    num = (num / Math.pow(1000, exponent)).toFixed(2) * 1;
                                                          ^

  error    semi    Extra semicolon
  /Users/frazer/repos/vue-chess/src/directives/vue.pretty-bytes.js:24:25
    unit = units[exponent];
                           ^

  error    semi    Extra semicolon
  /Users/frazer/repos/vue-chess/src/directives/vue.pretty-bytes.js:26:45
    return (neg ? '-' : '') + num + ' ' + unit;
                                               ^

  error  eol-last  Newline required at end of file but not found
  /Users/frazer/repos/vue-chess/src/directives/vue.pretty-bytes.js:27:2
  });
    ^

  error    semi    Extra semicolon
  /Users/frazer/repos/vue-chess/src/directives/vue.pretty-bytes.js:9:15
    var exponent;
                 ^

  error    semi    Extra semicolon
  /Users/frazer/repos/vue-chess/src/directives/vue.pretty-bytes.js:27:3
  });
     ^

  error    semi    Extra semicolon
  /Users/frazer/repos/vue-chess/src/directives/vue.pretty-bytes.js:19:41
      return (neg ? '-' : '') + num + ' B';
                                           ^
โœ– 13 problems (13 errors, 0 warnings)

WARNING in ./~/vue/dist/vue.common.js
There is another module with an equal name when case is ignored.
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
Rename module if multiple modules are expected or use equal casing if one module is expected.

WARNING in ./~/Vue/dist/vue.common.js
There is another module with an equal name when case is ignored.
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
Rename module if multiple modules are expected or use equal casing if one module is expected.

ERROR in ./src/main.js
Module not found: Error: Cannot resolve module 'vue-i18n' in /Users/frazer/repos/vue-chess/src
 @ ./src/main.js 23:15-34

ERROR in ./src/main.js
Module not found: Error: Cannot resolve module 'moment' in /Users/frazer/repos/vue-chess/src
 @ ./src/main.js 31:14-31

ERROR in ./~/babel-loader/lib?presets[]=es2015&plugins[]=transform-runtime&comments=false!./~/vue-loader/lib/selector.js?type=script&index=0!./src/components/home/index.vue
Module not found: Error: Cannot resolve module 'jquery' in /Users/frazer/repos/vue-chess/src/components/home
 @ ./~/babel-loader/lib?presets[]=es2015&plugins[]=transform-runtime&comments=false!./~/vue-loader/lib/selector.js?type=script&index=0!./src/components/home/index.vue 31:14-31

ERROR in ./~/babel-loader/lib?presets[]=es2015&plugins[]=transform-runtime&comments=false!./~/vue-loader/lib/selector.js?type=script&index=0!./src/components/game/index.vue
Module not found: Error: Cannot resolve module 'jquery' in /Users/frazer/repos/vue-chess/src/components/game
 @ ./~/babel-loader/lib?presets[]=es2015&plugins[]=transform-runtime&comments=false!./~/vue-loader/lib/selector.js?type=script&index=0!./src/components/game/index.vue 47:14-31

ERROR in ./~/babel-loader/lib?presets[]=es2015&plugins[]=transform-runtime&comments=false!./~/vue-loader/lib/selector.js?type=script&index=0!./src/components/puzzles/index.vue
Module not found: Error: Cannot resolve module 'chess.js' in /Users/frazer/repos/vue-chess/src/components/puzzles
 @ ./~/babel-loader/lib?presets[]=es2015&plugins[]=transform-runtime&comments=false!./~/vue-loader/lib/selector.js?type=script&index=0!./src/components/puzzles/index.vue 23:13-32

ERROR in ./~/babel-loader/lib?presets[]=es2015&plugins[]=transform-runtime&comments=false!./~/vue-loader/lib/selector.js?type=script&index=0!./src/components/game/index.vue
Module not found: Error: Cannot resolve module 'chess.js' in /Users/frazer/repos/vue-chess/src/components/game
 @ ./~/babel-loader/lib?presets[]=es2015&plugins[]=transform-runtime&comments=false!./~/vue-loader/lib/selector.js?type=script&index=0!./src/components/game/index.vue 15:13-32

ERROR in ./~/babel-loader/lib?presets[]=es2015&plugins[]=transform-runtime&comments=false!./~/vue-loader/lib/selector.js?type=script&index=0!./src/components/game/index.vue
Module not found: Error: Cannot resolve module 'garbochess' in /Users/frazer/repos/vue-chess/src/components/game
 @ ./~/babel-loader/lib?presets[]=es2015&plugins[]=transform-runtime&comments=false!./~/vue-loader/lib/selector.js?type=script&index=0!./src/components/game/index.vue 19:18-39

ERROR in ./~/babel-loader/lib?presets[]=es2015&plugins[]=transform-runtime&comments=false!./~/vue-loader/lib/selector.js?type=script&index=0!./src/components/home/boardVisor.vue
Module not found: Error: Cannot resolve module 'chess.js' in /Users/frazer/repos/vue-chess/src/components/home
 @ ./~/babel-loader/lib?presets[]=es2015&plugins[]=transform-runtime&comments=false!./~/vue-loader/lib/selector.js?type=script&index=0!./src/components/home/boardVisor.vue 7:13-32

ERROR in ./~/babel-loader/lib?presets[]=es2015&plugins[]=transform-runtime&comments=false!./~/vue-loader/lib/selector.js?type=script&index=0!./src/components/home/boardVisor.vue
Module not found: Error: Cannot resolve module 'garbochess' in /Users/frazer/repos/vue-chess/src/components/home
 @ ./~/babel-loader/lib?presets[]=es2015&plugins[]=transform-runtime&comments=false!./~/vue-loader/lib/selector.js?type=script&index=0!./src/components/home/boardVisor.vue 15:18-39

ERROR in ./~/babel-loader/lib?presets[]=es2015&plugins[]=transform-runtime&comments=false!./~/vue-loader/lib/selector.js?type=script&index=0!./src/components/puzzles/puzzle.vue
Module not found: Error: Cannot resolve module 'chess.js' in /Users/frazer/repos/vue-chess/src/components/puzzles
 @ ./~/babel-loader/lib?presets[]=es2015&plugins[]=transform-runtime&comments=false!./~/vue-loader/lib/selector.js?type=script&index=0!./src/components/puzzles/puzzle.vue 11:13-32

ERROR in ./~/babel-loader/lib?presets[]=es2015&plugins[]=transform-runtime&comments=false!./~/vue-loader/lib/selector.js?type=script&index=0!./src/components/puzzles/puzzle.vue
Module not found: Error: Cannot resolve module 'garbochess' in /Users/frazer/repos/vue-chess/src/components/puzzles
 @ ./~/babel-loader/lib?presets[]=es2015&plugins[]=transform-runtime&comments=false!./~/vue-loader/lib/selector.js?type=script&index=0!./src/components/puzzles/puzzle.vue 15:18-39

node server throws error - alot of dependencies missing

It seems that alot of dependencies are missing after npm install.

I have done the following:

  1. git clone [email protected]:gustaYo/vue-chess.git
  2. cd vue-chess
  3. npm install
  4. yes | cp -rf -- copy_in_node_modules/ node_modules/
  5. node server
> node server
module.js:540
    throw err;
    ^

Error: Cannot find module 'compression'
    at Function.Module._resolveFilename (module.js:538:15)
    at Function.Module._load (module.js:468:25)
    at Module.require (module.js:587:17)
    at require (internal/module.js:11:18)
    at __dirname (/Users/connexo/Sites/vue-chess/server/app/index.js:11:16)
    at Object.<anonymous> (/Users/connexo/Sites/vue-chess/server/app/index.js:95:3)
    at Module._compile (module.js:643:30)
    at Object.Module._extensions..js (module.js:654:10)
    at Module.load (module.js:556:32)
    at tryModuleLoad (module.js:499:12)

So I did

  1. npm install --save-dev compress

Only to find that many more packages seem to be missing even after doing a proper npm install.

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.