OK, followed the directions. Relevant package.json section:
, "engines": {
"node": "0.6.x"
, "npm": ">=1.0.0"
}
When I git push to heroku (via Jenkins), I get
Pushing HEAD to branch master at repo staging
ERROR: Failed to push branch master to staging: Error performing
command: git push [email protected]:wishery-services-staging.git
HEAD:master
Command "git push [email protected]:wishery-services-staging.git
HEAD:master" returned status code 1:
-----> Heroku receiving push
-----> Node.js app detected
-----> Resolving engine versions
Using Node.js version: 0.6.10
! Heroku push rejected, failed to compile Node.js app
I noticed the lines above didn't include anything about npm, so I changed
my npm dependency to an explicit version, rather than a conditional:
, "engines": {
"node": "0.6.x"
, "npm": "1.1.1"
}
Success.
Heroku, please update your docs or tell me what I did wrong -- I think I
followed the labs docs on the feature verbatim?
DA
On Mon, Feb 20, 2012 at 6:17 PM, David Dollar <[email protected]> wrote:
> Labs itself is fairly new and hasn't yet been widely publicized.
>
> As far as release timeline, we're in the process of an incremental
> rollout. The nodejs-versions feature is on by default for all new apps and
> you can flag any existing apps by hand. We'll be rolling out the feature to
> existing apps slowly over the next few weeks.
>
> Cheers,
> David
>
> On Mon, Feb 20, 2012 at 9:13 PM, David Albrecht <[email protected]> wrote:
>
>> That's fantastic. Is there any schedule to get this on a
>> production/release track? I've been using Heroku over 1.5 years and had
>> never even heard of "Labs" prior to today.
>>
>> DA
>>
>>
>> On Mon, Feb 20, 2012 at 6:08 PM, David Dollar <[email protected]> wrote:
>>
>>> Hi David,
>>>
>>> Last week we added the ability to select your Node.js version to Heroku
>>> Labs, our breeding ground for experimental new features. Check it out at:
>>> http://devcenter.heroku.com/articles/labs-nodejs-versions
>>>
>>> On Mon, Feb 20, 2012 at 8:56 PM, David Albrecht <[email protected]>wrote:
>>>
>>>> Is there any plan to upgrade the version of node offered on Cedar past
>>>> 0.4.7? Node's commit log shows this version became stable on April 22nd
>>>> 2011, which is fast approaching a year ago.
>>>>
>>>> Thanks,
>>>> DA
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Heroku" group.
>>>> To post to this group, send email to [email protected].
>>>> To unsubscribe from this group, send email to
>>>> [email protected].
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/heroku?hl=en.
>>>>
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Heroku" group.
>>> To post to this group, send email to [email protected].
>>> To unsubscribe from this group, send email to
>>> [email protected].
>>> For more options, visit this group at
>>> http://groups.google.com/group/heroku?hl=en.
>>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Heroku" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/heroku?hl=en.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Heroku" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/heroku?hl=en.
>
--
You received this message because you are subscribed to the Google Groups
"Heroku" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en.