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

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

Closed
frazjp65 opened this issue Nov 21, 2016 · 1 comment
Closed

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

frazjp65 opened this issue Nov 21, 2016 · 1 comment

Comments

@frazjp65
Copy link

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
@frazjp65
Copy link
Author

This is a very old version of npm and can likely be closed.

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

1 participant