Closed kutzi closed 9 years ago
Instead of the command-line eval
+ PID-magic the starterkit now uses concurrent(ly). Does it run on Heroku now?
Also please verify that the global and project npm dependencies are completely installed.
Thanks for the feedback. Unfortunately, doesn't look better, yet. Not sure how I can verify that the dependencies are completely installed. I tried npm-check (https://www.npmjs.com/package/npm-check), but it just exits with :/usr/bin/env: node: No such file or directory
There are a lot of warnings during npm install:
Step 5 : RUN cd react-isomorphic-starterkit && npm install
---> Running in 22aed0e86e3f
npm WARN engine hapi@8.2.0: wanted: {"node":">=0.10.32"} (current: {"node":"0.10.25","npm":"1.4.21"})
npm WARN engine heavy@3.0.0: wanted: {"node":">=0.10.32"} (current: {"node":"0.10.25","npm":"1.4.21"})
npm WARN engine items@1.1.0: wanted: {"node":">=0.10.30"} (current: {"node":"0.10.25","npm":"1.4.21"})
npm WARN engine catbox-memory@1.1.1: wanted: {"node":">=0.10.30"} (current: {"node":"0.10.25","npm":"1.4.21"})
npm WARN engine peekaboo@1.0.0: wanted: {"node":">=0.10.32"} (current: {"node":"0.10.25","npm":"1.4.21"})
npm WARN engine mimos@2.0.2: wanted: {"node":">=0.10.32"} (current: {"node":"0.10.25","npm":"1.4.21"})
npm WARN engine kilt@1.1.1: wanted: {"node":">=0.10.30"} (current: {"node":"0.10.25","npm":"1.4.21"})
npm WARN engine topo@1.0.2: wanted: {"node":">=0.10.32"} (current: {"node":"0.10.25","npm":"1.4.21"})
npm WARN engine call@2.0.1: wanted: {"node":">=0.10.32"} (current: {"node":"0.10.25","npm":"1.4.21"})
npm WARN engine accept@1.0.0: wanted: {"node":">=0.10.32"} (current: {"node":"0.10.25","npm":"1.4.21"})
npm WARN engine ammo@1.0.0: wanted: {"node":">=0.10.32"} (current: {"node":"0.10.25","npm":"1.4.21"})
npm WARN engine h2o2@4.0.0: wanted: {"node":">=0.10.32"} (current: {"node":"0.10.25","npm":"1.4.21"})
npm WARN engine statehood@2.0.0: wanted: {"node":">=0.10.32"} (current: {"node":"0.10.25","npm":"1.4.21"})
npm WARN engine iron@2.1.2: wanted: {"node":">=0.10.30"} (current: {"node":"0.10.25","npm":"1.4.21"})
npm WARN engine shot@1.4.2: wanted: {"node":">=0.10.30"} (current: {"node":"0.10.25","npm":"1.4.21"})
npm WARN engine catbox@4.2.1: wanted: {"node":">=0.10.32"} (current: {"node":"0.10.25","npm":"1.4.21"})
npm WARN engine subtext@1.0.2: wanted: {"node":">=0.10.32"} (current: {"node":"0.10.25","npm":"1.4.21"})
npm WARN engine wreck@5.2.0: wanted: {"node":">=0.10.30"} (current: {"node":"0.10.25","npm":"1.4.21"})
npm WARN engine vision@2.0.0: wanted: {"node":">=0.10.32"} (current: {"node":"0.10.25","npm":"1.4.21"})
npm WARN engine inert@2.1.3: wanted: {"node":">=0.10.32"} (current: {"node":"0.10.25","npm":"1.4.21"})
npm WARN engine joi@5.1.0: wanted: {"node":">=0.10.30"} (current: {"node":"0.10.25","npm":"1.4.21"})
npm WARN optional dep failed, continuing fsevents@0.3.5
npm WARN engine content@1.0.1: wanted: {"node":">=0.10.32"} (current: {"node":"0.10.25","npm":"1.4.21"})
npm WARN engine pez@1.0.0: wanted: {"node":">=0.10.32"} (current: {"node":"0.10.25","npm":"1.4.21"})
npm WARN engine b64@2.0.0: wanted: {"node":">=0.10.32"} (current: {"node":"0.10.25","npm":"1.4.21"})
npm WARN engine nigel@1.0.1: wanted: {"node":">=0.10.32"} (current: {"node":"0.10.25","npm":"1.4.21"})
npm WARN engine vise@1.0.0: wanted: {"node":">=0.10.32"} (current: {"node":"0.10.25","npm":"1.4.21"
Does that mean that the node install is too old?
Can you try with node 0.12?
Don't know how to install 0.12 (even when using the instructions on https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager I'm still getting 0.10 But I managed to install 0.10.36 that way and that works much better. npm watch still fails - but probably unsurprisingly - when trying to open http://localhost:8000, but I can access localhost:8000 from the docker host without problems
See https://github.com/kutzi/react-isomorphic-starterkit/blob/docker/Dockerfile
@kutzi Did you managed to get watch working ?
No, I didn't pursue this issue any longer
It's probably just me being too stupid (no real node experience), but I cannot get it running in a minimal docker container. Dockerfile:
build container, run with: docker run -i -t -p 8000:8000 react_isomorphic/kutzi /bin/bash
cd react-isomorphic-starterkit/ && npm run watch =>
There's more info in the npm-debug.log