oortcloud / heroku-buildpack-meteorite Goto Github PK
View Code? Open in Web Editor NEWThis project forked from matb33/heroku-buildpack-nodejs
License: MIT License
This project forked from matb33/heroku-buildpack-nodejs
License: MIT License
I've upgraded my app to Meteor 0.6.5. All the packages it uses are compatible. Push to Heroku was unsuccessful:
Errors prevented bundling:
While building the application:
error: no such package: 'texture'
Quite possibly I missed it, but it seems server console output isn't logged into a file?
Might be nice to add a note to the README that you need to manually set a ROOT_URL env var with heroku config:set in order to get your app running.
I don't think it's possible for the buildpack to sense what the value of that var should be and somehow configure it on the default web worker it creates, but happy to be wrong :)
Thanks for the work on this buildpack -- made deploying our app truly a 5 minute operation.
heroku labs:enable websockets
I just got this error message ! No such feature: websockets
after executing heroku labs:enable websockets
I am having some trouble with deploying my meteorite app using this buildpack. When I deploy my app the first time on Heroku, everything is working fine. After some deployments, one of my packages (https://atmosphere.meteor.com/package/momentjs) isn't loaded anymore, an invocation on the client leads to moment is not defined
. Other packages like https://atmosphere.meteor.com/package/router doesn't make any problems, and as soon as I recreate (destroy + create) the application, everything is working fine again.
I tried to find the cause of the issues, so I ran heroku run bash
and had a look the packages directory. I compared a "broken" installation to a new one, and found out that the broken lists packages/momentjs -> /tmp/build_334e5susfkcex/.meteorite/packages/momentjs/crapthings/meteor-momentjs/f421f51c2cb40093374a83adb932937da2f991d3/moment
(directory is ending with moment
which seems wrong) while the new one lists packages/momentjs -> /tmp/build_28500dpgtyenm/.meteorite/packages/momentjs/crapthings/meteor-momentjs/f421f51c2cb40093374a83adb932937da2f991d3
).
Since the momentjs package is using a submodule at toplevel, I think this might cause the problems, but I am not so much into Meteor/ Meteorite/ Buildpacks to fix this issue. Do you have any ideas for a workaround/ fix?
With the latest npm update Meteor bundling fails. None of the suggested workarounds worked for me
Receiving the following error when trying to deploy to heroku. When I log on to Heroku I see that a app was created at http://evening-badlands-9429.herokuapp.com/ , but no mongoDB was created, and Meteor does not seem to be running.
Downloading Meteor development bundle
######################################################################## 100.0%
Done installing smart packages
Building meteor bundle
You must specify a Meteor version with --release when you work with this
project. It was created from an unreleased Meteor checkout and doesn't
have a version associated with it.
You can permanently set a release for this project with 'meteor update'.
tar: /app/tmp/repo.git/.cache/bundle.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Exiting with failure status due to previous errors
! Push rejected, failed to compile Meteor app app
To [email protected]:evening-badlands-9429.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to '[email protected]:evening-badlands-9429.git'
Hi there,
I've added:
heroku config:add BUILDPACK_URL=https://github.com/oortcloud/heroku-buildpack-meteorite.git
To my app and set the Root URL, however, I always get Push rejected, no Cedar-supported app detected.
Do I need a particular layout or files?
Right now I'm testing with these files:
client/
server/
leaderboard.js
leaderboard.html
leaderboard.css
Thanks,
Christoph
I first tried my own project and that failed terribly, so I decided to start simple by using meteor's leaderboard example, unfortunately there isn't much to go by on the README besides the create command, so i just tried to combine the instructions of meteor, heroku, and your readme:
meteor create --example leaderboard
cd leaderboard
git init
git add .meteor/
git add leaderboard.css
git add leaderboard.html
git add leaderboard.js
git commit -m "first"
heroku create meteorheroku2 --stack cedar --buildpack https://github.com/oortcloud/heroku-buildpack-meteorite.git
heroku config:add ROOT_URL=http://meteorheroku2.herokuapp.com/
heroku config:add METEOR_SETTINGS='{}'
git push heroku master
The page served by "http://meteorheroku2.herokuapp.com/" says "Application Error"
Meteor has a --settings option now, that is used to specify a path to a json file to load into Meteor.settings. It would be nice if the buildpack catered to --settings.
I took a look at it this morning, but couldn't figure it out. Setting Heroku env var METEOR_SETTINGS is an ugly work around..
Hi Meteorites,
I'm getting an error when I try to 'git push heroku master'
I've installed the buildpack in my app. I have installed a mongolab small db. $15/mo. I've created a user for the mongolab db. Set the MONGO_URL to the mongolab URI provided. When I go to push my app up to heroku from Github, I consistently get this error:
Setting up MONGO_URL in .profile.d
-----> Vendoring node into slug
-----> Discovering process types
Procfile declares types -> (none)
Default types for Meteor app -> web
-----> Compressing... done, 11.9MB
-----> Launching...
! Push rejected, That add-on plan is only available to select users.
To [email protected]:premeteor.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to '[email protected]:premeteor.git'
In any case, I've been able to push the app to Modulus no issue. So I suspect this is a heroku related issue, and I'm not clear why it relates to the add-on plan because I've added it. I had previously entered my db through mongorestore, but along the way I removed the db, and have reinstalled a new db instance.
Any help would be greatly appreciated.
Thank you in advance for your help :)
I'm not sure if this issue is related to the BuildPack or the Router package. After creating a new app on Heroku and setting the root url, I use git push heroku master
and then this happens:
Installing smart packages
Done installing smart packages
Ok, everything's ready. Here comes Meteor!
Errors prevented bundling:
Exception while bundling application:
Error: The package named router does not exist.
at _.extend.init_from_library (/tmp/build_16qvd5d60zly6/.meteorite/meteors/meteor/meteor/2d8b41a87cec884489ead138b5dfea31487363f3/app/lib/packages.js:91:13)
at Object.module.exports.get (/tmp/build_16qvd5d60zly6/.meteorite/meteors/meteor/meteor/2d8b41a87cec884489ead138b5dfea31487363f3/app/lib/packages.js:225:11)
at self.api.use (/tmp/build_16qvd5d60zly6/.meteorite/meteors/meteor/meteor/2d8b41a87cec884489ead138b5dfea31487363f3/app/lib/bundler.js:94:28)
at Array.forEach (native)
at Function._.each._.forEach (/tmp/build_16qvd5d60zly6/.meteorite/meteors/meteor/meteor/2d8b41a87cec884489ead138b5dfea31487363f3/dev_bundle/lib/node_modules/underscore/underscore.js:79:11)
at Object.self.api.use (/tmp/build_16qvd5d60zly6/.meteorite/meteors/meteor/meteor/2d8b41a87cec884489ead138b5dfea31487363f3/app/lib/bundler.js:93:9)
at _.extend.init_from_app_dir [as on_use_handler] (/tmp/build_16qvd5d60zly6/.meteorite/meteors/meteor/meteor/2d8b41a87cec884489ead138b5dfea31487363f3/app/lib/packages.js:136:11)
at _.extend.use (/tmp/build_16qvd5d60zly6/.meteorite/meteors/meteor/meteor/2d8b41a87cec884489ead138b5dfea31487363f3/app/lib/bundler.js:382:11)
at Object.exports.bundle (/tmp/build_16qvd5d60zly6/.meteorite/meteors/meteor/meteor/2d8b41a87cec884489ead138b5dfea31487363f3/app/lib/bundler.js:707:12)
at Object.Commands.push.func (/tmp/build_16qvd5d60zly6/.meteorite/meteors/meteor/meteor/2d8b41a87cec884489ead138b5dfea31487363f3/app/meteor/meteor.js:415:28)
at main (/tmp/build_16qvd5d60zly6/.meteorite/meteors/meteor/meteor/2d8b41a87cec884489ead138b5dfea31487363f3/app/meteor/meteor.js:665:22)
at /tmp/build_16qvd5d60zly6/.meteorite/meteors/meteor/meteor/2d8b41a87cec884489ead138b5dfea31487363f3/app/meteor/meteor.js:668:3
Bundled
tar: /app/tmp/repo.git/.cache/bundle.tar.gz: Cannot open: No such file or directory
Any ideas what's going on here?
The buildpack worked fine until this morning, when I started getting this error when pushing apps to heroku. (Haven't changed anything at all in the app.)
Done installing smart packages
Building meteor bundle
You must specify a Meteor version with --release when you work with this
project. It was created from an unreleased Meteor checkout and doesn't
have a version associated with it.
You can permanently set a release for this project with 'meteor update'.
tar: /app/tmp/repo.git/.cache/bundle.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Exiting with failure status due to previous errors
! Push rejected, failed to compile Meteor app app
Hello,
I am using your builpack meteorite for deploying a telescope project to heroku. I always get this error.
"/app/.meteor/heroku_build/app/server/node_modules/fibers/fibers.js:13
2013-06-12T11:37:23.986034+00:00 app[web.1]: throw new Error(''+ modPath+ '.node
is missing. Try reinstalling `node-fibe
2013-06-12T11:37:23.988931+00:00 app[web.1]: at Module._compile (module.js:456:26)
"
It seems it's a problem with fibers. Do you know why is this happening?
Thanks
I am having trouble scheduling a job in heroku. With a standard buildpack, node is stored in the app/bin/ directory. You can $which node to check the node version in the heroku terminal ($heroku run bash). A scheduled job script will be placed in the same directory as node. With the buildpack, it looks like node is stored in ~/.meteor/heroku_build/bin... I found this by manual inspections; when I issue $which node nothing happens.
If this isn't a problem, where should the scheduled job script be placed?
Is it possible to make heroku deploy an app such as meteor deploy does with --debug option?
Fails with error:
2014-07-31T00:10:47.749889+00:00 app[web.1]: Meteor requires Node v0.10.29 or later.
I'm trying to deploy my app as usual but now it seems that code in my Meteor.startup() function never gets executed. I have:
Meteor.startup(function () {
Accounts.loginServiceConfiguration.remove({});
var loginConfigs = [
// login configs
];
_.map(loginConfigs, function(config) {
Accounts.loginServiceConfiguration.insert(config);
});
});
to set up login services upon startup. However, when I launch, the app crashes and when I check my collections, I see that the existing collection has not been modified with the new login service configs. I dropped the collection to see if it would be created and it was not.
This has worked previously with Heroku but now does not, although it still works perfectly in my local environment.
if my package.json specifies the node engine as "node": "0.10.20"
the buildpack works fine, if it is "node": "0.10.x"
i get the following:
-----> Fetching custom git buildpack... done
-----> Meteor app app detected
-----> Resolving engine versions
Using Node.js version: 0.10.21
-----> Fetching Node.js binaries
-----> Installing meteorite with npm
/tmp/node-node-mlwT/lib/node_modules/npm/node_modules/npm-registry-client/lib/._adduser.js:1
(function (exports, require, module, __filename, __dirname) {
^
SyntaxError: Unexpected token ILLEGAL
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at /tmp/node-node-mlwT/lib/node_modules/npm/node_modules/npm-registry-client/index.js:70:49
at Array.forEach (native)
at Object.<anonymous> (/tmp/node-node-mlwT/lib/node_modules/npm/node_modules/npm-registry-client/index.js:68:47)
at Module._compile (module.js:456:26)
! Failed to install meteorite -g dependencies with npm
! Push rejected, failed to compile Meteor app app
attempts to locally replicate have not succeeded, so maybe its a conflict specific to heroku?
Websockets are enabled now by default.
But req /sockjs/info returns {"websocket":false,"origins":[":"],"cookie_needed":false,"entropy":2727526444}
Any ideas?
Some info from deploy log:
Building meteor bundle
Installing Meteor 0.7.0.1:
* 'meteor' build tool (version 09b63f1ed5)
* Package updates: accounts-base accounts-facebook accounts-github
accounts-google accounts-meetup accounts-oauth accounts-password
accounts-twitter accounts-ui accounts-ui-unstyled accounts-weibo amplify
appcache application-configuration audit-argument-checks autopublish
autoupdate backbone bootstrap browser-policy browser-policy-common
browser-policy-content browser-policy-framing check code-prettify
coffeescript coffeescript-test-helper ctl ctl-helper d3 deps
dev-bundle-fetcher disable-oplog domutils ejson email facebook facts
follower-livedata force-ssl geojson-utils github google handlebars htmljs
http insecure jquery jquery-history jquery-layout jquery-waypoints js-analyze
js-analyze-tests json jsparse less livedata liverange localstorage logging
madewith meetup meteor meyerweb-reset minifiers minimongo mongo-livedata
oauth oauth1 oauth2 ordered-dict preserve-inputs random reactive-dict reload
routepolicy service-configuration session showdown spark spiderable srp
standard-app-packages star-translate startup stylus templating test-helpers
test-in-browser test-in-console tinytest twitter underscore universal-events
webapp weibo
iron-router: updating npm dependencies -- connect...
handlebars-server: updating npm dependencies -- handlebars...
simple-schema: updating npm dependencies -- string...
apm: updating npm dependencies -- debug...
I have a project locked on Meteor 0.5.9, from my smart.json:
"meteor": {
"git": "https://github.com/meteor/meteor.git",
"tag": "v0.5.9"
},
It heavily relies on variable sharing across files (thanks to their concatenation) - the thing that changed in 0.6. That's why I cannot instantly migrate (and don't want to actually).
My local versions (work ok)
$ mrt --version
Meteorite version 0.5.1
Meteor version 0.5.9 (git checkout)
Last time I deployed to Heroku it went OK as well - it was 5 days ago.
Today after deploy I start getting errors related to variables not defined.
In the deployment log I see
npm http GET https://registry.npmjs.org/meteorite/-/meteorite-0.6.0.tgz
[email protected] postinstall /tmp/node-modules-Ttfy/lib/node_modules/meteorite
Meteor 0.6.3.1 has been installed in your home directory (~/.meteor).
Installing Meteor
tag: https://github.com/meteor/meteor.git#v0.5.9
Installing smart packages
Though it installs v0.5.9 it feels like the code is ran with 0.6.0
Also the's — don't know if related
./completions/postinstall.sh
./completions/postinstall.sh: 14: [[: not found
After migration to meteor/meteorite 0.9.0 my app was successfuly deployed to heroku, but after that it crashes during startup with error. On my local machine it works fine with new meteor release. Problem occurs only on Heroku.
2014-08-28T07:47:18.713911+00:00 app[web.1]:
2014-08-28T07:47:18.714803+00:00 app[web.1]: throw err;
2014-08-28T07:47:18.714972+00:00 app[web.1]: ^
2014-08-28T07:47:18.721180+00:00 app[web.1]: Error: Cannot find module 'fibers'
2014-08-28T07:47:18.721184+00:00 app[web.1]: at Function.Module._resolveFilename (module.js:338:15)
2014-08-28T07:47:18.721186+00:00 app[web.1]: at Function.Module._load (module.js:280:25)
2014-08-28T07:47:18.721187+00:00 app[web.1]: at Module.require (module.js:364:17)
2014-08-28T07:47:18.721190+00:00 app[web.1]: at require (module.js:380:17)
2014-08-28T07:47:18.721191+00:00 app[web.1]: at Object. (/app/.meteor/heroku_build/app/programs/server/boot.js:1:75)
2014-08-28T07:47:18.721193+00:00 app[web.1]: at Module._compile (module.js:456:26)
2014-08-28T07:47:18.721194+00:00 app[web.1]: at Object.Module._extensions..js (module.js:474:10)
2014-08-28T07:47:18.721196+00:00 app[web.1]: at Module.load (module.js:356:32)
2014-08-28T07:47:18.721198+00:00 app[web.1]: at Function.Module._load (module.js:312:12)
2014-08-28T07:47:18.721199+00:00 app[web.1]: at Module.require (module.js:364:17)
2014-08-28T07:47:18.714488+00:00 app[web.1]: module.js:340
2014-08-28T07:47:19.702080+00:00 heroku[web.1]: Process exited with status 8
2014-08-28T07:47:17.535884+00:00 heroku[web.1]: Starting process with command .meteor/heroku_build/bin/node .meteor/heroku_build/app/main.js
2014-08-28T07:47:19.713767+00:00 heroku[web.1]: State changed from crashed to starting
2014-08-28T07:47:19.713185+00:00 heroku[web.1]: State changed from starting to crashed
2014-08-28T07:47:23.344818+00:00 app[web.1]: throw err;
2014-08-28T07:47:23.343796+00:00 app[web.1]:
2014-08-28T07:47:23.347405+00:00 app[web.1]: at Function.Module._resolveFilename (module.js:338:15)
2014-08-28T07:47:23.347408+00:00 app[web.1]: at Module.require (module.js:364:17)
2014-08-28T07:47:23.347414+00:00 app[web.1]: at Module._compile (module.js:456:26)
2014-08-28T07:47:23.347399+00:00 app[web.1]: Error: Cannot find module 'fibers'
2014-08-28T07:47:23.347407+00:00 app[web.1]: at Function.Module._load (module.js:280:25)
2014-08-28T07:47:23.347415+00:00 app[web.1]: at Object.Module._extensions..js (module.js:474:10)
2014-08-28T07:47:23.344824+00:00 app[web.1]: ^
2014-08-28T07:47:23.347412+00:00 app[web.1]: at Object. (/app/.meteor/heroku_build/app/programs/server/boot.js:1:75)
2014-08-28T07:47:23.347410+00:00 app[web.1]: at require (module.js:380:17)
2014-08-28T07:47:23.347417+00:00 app[web.1]: at Module.load (module.js:356:32)
2014-08-28T07:47:23.347418+00:00 app[web.1]: at Function.Module._load (module.js:312:12)
2014-08-28T07:47:23.347420+00:00 app[web.1]: at Module.require (module.js:364:17)
2014-08-28T07:47:23.344388+00:00 app[web.1]: module.js:340
2014-08-28T07:47:24.152741+00:00 heroku[web.1]: State changed from starting to crashed
This build worked yesterday, and the author hasn't made any changes to the meteor-spin package.
it's as if the buildpack simply can't see the spin when updating the meteorite dependencies.
mrt update
> mrt update
✓ accounts-ui-bootstrap-dropdown
tag: https://github.com/erobit/meteor-accounts-ui-bootstrap-dropdown.git#v0.8.3
✓ spin
tag: https://github.com/SachaG/meteor-spin.git#v2.0.4
✓ roles
tag: https://github.com/alanning/meteor-roles.git#v1.2.11
✓ bootstrap-datepicker2
tag: https://github.com/deepwell/meteor-bootstrap-datepicker.git#v1.2.0
✓ jquery-ui-bootstrap
tag: https://github.com/TimHeckel/meteor-jquery-ui-bootstrap.git#v0.1.2
✓ node-csv-npm
tag: https://github.com/Dsyko/meteor-node-csv.git#v0.3.6
✓ crypto-md5
tag: https://github.com/oortcloud/meteor-crypto-md5.git#v3.1.2.2
✓ handlebars-server
tag: https://github.com/EventedMind/meteor-handlebars-server.git#v1.2.0
✓ iron-router
tag: https://github.com/EventedMind/iron-router.git#v0.8.2
✓ iron-transitioner
tag: https://github.com/percolatestudio/iron-transitioner.git#v0.1.0
✓ smart-publish
tag: https://github.com/yeputons/meteor-smart-publish.git#v0.1.5
✓ jquery-ui
tag: https://github.com/TimHeckel/meteor-jquery-ui.git#v1.9.2
✓ crypto-base
tag: https://github.com/oortcloud/meteor-crypto-base.git#v3.1.2.1
✓ iron-layout
tag: https://github.com/EventedMind/iron-layout.git#v0.2.0
✓ blaze-layout
tag: https://github.com/EventedMind/blaze-layout.git#v0.2.5
✓ iron-core
tag: https://github.com/EventedMind/iron-core.git#v0.2.0
✓ iron-dynamic-template
tag: https://github.com/EventedMind/iron-dynamic-template.git#v0.2.1
Done installing smart packages
git push heroku master
Meteor installed
Installing packages
✓ accounts-ui-bootstrap-dropdown
tag: https://github.com/erobit/meteor-accounts-ui-bootstrap-dropdown.git#v0.8.3
✓ roles
tag: https://github.com/alanning/meteor-roles.git#v1.2.11
✓ bootstrap-datepicker2
tag: https://github.com/deepwell/meteor-bootstrap-datepicker.git#v1.2.0
✓ jquery-ui-bootstrap
tag: https://github.com/TimHeckel/meteor-jquery-ui-bootstrap.git#v0.1.2
✓ node-csv-npm
tag: https://github.com/Dsyko/meteor-node-csv.git#v0.3.6
✓ crypto-md5
tag: https://github.com/oortcloud/meteor-crypto-md5.git#v3.1.2.2
✓ handlebars-server
tag: https://github.com/EventedMind/meteor-handlebars-server.git#v1.2.0
✓ iron-router
tag: https://github.com/EventedMind/iron-router.git#v0.8.2
✓ iron-transitioner
tag: https://github.com/percolatestudio/iron-transitioner.git#v0.1.0
✓ smart-publish
tag: https://github.com/yeputons/meteor-smart-publish.git#v0.1.5
✓ jquery-ui
tag: https://github.com/TimHeckel/meteor-jquery-ui.git#v1.9.2
✓ crypto-base
tag: https://github.com/oortcloud/meteor-crypto-base.git#v3.1.2.1
✓ iron-layout
tag: https://github.com/EventedMind/iron-layout.git#v0.2.0
✓ blaze-layout
tag: https://github.com/EventedMind/blaze-layout.git#v0.2.5
✓ iron-core
tag: https://github.com/EventedMind/iron-core.git#v0.2.0
✓ iron-dynamic-template
tag: https://github.com/EventedMind/iron-dynamic-template.git#v0.2.1
Done installing smart packages
Building meteor bundle
Installing Meteor 0.8.3:
* 'meteor' build tool (version cef2bcd356)
* Package updates: accounts-base accounts-facebook accounts-github
accounts-google accounts-meetup accounts-meteor-developer accounts-oauth
accounts-password accounts-twitter accounts-ui accounts-ui-unstyled
accounts-weibo amplify appcache application-configuration
audit-argument-checks autopublish autoupdate backbone binary-heap blaze
blaze-tools bootstrap browser-policy browser-policy-common
browser-policy-content browser-policy-framing callback-hook check
code-prettify coffeescript coffeescript-test-helper ctl ctl-helper d3 deps
dev-bundle-fetcher disable-oplog ejson email facebook facts follower-livedata
force-ssl geojson-utils github google handlebars html-tools htmljs http
id-map insecure jquery jquery-history jquery-layout jquery-waypoints
js-analyze js-analyze-tests json jsparse less livedata localstorage logging
meetup meteor meteor-developer meyerweb-reset minifiers minimongo
mongo-livedata oauth oauth-encryption oauth1 oauth2 observe-sequence
ordered-dict preserve-inputs random reactive-dict reload reload-safetybelt
retry routepolicy service-configuration session sha showdown spacebars
spacebars-compiler spacebars-tests spiderable srp standard-app-packages
star-translate startup stylus templating test-helpers test-in-browser
test-in-console tinytest twitter ui underscore underscore-tests webapp weibo
inside api.export
node-csv-npm: updating npm dependencies -- csv...
handlebars-server: updating npm dependencies -- handlebars...
iron-router: updating npm dependencies -- connect...
Errors prevented bundling:
While building the application:
error: no such package: 'spin'
tar: /app/tmp/cache/bundle.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Exiting with failure status due to previous errors
.meteor/packages
# Meteor packages used by this project, one per line.
#
# 'meteor add' and 'meteor remove' will edit this file for you,
# but you can also edit it by hand.
jquery
coffeescript
email
underscore
accounts-base
accounts-password
bootstrap
bootstrap-datepicker2
standard-app-packages
meteor-file
accounts-ui-bootstrap-dropdown
spin
jquery-ui-bootstrap
# page-js-ie-support
# HTML5-History-API
jquery-ui
node-csv-npm
crypto-md5
handlebars-server
iron-router
minifiers
jquery-sortable
smart-publish
roles
smart.json
{
"packages": {
"accounts-ui-bootstrap-dropdown": {},
"spin": {},
"roles": {},
"bootstrap-datepicker2": {},
"jquery-ui-bootstrap": {},
"node-csv-npm": {},
"crypto-md5": {},
"handlebars-server": {},
"iron-router": {},
"iron-transitioner": {},
"smart-publish": {}
}
}
smart.lock
{
"meteor": {},
"dependencies": {
"basePackages": {
"accounts-ui-bootstrap-dropdown": {},
"spin": {},
"roles": {},
"bootstrap-datepicker2": {},
"jquery-ui-bootstrap": {},
"node-csv-npm": {},
"crypto-md5": {},
"handlebars-server": {},
"iron-router": {},
"iron-transitioner": {},
"smart-publish": {}
},
"packages": {
"accounts-ui-bootstrap-dropdown": {
"git": "https://github.com/erobit/meteor-accounts-ui-bootstrap-dropdown.git",
"tag": "v0.8.3",
"commit": "a7af8a52e4e74db020a69b158a8f992797b8b0b0"
},
"spin": {
"git": "https://github.com/SachaG/meteor-spin.git",
"tag": "v2.0.4",
"commit": "f7b1e12a7caff1283cdb3671a393c182d0ae9862"
},
"roles": {
"git": "https://github.com/alanning/meteor-roles.git",
"tag": "v1.2.11",
"commit": "2d7dc91848ec874d3a0852c77f462d0fae749de5"
},
"bootstrap-datepicker2": {
"git": "https://github.com/deepwell/meteor-bootstrap-datepicker.git",
"tag": "v1.2.0",
"commit": "b7de18a7cc651ea665cda75048663f90d1a11d10"
},
"jquery-ui-bootstrap": {
"git": "https://github.com/TimHeckel/meteor-jquery-ui-bootstrap.git",
"tag": "v0.1.2",
"commit": "fa742a85639307003e105898e15b631394b63509"
},
"node-csv-npm": {
"git": "https://github.com/Dsyko/meteor-node-csv.git",
"tag": "v0.3.6",
"commit": "01be0e3e834a4f033121cb3fcc92c2697741170d"
},
"crypto-md5": {
"git": "https://github.com/oortcloud/meteor-crypto-md5.git",
"tag": "v3.1.2.2",
"commit": "75bbb3eeace302122d3554a6212a6fe92553fa18"
},
"handlebars-server": {
"git": "https://github.com/EventedMind/meteor-handlebars-server.git",
"tag": "v1.2.0",
"commit": "1b72c4e9d82af66293e50be4516c487d15d97464"
},
"iron-router": {
"git": "https://github.com/EventedMind/iron-router.git",
"tag": "v0.8.2",
"commit": "05415a8891ea87a00fb1e2388585f2ca5a38e0da"
},
"iron-transitioner": {
"git": "https://github.com/percolatestudio/iron-transitioner.git",
"tag": "v0.1.0",
"commit": "4a5db7d9c7e212d8784b86aa833334e619bb4bd3"
},
"smart-publish": {
"git": "https://github.com/yeputons/meteor-smart-publish.git",
"tag": "v0.1.5",
"commit": "6a9b161d724c60d1ca42fce1f4ccbb5419466702"
},
"jquery-ui": {
"git": "https://github.com/TimHeckel/meteor-jquery-ui.git",
"tag": "v1.9.2",
"commit": "c437d45edcf1367df8d5ffa8bad2867758030bd2"
},
"crypto-base": {
"git": "https://github.com/oortcloud/meteor-crypto-base.git",
"tag": "v3.1.2.1",
"commit": "5df8d82a0595553415bbfae2930c6ecbeece5794"
},
"iron-layout": {
"git": "https://github.com/EventedMind/iron-layout.git",
"tag": "v0.2.0",
"commit": "4a2d53e35ba036b0c189c7ceca34be494d4c6c97"
},
"blaze-layout": {
"git": "https://github.com/EventedMind/blaze-layout.git",
"tag": "v0.2.5",
"commit": "273e3ab7d005d91a1a59c71bd224533b4dae2fbd"
},
"iron-core": {
"git": "https://github.com/EventedMind/iron-core.git",
"tag": "v0.2.0",
"commit": "0e48b5dc50d03f01025b7b900fb5ce2f13d52cad"
},
"iron-dynamic-template": {
"git": "https://github.com/EventedMind/iron-dynamic-template.git",
"tag": "v0.2.1",
"commit": "4dd1185c4d9d616c9abdb3f33e4a7d5a88db7e18"
}
}
}
}
If you don't include http://
before your ROOT_URL
, your app will crash with a cryptic message. The readme suggests:
heroku config:add ROOT_URL=your.domain.com
while it should be
heroku config:add ROOT_URL=http://your.domain.com
Hi,
My app works after deploy, but won't wake up again after it idles then goes to sleep.
Any ideas? See "heroku log" below.
Thanks,
G
2013-10-10T08:49:17.079953+00:00 heroku[router]: at=info method=POST path=/sockjs/462/z802ar88/xhr host=tp.taskputty.com fwd="192.168.1.147, 105.236.179.33" dyno=web.1 connect=1ms service=2
5003ms status=200 bytes=12
2013-10-10T09:51:59.133633+00:00 heroku[web.1]: Idling
2013-10-10T09:52:02.223979+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2013-10-10T09:52:04.443785+00:00 heroku[web.1]: State changed from up to down
2013-10-10T09:52:04.431350+00:00 heroku[web.1]: Process exited with status 1
2013-10-10T17:43:23.964142+00:00 heroku[web.1]: Unidling
2013-10-10T17:43:23.964452+00:00 heroku[web.1]: State changed from down to starting
2013-10-10T17:43:29.773801+00:00 heroku[web.1]: Starting process with command .meteor/heroku_build/bin/node .meteor/heroku_build/app/main.js
2013-10-10T17:44:30.740905+00:00 heroku[web.1]: Stopping process with SIGKILL
2013-10-10T17:44:30.740703+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2013-10-10T17:44:31.879252+00:00 heroku[web.1]: Process exited with status 137
2013-10-10T17:44:36.934189+00:00 heroku[web.1]: Starting process with command .meteor/heroku_build/bin/node .meteor/heroku_build/app/main.js
2013-10-10T17:44:39.269253+00:00 heroku[router]: at=error code=H20 desc="App boot timeout" method=GET path=/ host=tp.taskputty.com fwd="41.150.166.98" dyno= connect= service= status=503 bytes=
2013-10-10T17:45:38.648018+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2013-10-10T17:45:38.648147+00:00 heroku[web.1]: Stopping process with SIGKILL
2013-10-10T17:45:39.716529+00:00 heroku[web.1]: Process exited with status 137
2013-10-10T17:45:40.446201+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=tp.taskputty.com fwd="41.150.166.98" dyno= connect= service= status=503 bytes=
2013-
This project works fine locally, but when pushing to heroku I get a bunch of missing files:
�[1mDone installing smart packages�[22m
Building meteor bundle
iron-router: updating npm dependencies -- connect...
xml2js: updating npm dependencies -- xml2js...
mongodb-aggregation: updating npm dependencies -- mongodb...
npm: updating npm dependencies -- html-md...
Errors prevented bundling:
While building package `pen`:
error: File not found: lib/src/font/fontello.eot
error: File not found: lib/src/font/fontello.svg
error: File not found: lib/src/font/fontello.ttf
error: File not found: lib/src/font/fontello.woff
error: File not found: lib/src/pen.css
error: File not found: lib/src/pen.js
error: File not found: lib/src/markdown.js
tar: /app/tmp/cache/bundle.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Exiting with failure status due to previous errors
! Push rejected, failed to compile Meteor app app
When I was setting up a new Heroku app today it was installed with node version 0.10.21 (which totally does not work with the latest Meteor version).
----> Fetching custom git buildpack... done
-----> Meteor app app detected
-----> Resolving engine versions
No version of Node.js specified in nodeversion, using '0.10.26'
Using Node.js version: 0.10.21
-----> Fetching Node.js binaries
- downloading and extracting node from http://s3pository.heroku.com/node/v0.10.21/node-v0.10.21-linux-x64.tar.gz
So I investigated it a bit and found that semver.io changes its response with each other request. I just ran curl multiple times from the command line and got this:
$ curl --silent --get --data-urlencode "range=0.10.26" https://semver.io/node/resolve
0.10.21
$ curl --silent --get --data-urlencode "range=0.10.26" https://semver.io/node/resolve
0.10.21
$ curl --silent --get --data-urlencode "range=0.10.26" https://semver.io/node/resolve
0.10.26
$ curl --silent --get --data-urlencode "range=0.10.26" https://semver.io/node/resolve
0.10.26
$ curl --silent --get --data-urlencode "range=0.10.26" https://semver.io/node/resolve
$ curl --silent --get --data-urlencode "range=0.10.26" https://semver.io/node/resolve
0.10.21
$ curl --silent --get --data-urlencode "range=0.10.26" https://semver.io/node/resolve
0.10.21
$ curl --silent --get --data-urlencode "range=0.10.26" https://semver.io/node/resolve
0.10.21
$ curl --silent --get --data-urlencode "range=0.10.26" https://semver.io/node/resolve
0.10.26
$ curl --silent --get --data-urlencode "range=0.10.26" https://semver.io/node/resolve
0.10.26
$ curl --silent --get --data-urlencode "range=0.10.26" https://semver.io/node/resolve
0.10.21
$ curl --silent --get --data-urlencode "range=0.10.26" https://semver.io/node/resolve
0.10.26
$ curl --silent --get --data-urlencode "range=0.10.26" https://semver.io/node/resolve
0.10.26
$ curl --silent --get --data-urlencode "range=0.10.26" https://semver.io/node/resolve
0.10.26
$ curl --silent --get --data-urlencode "range=0.10.26" https://semver.io/node/resolve
0.10.21
Probably not a good thing to continue using samver. Working on a fix, will make a Pull Request shortly.
Hi,
I have used this buildpack but I have got and error:
remote: While selecting package versions: remote: error: unknown package: kahon:account-easy-chat
It is a local package. I have tried with another local package and the same error.
Looks like the run_npm() lines are commented out in bin/compile. Would this install npm's I've installed with a package.json file at root? Is there another way to handle this when deploying to heroku with this build back?
Thanks!
I get the following error when attempting to deploy:
Done installing smart packages
Building meteor bundle
compileJade: updating npm dependencies -- jade, markdown...
Setting up MONGO_URL in .profile.d
-----> Vendoring node into slug
-----> Discovering process types
Procfile declares types -> (none)
Default types for Meteor app -> web
-----> Compressing... done, 34.6MB
-----> Launching...
! Push rejected, Could not communicate with vendor, please try again later
I believe that I followed the readme correctly. Any ideas?
step to reproduce:
now go to the deploy site and see the following error:
Error: ENOENT, no such file or directory '/app/.meteor/local/build/app.html'
at Object.fs.openSync (fs.js:338:18)
at Object.fs.readFileSync (fs.js:182:15)
at app/packages/angularjs/server.js:12:25
Trying to deploy with meteorite buildpack to heroku with meteor 0.6 - getting some errors when launching the app. Running it locally with mrt produces no errors. Probably something to do with how 0.6 handles npm packages vs. meteorite - but maybe not - any ideas? Thanks SOOO much!
excerpted from git push heroku:
branch: https://github.com/meteor/meteor.git#master
Installing smart packages
Downloading Meteor development bundle
############################################################ 100.0%
✓ animate-css
tag: https://github.com/nate-strauser/meteor-animate-css.git#v0.1.0
✓ stripe
tag: https://github.com/appleifreak/stripe-meteor.git#v1.0.0
✓ form2js-jquery
tag: https://github.com/nate-strauser/meteor-form2js-jquery.git#v0.1.0
✓ node-modules
tag: https://github.com/possibilities/meteor-node-modules.git#v0.0.5
✓ filepicker
tag: https://github.com/Filepicker/meteor.git#v0.2.0
Done installing smart packages
Building meteor bundle
Stand back while Meteorite does its thing
Done installing smart packages
Ok, everything's ready. Here comes Meteor!
Errors prevented bundling:
Exception while bundling application:
Error: ENOENT, no such file or directory '/tmp/build_34nxi2gp77m77/.meteor/meteorite/packages/form2js-jquery/form2js/src/form2js.js'
at Object.fs.openSync (fs.js:338:18)
at Object.fs.readFileSync (fs.js:182:15)
at Object.self.api.add_resource (/tmp/build_34nxi2gp77m77/.meteorite/meteors/meteor/meteor/2d8b41a87cec884489ead138b5dfea31487363f3/app/lib/bundler.js:282:23)
at /tmp/build_34nxi2gp77m77/.meteorite/meteors/meteor/meteor/2d8b41a87cec884489ead138b5dfea31487363f3/packages/meteor/package.js:10:12
at _.extend.add_file (/tmp/build_34nxi2gp77m77/.meteorite/meteors/meteor/meteor/2d8b41a87cec884489ead138b5dfea31487363f3/app/lib/bundler.js:206:5)
at self.api.add_files (/tmp/build_34nxi2gp77m77/.meteorite/meteors/meteor/meteor/2d8b41a87cec884489ead138b5dfea31487363f3/app/lib/bundler.js:107:16)
at Array.forEach (native)
at Function._.each._.forEach (/tmp/build_34nxi2gp77m77/.meteorite/meteors/meteor/meteor/2d8b41a87cec884489ead138b5dfea31487363f3/dev_bundle/lib/node_modules/underscore/underscore.js:79:11)
at self.api.add_files (/tmp/build_34nxi2gp77m77/.meteorite/meteors/meteor/meteor/2d8b41a87cec884489ead138b5dfea31487363f3/app/lib/bundler.js:106:11)
at Array.forEach (native)
at Function._.each._.forEach (/tmp/build_34nxi2gp77m77/.meteorite/meteors/meteor/meteor/2d8b41a87cec884489ead138b5dfea31487363f3/dev_bundle/lib/node_modules/underscore/underscore.js:79:11)
at Object.self.api.add_files (/tmp/build_34nxi2gp77m77/.meteorite/meteors/meteor/meteor/2d8b41a87cec884489ead138b5dfea31487363f3/app/lib/bundler.js:105:9)
at null.on_use_handler (/tmp/build_34nxi2gp77m77/.meteor/meteorite/packages/form2js-jquery/package.js:7:9)
at _.extend.use (/tmp/build_34nxi2gp77m77/.meteorite/meteors/meteor/meteor/2d8b41a87cec884489ead138b5dfea31487363f3/app/lib/bundler.js:382:11)
at self.api.use (/tmp/build_34nxi2gp77m77/.meteorite/meteors/meteor/meteor/2d8b41a87cec884489ead138b5dfea31487363f3/app/lib/bundler.js:95:21)
at Array.forEach (native)
at Function._.each._.forEach (/tmp/build_34nxi2gp77m77/.meteorite/meteors/meteor/meteor/2d8b41a87cec884489ead138b5dfea31487363f3/dev_bundle/lib/node_modules/underscore/underscore.js:79:11)
at Object.self.api.use (/tmp/build_34nxi2gp77m77/.meteorite/meteors/meteor/meteor/2d8b41a87cec884489ead138b5dfea31487363f3/app/lib/bundler.js:93:9)
at _.extend.init_from_app_dir [as on_use_handler] (/tmp/build_34nxi2gp77m77/.meteorite/meteors/meteor/meteor/2d8b41a87cec884489ead138b5dfea31487363f3/app/lib/packages.js:136:11)
at _.extend.use (/tmp/build_34nxi2gp77m77/.meteorite/meteors/meteor/meteor/2d8b41a87cec884489ead138b5dfea31487363f3/app/lib/bundler.js:382:11)
at Object.exports.bundle (/tmp/build_34nxi2gp77m77/.meteorite/meteors/meteor/meteor/2d8b41a87cec884489ead138b5dfea31487363f3/app/lib/bundler.js:707:12)
at Object.Commands.push.func (/tmp/build_34nxi2gp77m77/.meteorite/meteors/meteor/meteor/2d8b41a87cec884489ead138b5dfea31487363f3/app/meteor/meteor.js:415:28)
at main (/tmp/build_34nxi2gp77m77/.meteorite/meteors/meteor/meteor/2d8b41a87cec884489ead138b5dfea31487363f3/app/meteor/meteor.js:665:22)
at /tmp/build_34nxi2gp77m77/.meteorite/meteors/meteor/meteor/2d8b41a87cec884489ead138b5dfea31487363f3/app/meteor/meteor.js:668:3
Bundled
tar: /app/tmp/repo.git/.cache/bundle.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Exiting with failure status due to previous errors
! Heroku push rejected, failed to compile Meteor app app
To [email protected]:yrn2.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to '[email protected]:yrn2.git'
Running on local:
blob:yarn sam$ mrt
Stand back while Meteorite does its thing
Done installing smart packages
Ok, everything's ready. Here comes Meteor!
[[[[[ ~/meteor/yarn ]]]]]
The default node version needs to be updated to 0.10.22 or greater.
Hi, you guys are doing a great job but I've noticed lately that responses to PR's and issues aren't really happening super quickly (e.g. Meteor 0.9 support).
I would like to volunteer to maintain this.
I've used Heroku for several years and have several Meteor apps currently deployed there that I maintain. I'm comfortable with the ops side of things.
Which version of node installed with this buildpack? I pushed my app to heroku using buildpack https://github.com/nate-strauser/heroku-buildpack-meteorite but the application failed. The logs say that
Meteor requires Node v0.8.24 or later
Any ideas on how to resolve this?
Thanks for this! Worked great getting my app up on Heroku.
Any documentation kicking around about the functions in support/aws? I'm assuming you can do stuff like deploying static files to S3 as a part of the Heroku deployment process. Any links or hints would be appreciated.
@5.1
Done installing smart packages
Ok, everything's ready. Here comes Meteor!
=> Running Meteor from a checkout -- overrides project version (0.6.3.1)
livedata: updating npm dependencies -- sockjs, websocket...
mongo-livedata: updating npm dependencies -- mongodb...
email: updating npm dependencies -- mailcomposer, simplesmtp, stream-buffers...
less: updating npm dependencies -- less...
coffeescript: updating npm dependencies -- coffee-script...
... continues to completion ...
@6.0
Done installing smart packages
Ok, everything's ready. Here comes Meteor!
execvp(): No such file or directory
Bundled
tar: /app/tmp/repo.git/.cache/bundle.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Exiting with failure status due to previous errors
! Push rejected, failed to compile Meteor app app
bundling appears to work fine locally
Started running into this error with my previously-stable buildpack:
Errors prevented bundling:
While loading plugin `meteor-scss` from package `scss`:
module.js:356:32: /lib/libc.so.6: version `GLIBC_2.14' not found (required by /tmp/build_a57406e7-d4ad-4437-8694-53957bd5099c/.meteorite/packages/scss/fourseven/meteor-scss/b6fcca86cdd4c41ada0abd5d6e3a7f77c919d826/.npm/plugin/meteor-scss/node_modules/node-sass/bin/linux-x64-v8-3.14/binding.node)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at requireBinding (/tmp/build_a57406e7-d4ad-4437-8694-53957bd5099c/.meteorite/packages/scss/fourseven/meteor-scss/b6fcca86cdd4c41ada0abd5d6e3a7f77c919d826/.npm/plugin/meteor-scss/node_modules/node-sass/sass.js:17:14)
at Object.<anonymous> (/tmp/build_a57406e7-d4ad-4437-8694-53957bd5099c/.meteorite/packages/scss/fourseven/meteor-scss/b6fcca86cdd4c41ada0abd5d6e3a7f77c919d826/.npm/plugin/meteor-scss/node_modules/node-sass/sass.js:24:15)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object._.extend.Npm.require (/tmp/node-meteor-auPt/.meteor/tools/5bf1690853/tools/bundler.js:1072:22)
at Package (packages/meteor-scss/plugin/compile-scss.js:2)
at <runJavaScript-42>:87:4
at <runJavaScript-42>:94:3
Did some digging, but really not sure what to make of it. Any thoughts?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.