Error on yarn start
leejunkit opened this issue · comments
Lee Jun Kit commented
The example does not work. After a fresh clone of the project, and after running yarn install
,
$ yarn start
yarn start v0.21.3
$ node_modules/.bin/webpack-dev-server --hot --inline
Project is running at http://localhost:8082/
webpack output is served from /
Hash: 84cd4f6bd929407aa8ce
Version: webpack 2.2.1
Time: 3382ms
Asset Size Chunks Chunk Names
bundle.js 1.81 MB 0 [emitted] [big] main
index.html 182 bytes [emitted]
chunk {0} bundle.js (main) 1.74 MB [entry] [rendered]
[31] ./~/react/react.js 56 bytes {0} [built]
[37] ./~/react-dom/index.js 63 bytes {0} [built]
[139] ./~/immutable/dist/immutable.js 142 kB {0} [built]
[181] (webpack)/hot/emitter.js 77 bytes {0} [built]
[182] ./index.js 49.8 kB {0} [built]
[183] (webpack)-dev-server/client?http://localhost:8082 4.9 kB {0} [built]
[184] (webpack)/hot/dev-server.js 1.57 kB {0} [built]
[185] ./~/Dante2/src/model/index.js 5.48 kB {0} [built]
[279] ./~/querystring-es3/index.js 127 bytes {0} [built]
[377] ./~/strip-ansi/index.js 161 bytes {0} [built]
[380] ./~/url/url.js 23.3 kB {0} [built]
[382] (webpack)-dev-server/client/overlay.js 3.59 kB {0} [built]
[383] (webpack)-dev-server/client/socket.js 856 bytes {0} [built]
[385] (webpack)/hot/log-apply-result.js 1.02 kB {0} [built]
[386] multi (webpack)-dev-server/client?http://localhost:8082 webpack/hot/dev-server ./index.js 52 bytes {0} [built]
+ 372 hidden modules
ERROR in ./index.js
Module not found: Error: Can't resolve 'Dante2/es/index.js' in '/Users/kit/projects/dante2-tests'
@ ./index.js 17:13-42
@ multi (webpack)-dev-server/client?http://localhost:8082 webpack/hot/dev-server ./index.js
ERROR in ./index.js
Module not found: Error: Can't resolve 'Dante2/dist/Dante2.css' in '/Users/kit/projects/dante2-tests'
@ ./index.js 19:13-46
@ multi (webpack)-dev-server/client?http://localhost:8082 webpack/hot/dev-server ./index.js
ERROR in ./index.js
Module not found: Error: Can't resolve 'Dante2/es/components/popovers/image.js' in '/Users/kit/projects/dante2-tests'
@ ./index.js 23:13-62
@ multi (webpack)-dev-server/client?http://localhost:8082 webpack/hot/dev-server ./index.js
ERROR in ./index.js
Module not found: Error: Can't resolve 'Dante2/es/components/popovers/link.js' in '/Users/kit/projects/dante2-tests'
@ ./index.js 27:12-60
@ multi (webpack)-dev-server/client?http://localhost:8082 webpack/hot/dev-server ./index.js
ERROR in ./index.js
Module not found: Error: Can't resolve 'Dante2/es/components/popovers/addButton.js' in '/Users/kit/projects/dante2-tests'
@ ./index.js 31:17-70
@ multi (webpack)-dev-server/client?http://localhost:8082 webpack/hot/dev-server ./index.js
ERROR in ./index.js
Module not found: Error: Can't resolve 'Dante2/es/components/popovers/toolTip.js' in '/Users/kit/projects/dante2-tests'
@ ./index.js 35:15-66
@ multi (webpack)-dev-server/client?http://localhost:8082 webpack/hot/dev-server ./index.js
ERROR in ./index.js
Module not found: Error: Can't resolve 'Dante2/es/components/blocks/image.js' in '/Users/kit/projects/dante2-tests'
@ ./index.js 39:14-61
@ multi (webpack)-dev-server/client?http://localhost:8082 webpack/hot/dev-server ./index.js
ERROR in ./index.js
Module not found: Error: Can't resolve 'Dante2/es/components/blocks/embed.js' in '/Users/kit/projects/dante2-tests'
@ ./index.js 43:13-60
@ multi (webpack)-dev-server/client?http://localhost:8082 webpack/hot/dev-server ./index.js
ERROR in ./index.js
Module not found: Error: Can't resolve 'Dante2/es/components/blocks/video.js' in '/Users/kit/projects/dante2-tests'
@ ./index.js 47:13-60
@ multi (webpack)-dev-server/client?http://localhost:8082 webpack/hot/dev-server ./index.js
ERROR in ./index.js
Module not found: Error: Can't resolve 'Dante2/es/components/blocks/placeholder.js' in '/Users/kit/projects/dante2-tests'
@ ./index.js 51:19-72
@ multi (webpack)-dev-server/client?http://localhost:8082 webpack/hot/dev-server ./index.js
Child html-webpack-plugin for "index.html":
chunk {0} index.html 541 kB [entry] [rendered]
[0] ./~/lodash/lodash.js 540 kB {0} [built]
[1] (webpack)/buildin/global.js 509 bytes {0} [built]
[2] (webpack)/buildin/module.js 517 bytes {0} [built]
[3] ./~/html-webpack-plugin/lib/loader.js!./~/html-webpack-plugin/default_index.ejs 540 bytes {0} [built]
webpack: bundle is now VALID.
Vishal Sharma commented
Same problem here? any resolution yet?
Miguel Michelson Martinez commented
it works now