react-toolbox/react-toolbox-example

npm install with Node.js v6.10.2 (npm3 v3.10.10)

pmirandaarias opened this issue · 1 comments

I'm installing react-toolbox-example in a workspace of Cloud9.
I'm using Node.js v6.10.2 (npm3 v3.10.10). On the install I get this messages:

UNMET PEER DEPENDENCY react@15.5.4
│ ├─┬ fbjs@0.8.12
│ │ ├── core-js@1.2.7
│ │ ├─┬ isomorphic-fetch@2.2.1
│ │ │ ├─┬ node-fetch@1.6.3
│ │ │ │ ├─┬ encoding@0.1.12
│ │ │ │ │ └── iconv-lite@0.4.15
│ │ │ │ └── is-stream@1.1.0
│ │ │ └── whatwg-fetch@2.0.3
│ │ ├─┬ promise@7.1.1
│ │ │ └── asap@2.0.5
│ │ ├── setimmediate@1.0.5
│ │ └── ua-parser-js@0.7.12
│ ├── loose-envify@1.3.1
│ └── prop-types@15.5.7
├── UNMET PEER DEPENDENCY react-addons-css-transition-group@15.5.2
├── UNMET PEER DEPENDENCY react-dom@15.5.4
etc..
│ ├── ramda@0.23.0
│ ├── react-css-themr@1.7.2
│ └── react-style-proptype@2.0.2
├── UNMET PEER DEPENDENCY redux@^3.1.0
etc..
//and continues without more UNMET messages.

And in the end I get:

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.1: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN react-toolbox@2.0.0-beta.8 requires a peer of react@^0.14 || ~15.4.0 but none was installed.
npm WARN react-toolbox@2.0.0-beta.8 requires a peer of react-addons-css-transition-group@^0.14.0 || ~15.4.0 but none was installed.
npm WARN react-toolbox@2.0.0-beta.8 requires a peer of react-dom@^0.14.0 || ~15.4.0 but none was installed.
npm WARN redux-devtools-extension@1.0.0 requires a peer of redux@^3.1.0 but none was installed.

Then, I start with npm start and I get:

username:~/workspace (master) $ npm start

react-toolbox-example@0.12.0 start /home/ubuntu/workspace
cross-env NODE_ENV=development node_modules/.bin/webpack-dev-server --colors --config webpack.config.js

Project is running at http://localhost:8080/
webpack output is served from http://localhost:8080/
Content not from webpack is served from /home/ubuntu/workspace/src/www
404s will fallback to /index.html
(node:2817) DeprecationWarning: loaderUtils.parseQuery() received a non-string value which can be problematic, see webpack/loader-utils#56
parseQuery() will be replaced with getOptions() in the next major version of loader-utils.
Hash: 3c9493796afc42412ba3
Version: webpack 2.3.3
Time: 50931ms
Asset Size Chunks Chunk Names
bundle.js 10.1 MB 0 [emitted] [big] bundle
chunk {0} bundle.js (bundle) 3.16 MB [entry] [rendered]
[./node_modules/react-dom/index.js] .//react-dom/index.js 164 bytes {0} [built]
[./node_modules/react-hot-loader/patch.js] ./
/react-hot-loader/patch.js 146 bytes {0} [built]
[./node_modules/react-toolbox/lib/index.js] .//react-toolbox/lib/index.js 7.18 kB {0} [built]
[./node_modules/react/react.js] ./
/react/react.js 161 bytes {0} [built]
[./node_modules/strip-ansi/index.js] .//strip-ansi/index.js 379 bytes {0} [built]
[./node_modules/url/url.js] ./
/url/url.js 25.4 kB {0} [built]
[./node_modules/webpack-dev-server/client/index.js?http:/localhost:8080] (webpack)-dev-server/client?http://localhost:8080 8.29 kB {0} [built]
[./node_modules/webpack-dev-server/client/overlay.js] (webpack)-dev-server/client/overlay.js 5.28 kB {0} [built]
[0] multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server react-hot-loader/patch ./src/frontend/index.js 64 bytes {0} [built]
[./node_modules/webpack-dev-server/client/socket.js] (webpack)-dev-server/client/socket.js 1.33 kB {0} [built]
[./node_modules/webpack/hot/dev-server.js] (webpack)/hot/dev-server.js 1.99 kB {0} [built]
[./node_modules/webpack/hot/emitter.js] (webpack)/hot/emitter.js 180 bytes {0} [built]
[./node_modules/webpack/hot/log-apply-result.js] (webpack)/hot/log-apply-result.js 1.1 kB {0} [built]
[./src/frontend/component/App.js] ./src/frontend/component/App.js 1.02 kB {0} [built]
[./src/frontend/index.js] ./src/frontend/index.js 999 bytes {0} [built]
+ 742 hidden modules
webpack: Compiled successfully.

What it means?

Anyway, it's all working fine in Cloud9, I have some issues with the IP and HotModuleReplacementPlugin, but I solve by compiling with:

webpack-dev-server --port $PORT --host $IP --content-base build/

(thanks to webpack/webpack-dev-server#230 (comment) )