Skip to content

Fails to run #6

@leegee

Description

@leegee

Looked great, thanks for writing, as helping to encourage me back to Polymer and with Typescript.

However:

leege@STUDIO C:\Users\leege\src
$ git clone https://github.com/chybie/poly-mini-game.git
Cloning into 'poly-mini-game'...
remote: Enumerating objects: 202, done.
remote: Total 202 (delta 0), reused 0 (delta 0), pack-reused 202R
Receiving objects: 100% (202/202), 1.68 MiB | 597.00 KiB/s, done.
Resolving deltas: 100% (76/76), done.

leege@STUDIO C:\Users\leege\src
$ cd poly-mini-game

leege@STUDIO C:\Users\leege\src\poly-mini-game
$ npm install

> uglifyjs-webpack-plugin@0.4.6 postinstall C:\Users\leege\src\poly-mini-game\node_modules\uglifyjs-webpack-plugin
> node lib/post_install.js

npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN poly-mini-game@1.0.0 No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

added 652 packages from 430 contributors and audited 6102 packages in 15.88s
found 0 vulnerabilities


leege@STUDIO C:\Users\leege\src\poly-mini-game
$ npm start

> poly-mini-game@1.0.0 start C:\Users\leege\src\poly-mini-game
> webpack-dev-server --open --config ./build/webpack.dev.conf.js

clean-webpack-plugin: C:\Users\leege\src\poly-mini-game\dist has been removed.
Project is running at http://localhost:8080/
webpack output is served from /
Content not from webpack is served from C:\Users\leege\src\poly-mini-game\dist
ts-loader: Using typescript@2.9.2 and C:\Users\leege\src\poly-mini-game\tsconfig.json
webpack: wait until bundle finished: /
Hash: d48fdbe406a279ce932a
Version: webpack 3.12.0
Time: 2571ms
                            Asset       Size  Chunks                    Chunk Names
                           app.js     2.5 MB       0  [emitted]  [big]  app
                       index.html  503 bytes          [emitted]
          webcomponents-loader.js    3.66 kB          [emitted]
static/images/avengers/card-a.jpg     103 kB          [emitted]
static/images/avengers/card-b.jpg     132 kB          [emitted]
static/images/avengers/card-c.jpg     150 kB          [emitted]
static/images/avengers/card-d.jpg     257 kB          [emitted]  [big]
 static/images/avengers/cover.jpg     179 kB          [emitted]
static/images/avengers/card-f.jpg     178 kB          [emitted]
static/images/avengers/card-e.jpg     167 kB          [emitted]
  [27] (webpack)/hot/log.js 1.04 kB {0} [built]
  [59] (webpack)-dev-server/client?http://localhost:8080 7.93 kB {0} [built]
  [61] (webpack)/hot/emitter.js 77 bytes {0} [built]
 [111] multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server webpack-dev-server/client?http://localhost:8080 ./src/index 64 bytes {0} [built]
 [112] ./node_modules/url/url.js 23.3 kB {0} [built]
 [115] ./node_modules/querystring-es3/index.js 127 bytes {0} [built]
 [118] ./node_modules/strip-ansi/index.js 161 bytes {0} [built]
 [120] ./node_modules/loglevel/lib/loglevel.js 7.86 kB {0} [built]
 [121] (webpack)-dev-server/client/socket.js 1.08 kB {0} [built]
 [123] (webpack)-dev-server/client/overlay.js 3.67 kB {0} [built]
 [128] (webpack)/hot nonrecursive ^\.\/log$ 170 bytes {0} [built]
 [130] (webpack)/hot/dev-server.js 1.61 kB {0} [built]
 [131] (webpack)/hot/log-apply-result.js 1.31 kB {0} [built]
 [132] ./src/index.ts 105 bytes {0} [built]
 [133] ./src/components/index.ts 732 bytes {0} [built]
    + 278 hidden modules

ERROR in ./src/components/cards/index.ts

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions