tidepool-org / hub

[DEPRECATED] Central storage for Tidepool planning and issue tracking.
2 stars 2 forks source link

Failure to build and install everything while building clamshell #114

Closed darinkrauss closed 9 years ago

darinkrauss commented 9 years ago

I'm trying to install and build everything following the instructions on the Starting Up Services Tidepool Project page (http://developer.tidepool.io/starting-up-services/), but it fails to complete with an error building clamshell. The last part of the build looks like:

npm ERR! Darwin 13.4.0
npm ERR! argv "node" "/usr/local/bin/npm" "install"
npm ERR! node v0.10.33
npm ERR! npm  v2.1.7
npm ERR! code EPEERINVALID

npm ERR! peerinvalid The package webpack does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer webpack-dev-server@1.4.9 wants webpack@1.x

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/deke/Code/tidepool/clamshell/npm-debug.log

Find attached the clamshell npm-debug.log.

I'm running this on a MacBook Pro (16GB RAM, plenty of free disk) with OSX 10.9.5 and Xcode 6.1 (6A1052d). I used Homebrew to install many of the dependencies with these versions:

git: stable 2.1.3 (bottled), HEAD bazaar: stable 2.6.0 node: stable 0.10.33 (bottled), devel 0.11.14, HEAD mongodb: stable 2.6.5 (bottled), devel 2.7.7

I used npm to install the rest with these versions:

bower@1.3.12 grunt-cli@0.1.13 mocha@2.0.1 npm@2.1.7

The executables are all in my path:

$ which git bzr npm bower node grunt mocha mongod
/usr/local/bin/git
/usr/local/bin/bzr
/usr/local/bin/npm
/usr/local/bin/bower
/usr/local/bin/node
/usr/local/bin/grunt
/usr/local/bin/mocha
/usr/local/bin/mongod

To build, I did:

$ mkdir tidepool
$ cd tidepool
$ git clone git@github.com:tidepool-org/tools.git
$ tools/get_current_tidepool_repos.sh

Any ideas what is wrong here? This may be something simple. I'm just coming up-to-speed on Go and Node (though I've been doing JS for years).

Thanks!

darinkrauss commented 9 years ago

Okay, here is just the last part of the npm-debug.log (rather than the whole thing):

55649 info build /Users/deke/Code/tidepool/clamshell
55650 verbose linkStuff [ false, false, false, '/Users/deke/Code/tidepool' ]
55651 info linkStuff clamshell@0.4.1
55652 verbose linkBins clamshell@0.4.1
55653 verbose linkMans clamshell@0.4.1
55654 verbose rebuildBundles clamshell@0.4.1
55655 verbose rebuildBundles [ '.bin',
55655 verbose rebuildBundles   'async',
55655 verbose rebuildBundles   'autoprefixer-loader',
55655 verbose rebuildBundles   'bows',
55655 verbose rebuildBundles   'chai',
55655 verbose rebuildBundles   'connect',
55655 verbose rebuildBundles   'css-loader',
55655 verbose rebuildBundles   'director',
55655 verbose rebuildBundles   'envify',
55655 verbose rebuildBundles   'envify-loader',
55655 verbose rebuildBundles   'fastclick',
55655 verbose rebuildBundles   'file-loader',
55655 verbose rebuildBundles   'gulp',
55655 verbose rebuildBundles   'gulp-jshint',
55655 verbose rebuildBundles   'gulp-react',
55655 verbose rebuildBundles   'hakken',
55655 verbose rebuildBundles   'imports-loader',
55655 verbose rebuildBundles   'jshint-stylish',
55655 verbose rebuildBundles   'json-loader',
55655 verbose rebuildBundles   'jsx-loader',
55655 verbose rebuildBundles   'less',
55655 verbose rebuildBundles   'less-loader',
55655 verbose rebuildBundles   'lodash',
55655 verbose rebuildBundles   'mocha',
55655 verbose rebuildBundles   'mocha-loader',
55655 verbose rebuildBundles   'ms',
55655 verbose rebuildBundles   'react',
55655 verbose rebuildBundles   'script-loader',
55655 verbose rebuildBundles   'serve-static',
55655 verbose rebuildBundles   'shelljs',
55655 verbose rebuildBundles   'sinon',
55655 verbose rebuildBundles   'sinon-chai',
55655 verbose rebuildBundles   'style-loader',
55655 verbose rebuildBundles   'sundial',
55655 verbose rebuildBundles   'tidepool-platform-client',
55655 verbose rebuildBundles   'url-loader',
55655 verbose rebuildBundles   'webpack',
55655 verbose rebuildBundles   'webpack-dev-server' ]
55656 info install clamshell@0.4.1
55657 info postinstall clamshell@0.4.1
55658 info prepublish clamshell@0.4.1
55659 verbose stack Error: The package webpack does not satisfy its siblings' peerDependencies requirements!
55659 verbose stack     at /usr/local/lib/node_modules/npm/lib/install.js:103:32
55659 verbose stack     at /usr/local/lib/node_modules/npm/lib/install.js:225:5
55659 verbose stack     at /usr/local/lib/node_modules/npm/node_modules/read-installed/read-installed.js:138:5
55659 verbose stack     at /usr/local/lib/node_modules/npm/node_modules/read-installed/read-installed.js:251:14
55659 verbose stack     at cb (/usr/local/lib/node_modules/npm/node_modules/slide/lib/async-map.js:47:24)
55659 verbose stack     at /usr/local/lib/node_modules/npm/node_modules/read-installed/read-installed.js:251:14
55659 verbose stack     at cb (/usr/local/lib/node_modules/npm/node_modules/slide/lib/async-map.js:47:24)
55659 verbose stack     at /usr/local/lib/node_modules/npm/node_modules/read-installed/read-installed.js:251:14
55659 verbose stack     at cb (/usr/local/lib/node_modules/npm/node_modules/slide/lib/async-map.js:47:24)
55659 verbose stack     at /usr/local/lib/node_modules/npm/node_modules/read-installed/read-installed.js:251:14
55660 verbose cwd /Users/deke/Code/tidepool/clamshell
55661 error Darwin 13.4.0
55662 error argv "node" "/usr/local/bin/npm" "install"
55663 error node v0.10.33
55664 error npm  v2.1.7
55665 error code EPEERINVALID
55666 error peerinvalid The package webpack does not satisfy its siblings' peerDependencies requirements!
55666 error peerinvalid Peer webpack-dev-server@1.4.9 wants webpack@1.x
55667 verbose exit [ 1, true ]
kentquirk commented 9 years ago

I think you probably had the same problem I had with an out-of-date version of webpack. I've just checked in a change to the package.json file in clamshell that fixed this for me. Please try it.

kentquirk commented 9 years ago

I'm closing this -- please reopen it if that doesn't fix your problem.

darinkrauss commented 9 years ago

Thanks! Looks like that fixed the build. Now to go try it out!