#259 Running `npm install` in hubs/static/client/ fails
Closed: Fixed 6 years ago Opened 7 years ago by jcline.

The README says to run npm install in hubs/static/client/ to set up the Javascript assets. However, currently this fails on the develop branch with the following error:

(hubs) [vagrant@hubs-dev client]$ npm install
npm WARN package.json fedora-hubs@0.0.0 No repository field.
npm WARN package.json fedora-hubs@0.0.0 No README data
npm WARN package.json Dependency 'babel-preset-es2015' exists in both dependencies and devDependencies, using 'babel-preset-es2015@~6.9.0' from dependencies
npm WARN package.json Dependency 'babel-preset-react' exists in both dependencies and devDependencies, using 'babel-preset-react@~6.5.0' from dependencies
npm WARN peerDependencies The peer dependency react@^15.3.2 included from react-test-renderer will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency react@^15.3.2 included from react-addons-test-utils will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency babel-core@^6.0.0 included from babel-loader will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN optional dep failed, continuing fsevents@1.0.14
npm ERR! Linux 4.7.3-200.fc24.x86_64
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! node v4.5.0
npm ERR! npm  v2.15.9
npm ERR! code EPEERINVALID

npm ERR! peerinvalid The package react@15.1.0 does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer react-dom@15.1.0 wants react@^15.1.0
npm ERR! peerinvalid Peer react-timeago@3.1.3 wants react@^15.0.0
npm ERR! peerinvalid Peer react-addons-test-utils@15.3.2 wants react@^15.3.2
npm ERR! peerinvalid Peer react-test-renderer@15.3.2 wants react@^15.3.2

npm ERR! Please include the following file with any support request:
npm ERR!     /home/vagrant/devel/hubs/static/client/npm-debug.log

It seems like some packages have conflicting requirements for react, but I've never used NPM so that's just a guess.


Metadata Update from @sayanchowdhury:
- Issue close_status updated to: Fixed
- Issue priority set to: High
- Issue status updated to: Closed (was: Open)

6 years ago

Login to comment on this ticket.

Metadata