Build failed
poying opened this issue · comments
Po-Ying Chen commented
I want to help solving the issue #180, but I can't build the project. This is what i saw:
$ npm run build
> hotel@0.8.7 build /Users/poying/.nvm/versions/node/v8.4.0/lib/node_modules/hotel
> run-s build:*
> hotel@0.8.7 build:webpack /Users/poying/.nvm/versions/node/v8.4.0/lib/node_modules/hotel
> rimraf dist && webpack --config webpack.prod.js
Hash: 4bc15f9a4dc93b2c9056
Version: webpack 3.12.0
Time: 454ms
Asset Size Chunks Chunk Names
bundle.js 716 bytes 0 [emitted] main
index.html 528 bytes [emitted]
[0] ./src/app/index.tsx 238 bytes {0} [built] [failed] [1 error]
ERROR in ./src/app/index.tsx
Module parse failed: Unexpected token (7:16)
You may need an appropriate loader to handle this file type.
|
| const store = new Store()
| ReactDOM.render(<App store={store} />, document.getElementById('root'))
|
Child html-webpack-plugin for "index.html":
1 asset
[0] ./node_modules/html-webpack-plugin/lib/loader.js!./src/app/index.html 843 bytes {0} [built]
[2] (webpack)/buildin/global.js 509 bytes {0} [built]
[3] (webpack)/buildin/module.js 517 bytes {0} [built]
+ 1 hidden module
Node.js version: v8.4.0
OS: Mac OS 10.13.6