Closed dmitrytrager closed 10 years ago
There are two issues in one here :)
Regarding #1, I think it was addressed. What does your Gemfile look like? You could try changing the Fourchette line for gem 'fourchette', github: 'rainforestapp/fourchette'
and run a bundle update fourchette
, commit, then push...
Let me know how that goes.
Looking at the build log:
bower backbone-validation#~0.9.1 not-cached git://github.com/thedersen/backbone.validation.git#~0.9.1
bower backbone-validation#~0.9.1 resolve git://github.com/thedersen/backbone.validation.git#~0.9.1
bower jquery#~2.0.3 error Arguments to path.join must be strings
Stack trace:
TypeError: Arguments to path.join must be strings
at path.js:360:15
at Array.filter (native)
at Object.exports.join (path.js:358:36)
at GitHubResolver._checkout (/tmp/build_5eda2ab1-254d-4cfb-b565-185eb10aac32/node_modules/bower/lib/core/resolvers/GitHubResolver.js:54:21)
at /tmp/build_5eda2ab1-254d-4cfb-b565-185eb10aac32/node_modules/bower/lib/core/resolvers/GitResolver.js:69:21
at _fulfilled (/tmp/build_5eda2ab1-254d-4cfb-b565-185eb10aac32/node_modules/bower/node_modules/q/q.js:798:54)
at self.promiseDispatch.done (/tmp/build_5eda2ab1-254d-4cfb-b565-185eb10aac32/node_modules/bower/node_modules/q/q.js:827:30)
at Promise.promise.promiseDispatch (/tmp/build_5eda2ab1-254d-4cfb-b565-185eb10aac32/node_modules/bower/node_modules/q/q.js:760:13)
at /tmp/build_5eda2ab1-254d-4cfb-b565-185eb10aac32/node_modules/bower/node_modules/q/q.js:574:44
at flush (/tmp/build_5eda2ab1-254d-4cfb-b565-185eb10aac32/node_modules/bower/node_modules/q/q.js:108:17)
Console trace:
Trace
at StandardRenderer.error (/tmp/build_5eda2ab1-254d-4cfb-b565-185eb10aac32/node_modules/bower/lib/renderers/StandardRenderer.js:74:17)
at Logger.updateNotifier.packageName (/tmp/build_5eda2ab1-254d-4cfb-b565-185eb10aac32/node_modules/bower/bin/bower:109:18)
at Logger.emit (events.js:95:17)
at Logger.emit (/tmp/build_5eda2ab1-254d-4cfb-b565-185eb10aac32/node_modules/bower/node_modules/bower-logger/lib/Logger.js:29:39)
at /tmp/build_5eda2ab1-254d-4cfb-b565-185eb10aac32/node_modules/bower/lib/commands/install.js:27:16
at _rejected (/tmp/build_5eda2ab1-254d-4cfb-b565-185eb10aac32/node_modules/bower/node_modules/q/q.js:808:24)
at /tmp/build_5eda2ab1-254d-4cfb-b565-185eb10aac32/node_modules/bower/node_modules/q/q.js:834:30
at Promise.when (/tmp/build_5eda2ab1-254d-4cfb-b565-185eb10aac32/node_modules/bower/node_modules/q/q.js:1079:31)
at Promise.promise.promiseDispatch (/tmp/build_5eda2ab1-254d-4cfb-b565-185eb10aac32/node_modules/bower/node_modules/q/q.js:752:41)
at /tmp/build_5eda2ab1-254d-4cfb-b565-185eb10aac32/node_modules/bower/node_modules/q/q.js:574:44
System info:
Bower version: 1.2.8
Node version: 0.10.29
OS: Linux 3.8.11-ec2 x64
So it has some problems with jquery. Meanwhile, my CI env can deploy original version without this problem:
bower backbone-validation#~0.9.1 install backbone-validation#0.9.1
bower jqtree#0.20.0 install jqtree#0.20.0
bower jquery#~2.0.3 install jquery#2.0.3
bower marionette#~1.6.1 install marionette#1.6.4
bower backbone.babysitter#~0.1.0 install backbone.babysitter#0.1.4
bower backbone.wreqr#~1.0.0 install backbone.wreqr#1.0.1
bower underscore#1.4.4 - 1.6.0 install underscore#1.6.0
bower bootstrap#~3.1.0 install bootstrap#3.1.1
bower backbone#1.0.0 - 1.1.2 install backbone#1.1.2
requirejs#2.1.14 bower_components/requirejs
almond#0.2.9 bower_components/almond
What could be the reason?
Fourchette is doing a git clone
of your repository on your Fourchette app, creating a tarball and serving it to Heroku's build API. Anything in that process that is obviously wrong or that is very different from the CI? Probably?
PS: I am not a Node guy, so I might miss something super obvious.
How the tarball is created is here: https://github.com/rainforestapp/fourchette/blob/15ff7d1f3f7fcfdcacce1839d6b1448f254ff366/lib/fourchette/tarball.rb
Also, "why a tarball?" one may ask? Because Heroku's build API only supports that, at least, for now.
The only thing CI does is: git push --force heroku $BRANCH_NAME:master
Probable, tarball can be the reason. I guess I need to think why)
@dmitrytrager: here is one thing you could do maybe to test that, maybe it won't work, just thinking out loud...
On a different machine (just to rule out anything from your machine):
git init
and commit all the filesAre you having the same issue?
@jipiboily tried this approach, no issues detected
I guess this is a private repo you are using? Any chance to have a reproducible repo available publicly so that I can help further?
Closing as I didn't get any news from @dmitrytrager. Feel free to re-open if it's still an issue and you can provide me a way to reproduce it.
Trying to fork Node.js app. Here is the log:
And nothing is built at the end. Also it always add PGBackups addon to forked app and to fork, when it should not do it for node.js app.