GitHub user skorobkov opened a pull request:
https://github.com/apache/couchdb-fauxton/pull/848
Fix build & config addons
Bump `grunt-contrib-copy` to version 1.0.0 required because `npm install`
generate this error:
```
$ npm install
npm WARN peerDependencies The peer dependency grunt@~0.4.0 included from
grunt-contrib-copy 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 ERR! Linux 3.16.0
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v4.7.3
npm ERR! npm v2.15.11
npm ERR! code EPEERINVALID
npm ERR! peerinvalid The package [email protected] does not satisfy its siblings'
peerDependencies requirements!
npm ERR! peerinvalid Peer [email protected] wants grunt@>= 0.4.5
npm ERR! peerinvalid Peer [email protected] wants grunt@~0.4.0
npm ERR! peerinvalid Peer [email protected] wants grunt@>=0.4
npm ERR! peerinvalid Peer [email protected] wants grunt@>=0.4.0
npm ERR! peerinvalid Peer [email protected] wants grunt@>=0.4.0
npm ERR! Please include the following file with any support request:
npm ERR! /usr/src/couchdb-fauxton/npm-debug.log
```
Changes in `app/addons/config/routes.js` because it throws this errors<
when trying open confugration in Fauxton:
```
Uncaught TypeError: Cannot read property '0' of undefined
at child.initialize (bundle.js:162713)
at child.RouteObject (bundle.js:42514)
at new child (bundle.js:42202)
at Object.<anonymous> (bundle.js:42335)
at Object.<anonymous> (bundle.js:3745)
at fire (bundle.js:3566)
at Object.add [as done] (bundle.js:3625)
at Array.<anonymous> (bundle.js:3744)
at Function.each (bundle.js:744)
at Object.<anonymous> (bundle.js:3740)
```
and
```
Uncaught ReferenceError: React is not defined
at child.configForNode (routes.js:60)
at child.routeCallback (routeObject.js:77)
at Object.<anonymous> (router.js:66)
at Object.<anonymous> (jquery.js:3366)
at fire (jquery.js:3187)
at Object.add [as done] (jquery.js:3246)
at Array.<anonymous> (jquery.js:3365)
at Function.each (jquery.js:365)
at Object.<anonymous> (jquery.js:3361)
at Function.Deferred (jquery.js:3427)
```
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/skorobkov/couchdb-fauxton fix-config
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb-fauxton/pull/848.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #848
----
commit 9beec01c06a876f1256c82a55fb24909d29b1bca
Author: root <[email protected]>
Date: 2017-02-10T20:52:47Z
Fix config addon
commit 36928706c5a1c42b3d5f11c9360a111aab04c859
Author: Sergii Korobkov <[email protected]>
Date: 2017-02-10T21:31:13Z
Bump grunt-contrib-copy to 1.0.0
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---