AdmitHub / meteor-buildpack-horse

Heroku buildpack for Meteor v1.0+. The horse one.
MIT License
641 stars 586 forks source link

I think this is a meteor version mismatch between my local build and heroku. #181

Closed jd4rider closed 7 years ago

jd4rider commented 7 years ago
Type of problem
Summary

I have a meteor 1.4.3.2 app that works fine in Cloud 9 but when I try to push to heroku, it attempts to build it with a meteor 1.5 version and fails.

Contents of .meteor/release

I can't seem to find this.

Buildpack version
https://github.com/AdmitHub/meteor-buildpack-horse.git#beta
Logs
Counting objects: 131, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (122/122), done.
Writing objects: 100% (131/131), 214.16 KiB | 0 bytes/s, done.
Total 131 (delta 63), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote: 
remote: -----> Node.js app detected
remote: +++ dirname -- /app/tmp/buildpacks/84221b9691f649157dfcb4cc24d9b5910f813f653ddc952a8f8e0a816e4a3d912ed985a25131084b5df37e720ae0e510ef4463cf515b7a5f3bacd7341f71f95f/bin/compile
remote: ++ cd -P -- /app/tmp/buildpacks/84221b9691f649157dfcb4cc24d9b5910f813f653ddc952a8f8e0a816e4a3d912ed985a25131084b5df37e720ae0e510ef4463cf515b7a5f3bacd7341f71f95f/bin
remote: ++ cd ..
remote: ++ pwd -P
remote: + BUILDPACK_DIR=/app/tmp/buildpacks/84221b9691f649157dfcb4cc24d9b5910f813f653ddc952a8f8e0a816e4a3d912ed985a25131084b5df37e720ae0e510ef4463cf515b7a5f3bacd7341f71f95f
remote: + APP_CHECKOUT_DIR=/tmp/build_b399186f3bdd976fb41133bbb1f5bb88
remote: + CACHE_DIR=/app/tmp/cache
remote: + '[' -n 1 ']'
remote: + echo '----> Clearing cache dir.'
remote: ----> Clearing cache dir.
remote: + rm -rf /app/tmp/cache
remote: + APP_SOURCE_DIR=/tmp/build_b399186f3bdd976fb41133bbb1f5bb88
remote: + '[' -n '' ']'
remote: + '[' '!' -d /tmp/build_b399186f3bdd976fb41133bbb1f5bb88/.meteor ']'
remote: + '[' '!' -d /tmp/build_b399186f3bdd976fb41133bbb1f5bb88/.meteor ']'
remote: + METEOR_DIR=/app/tmp/cache/meteor
remote: + COMPILE_DIR_SUFFIX=.meteor/heroku_build
remote: + COMPILE_DIR=/tmp/build_b399186f3bdd976fb41133bbb1f5bb88/.meteor/heroku_build
remote: + '[' -z 1 ']'
remote: + mkdir -p /tmp/build_b399186f3bdd976fb41133bbb1f5bb88 /app/tmp/cache/meteor
remote: + mkdir -p /tmp/build_b399186f3bdd976fb41133bbb1f5bb88/.meteor/heroku_build /tmp/build_b399186f3bdd976fb41133bbb1f5bb88/.meteor/heroku_build/bin /tmp/build_b399186f3bdd976fb41133bbb1f5bb88/.meteor/heroku_build/lib
remote: + '[' -z https://time-marks.herokuapp.com ']'
remote: + '[' -z https://time-marks.herokuapp.com ']'
remote: + '[' -e /app/tmp/cache/meteor/.meteor/meteor ']'
remote: + echo '-----> Installing meteor'
remote: -----> Installing meteor
remote: + HOME=/app/tmp/cache/meteor
remote: + curl -sS https://install.meteor.com/
remote: + /bin/sh
remote: Downloading Meteor distribution
remote: 
remote: Meteor 1.5.2.2 has been installed in your home directory (~/.meteor).
remote: 
remote: Now you need to do one of the following:
remote: 
remote:   (1) Add "$HOME/.meteor" to your path, or
remote:   (2) Run this command as root:
remote:         cp "/app/tmp/cache/meteor/.meteor/packages/meteor-tool/1.5.2_2/mt-os.linux.x86_64/scripts/admin/launch-meteor" /usr/bin/meteor
remote: 
remote: Then to get started, take a look at 'meteor --help' or see the docs at
remote: docs.meteor.com.
remote: + cd /tmp/build_b399186f3bdd976fb41133bbb1f5bb88
remote: ++ METEOR --version
remote: ++ ARGS=--version
remote: ++ HOME=/app/tmp/cache/meteor
remote: ++ /app/tmp/cache/meteor/.meteor/meteor --version
remote: + echo '-----> Target Meteor version: Meteor 1.4.3.2'
remote: -----> Target Meteor version: Meteor 1.4.3.2
remote: + echo '-----> Checking if this meteor version supports --server-only'
remote: -----> Checking if this meteor version supports --server-only
remote: + set +e
remote: ++ METEOR help build
remote: ++ grep -e --server-only
remote: ++ ARGS='help build'
remote: ++ HOME=/app/tmp/cache/meteor
remote: ++ /app/tmp/cache/meteor/.meteor/meteor help build
remote: + HAS_SERVER_ONLY='Usage: meteor build <output path> [--debug] [--directory] [--server-only]
remote: Pass `--server-only` to skip building mobile apps, but still build the
remote:   --server-only       Skip building mobile apps even if mobile platforms have'
remote: + set -e
remote: + '[' -n 'Usage: meteor build <output path> [--debug] [--directory] [--server-only]
remote: Pass `--server-only` to skip building mobile apps, but still build the
remote:   --server-only       Skip building mobile apps even if mobile platforms have' ']'
remote: + SERVER_ONLY_FLAG=--server-only
remote: + '[' -z --server-only ']'
remote: ++ METEOR node -e 'process.stdout.write(process.execPath)'
remote: ++ ARGS='node -e process.stdout.write(process.execPath)'
remote: ++ HOME=/app/tmp/cache/meteor
remote: ++ /app/tmp/cache/meteor/.meteor/meteor node -e 'process.stdout.write(process.execPath)'
remote: + METEOR_NODE=/app/tmp/cache/meteor/.meteor/packages/meteor-tool/.1.4.3_2.dqy6ym++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node
remote: ++ dirname /app/tmp/cache/meteor/.meteor/packages/meteor-tool/.1.4.3_2.dqy6ym++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node
remote: + METEOR_NPM=/app/tmp/cache/meteor/.meteor/packages/meteor-tool/.1.4.3_2.dqy6ym++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/npm
remote: + '[' -z /app/tmp/cache/meteor/.meteor/packages/meteor-tool/.1.4.3_2.dqy6ym++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/npm ']'
remote: + '[' -z /app/tmp/cache/meteor/.meteor/packages/meteor-tool/.1.4.3_2.dqy6ym++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node ']'
remote: + NODE=/tmp/build_b399186f3bdd976fb41133bbb1f5bb88/.meteor/heroku_build/bin/node
remote: + cp /app/tmp/cache/meteor/.meteor/packages/meteor-tool/.1.4.3_2.dqy6ym++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node /tmp/build_b399186f3bdd976fb41133bbb1f5bb88/.meteor/heroku_build/bin/node
remote: + chmod a+x /tmp/build_b399186f3bdd976fb41133bbb1f5bb88/.meteor/heroku_build/bin/node
remote: ++ dirname /app/tmp/cache/meteor/.meteor/packages/meteor-tool/.1.4.3_2.dqy6ym++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/npm
remote: + PATH=/app/tmp/cache/meteor/.meteor:/app/tmp/cache/meteor/.meteor/packages/meteor-tool/.1.4.3_2.dqy6ym++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin:/tmp/build_b399186f3bdd976fb41133bbb1f5bb88/.meteor/heroku_build/bin:/usr/local/bin:/usr/bin:/bin:/tmp/codon/vendor/bin
remote: ++ /tmp/build_b399186f3bdd976fb41133bbb1f5bb88/.meteor/heroku_build/bin/node --version
remote: + echo '-----> Using node: v4.8.0'
remote: -----> Using node: v4.8.0
remote: ++ /app/tmp/cache/meteor/.meteor/packages/meteor-tool/.1.4.3_2.dqy6ym++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/npm --version
remote: + echo '----->    and npm: 4.3.0'
remote: ----->    and npm: 4.3.0
remote: + '[' -e /tmp/build_b399186f3bdd976fb41133bbb1f5bb88/package.json ']'
remote: + /app/tmp/cache/meteor/.meteor/packages/meteor-tool/.1.4.3_2.dqy6ym++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/npm install
remote: quakes@1.0.0 /tmp/build_b399186f3bdd976fb41133bbb1f5bb88
remote: └─┬ babel-runtime@6.26.0 
remote:   ├── core-js@2.5.1 
remote:   └── regenerator-runtime@0.11.0 
remote: 
remote: + '[' -n '' ']'
remote: + echo '-----> Building Meteor app with ROOT_URL: https://time-marks.herokuapp.com'
remote: -----> Building Meteor app with ROOT_URL: https://time-marks.herokuapp.com
remote: ++ mktemp -d /app/tmp/buildpacks/84221b9691f649157dfcb4cc24d9b5910f813f653ddc952a8f8e0a816e4a3d912ed985a25131084b5df37e720ae0e510ef4463cf515b7a5f3bacd7341f71f95f/build-XXXX
remote: + BUNDLE_DEST=/app/tmp/buildpacks/84221b9691f649157dfcb4cc24d9b5910f813f653ddc952a8f8e0a816e4a3d912ed985a25131084b5df37e720ae0e510ef4463cf515b7a5f3bacd7341f71f95f/build-SgBi
remote: + METEOR build --server https://time-marks.herokuapp.com --server-only --directory /app/tmp/buildpacks/84221b9691f649157dfcb4cc24d9b5910f813f653ddc952a8f8e0a816e4a3d912ed985a25131084b5df37e720ae0e510ef4463cf515b7a5f3bacd7341f71f95f/build-SgBi
remote: + ARGS='build --server https://time-marks.herokuapp.com --server-only --directory /app/tmp/buildpacks/84221b9691f649157dfcb4cc24d9b5910f813f653ddc952a8f8e0a816e4a3d912ed985a25131084b5df37e720ae0e510ef4463cf515b7a5f3bacd7341f71f95f/build-SgBi'
remote: + HOME=/app/tmp/cache/meteor
remote: + /app/tmp/cache/meteor/.meteor/meteor build --server https://time-marks.herokuapp.com --server-only --directory /app/tmp/buildpacks/84221b9691f649157dfcb4cc24d9b5910f813f653ddc952a8f8e0a816e4a3d912ed985a25131084b5df37e720ae0e510ef4463cf515b7a5f3bacd7341f71f95f/build-SgBi
remote: Errors prevented bundling:
remote: While minifying app code:
remote: eval at <anonymous>
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:28:1),
remote: <anonymous>:1547:18: SyntaxError: Unexpected token punc «(», expected punc «:»
remote: while minifying app/pubsub2.js
remote: at new JS_Parse_Error (eval at <anonymous>
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:28:1),
remote: <anonymous>:1547:18)
remote: at js_error (eval at <anonymous>
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:28:1),
remote: <anonymous>:1555:11)
remote: at croak (eval at <anonymous>
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:28:1),
remote: <anonymous>:2094:9)
remote: at token_error (eval at <anonymous>
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:28:1),
remote: <anonymous>:2102:9)
remote: at expect_token (eval at <anonymous>
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:28:1),
remote: <anonymous>:2115:9)
remote: at expect (eval at <anonymous>
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:28:1),
remote: <anonymous>:2118:36)
remote: at eval (eval at <anonymous>
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:28:1),
remote: <anonymous>:2691:13)
remote: at eval (eval at <anonymous>
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:28:1),
remote: <anonymous>:2141:24)
remote: at expr_atom (eval at <anonymous>
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:28:1),
remote: <anonymous>:2621:35)
remote: at maybe_unary (eval at <anonymous>
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:28:1),
remote: <anonymous>:2797:19)
remote: at expr_ops (eval at <anonymous>
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:28:1),
remote: <anonymous>:2832:24)
remote: at maybe_conditional (eval at <anonymous>
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:28:1),
remote: <anonymous>:2837:20)
remote: at maybe_assign (eval at <anonymous>
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:28:1),
remote: <anonymous>:2861:20)
remote: at expression (eval at <anonymous>
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:28:1),
remote: <anonymous>:2880:20)
remote: at expr_list (eval at <anonymous>
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:28:1),
remote: <anonymous>:2646:24)
remote: at subscripts (eval at <anonymous>
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:28:1),
remote: <anonymous>:2780:30)
remote: at subscripts (eval at <anonymous>
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:28:1),
remote: <anonymous>:2757:20)
remote: at subscripts (eval at <anonymous>
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:28:1),
remote: <anonymous>:2757:20)
remote: at expr_atom (eval at <anonymous>
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:28:1),
remote: <anonymous>:2633:20)
remote: at maybe_unary (eval at <anonymous>
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:28:1),
remote: <anonymous>:2797:19)
remote: at expr_ops (eval at <anonymous>
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:28:1),
remote: <anonymous>:2832:24)
remote: at maybe_conditional (eval at <anonymous>
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:28:1),
remote: <anonymous>:2837:20)
remote: at maybe_assign (eval at <anonymous>
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:28:1),
remote: <anonymous>:2861:20)
remote: at expression (eval at <anonymous>
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:28:1),
remote: <anonymous>:2880:20)
remote: at simple_statement (eval at <anonymous>
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:28:1),
remote: <anonymous>:2319:55)
remote: at eval (eval at <anonymous>
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:28:1),
remote: <anonymous>:2188:19)
remote: at eval (eval at <anonymous>
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:28:1),
remote: <anonymous>:2141:24)
remote: at block_ (eval at <anonymous>
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:28:1),
remote: <anonymous>:2434:20)
remote: at eval (eval at <anonymous>
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:28:1),
remote: <anonymous>:2195:29)
remote: at eval (eval at <anonymous>
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:28:1),
remote: <anonymous>:2141:24)
remote: at if_ (eval at <anonymous>
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:28:1),
remote: <anonymous>:2417:44)
remote: at eval (eval at <anonymous>
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:28:1),
remote: <anonymous>:2240:24)
remote: at eval (eval at <anonymous>
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:28:1),
remote: <anonymous>:2141:24)
remote: at block_ (eval at <anonymous>
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:28:1),
remote: <anonymous>:2434:20)
remote: at eval (eval at <anonymous>
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:28:1),
remote: <anonymous>:2406:25)
remote: at function_ (eval at <anonymous>
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:28:1),
remote: <anonymous>:2412:15)
remote: at expr_atom (eval at <anonymous>
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:28:1),
remote: <anonymous>:2627:24)
remote: at maybe_unary (eval at <anonymous>
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:28:1),
remote: <anonymous>:2797:19)
remote: at expr_ops (eval at <anonymous>
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:28:1),
remote: <anonymous>:2832:24)
remote: at maybe_conditional (eval at <anonymous>
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:28:1),
remote: <anonymous>:2837:20)
remote: at maybe_assign (eval at <anonymous>
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:28:1),
remote: <anonymous>:2861:20)
remote: at expression (eval at <anonymous>
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:28:1),
remote: <anonymous>:2880:20)
remote: at expr_atom (eval at <anonymous>
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:28:1),
remote: <anonymous>:2613:26)
remote: at maybe_unary (eval at <anonymous>
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:28:1),
remote: <anonymous>:2797:19)
remote: at expr_ops (eval at <anonymous>
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:28:1),
remote: <anonymous>:2832:24)
remote: at maybe_conditional (eval at <anonymous>
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:28:1),
remote: <anonymous>:2837:20)
remote: at maybe_assign (eval at <anonymous>
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:28:1),
remote: <anonymous>:2861:20)
remote: at expression (eval at <anonymous>
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:28:1),
remote: <anonymous>:2880:20)
remote: at simple_statement (eval at <anonymous>
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:28:1),
remote: <anonymous>:2319:55)
remote: at eval (eval at <anonymous>
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:28:1),
remote: <anonymous>:2200:24)
remote: at eval (eval at <anonymous>
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:28:1),
remote: <anonymous>:2141:24)
remote: at eval (eval at <anonymous>
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:28:1),
remote: <anonymous>:2909:23)
remote: at Object.parse (eval at <anonymous>
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:28:1),
remote: <anonymous>:2920:7)
remote: at addFile
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:72:33)
remote: at
remote: /app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:81:17
remote: at Array.forEach (native)
remote: at exports.minify
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:79:26)
remote: at packages/minifyStdJS_plugin.js:137:20
remote: at Array.forEach (native)
remote: at UglifyJSMinifier.processFilesForBundle
remote: (packages/minifyStdJS_plugin.js:130:9)
remote: 
remote: 
remote:  !     Push rejected, failed to compile Node.js app.
remote: 
remote:  !     Push failed
remote: Verifying deploy...
remote: 
remote: !       Push rejected to time-marks.
remote: 
To https://git.heroku.com/time-marks.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/time-marks.git'
Deployment target
yourcelf commented 7 years ago

When you install a fresh copy of Meteor, you always get the latest version (currently 1.5.5). But when you invoke Meteor within your project, it automatically "downgrades" itself to the version that your project targets. In the background, Meteor checks .meteor/release for the version and downloads library files for the older version.

So while the buildpack does indeed install version 1.5.5 at first, you'll see these lines indicate that the bundle is executing with version 1.4.3.2:

remote: + cd /tmp/build_b399186f3bdd976fb41133bbb1f5bb88
remote: ++ METEOR --version
remote: ++ ARGS=--version
remote: ++ HOME=/app/tmp/cache/meteor
remote: ++ /app/tmp/cache/meteor/.meteor/meteor --version
remote: + echo '-----> Target Meteor version: Meteor 1.4.3.2'
remote: -----> Target Meteor version: Meteor 1.4.3.2

The problem with the build has something to do with the minifier running into syntax problems:

remote: Errors prevented bundling:
remote: While minifying app code:
remote: eval at <anonymous>
remote: (/app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.1.2.3.2g4vpt++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:28:1),
remote: <anonymous>:1547:18: SyntaxError: Unexpected token punc «(», expected punc «:»
remote: while minifying app/pubsub2.js

Looks like the minifier expected a : but found a (. Are you sure there isn't a syntax error in pubsub2.js or some other problem with the minifier?

jd4rider commented 7 years ago

I have tried and tried to find the syntax error. It's weird because it works fine on cloud 9, so I'm not sure what the deal is with it.

jd4rider commented 7 years ago

I used a JS Linter and found the issue. It's fixed. Thanks