Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors prevented bundling: While processing files with angular-templates (for target web.browser): #25

Open
check1234 opened this issue Jul 6, 2016 · 5 comments

Comments

@check1234
Copy link

Hi there,

I'm trying to use graphicsmagick in my meteor-angular application. I use the following buildpacks:

  1. https://github.com/mcollina/heroku-buildpack-graphicsmagick.git
  2. https://github.com/AdmitHub/meteor-buildpack-horse.git

After pushing to heroku I receive the following error:

Errors prevented bundling:
While processing files with angular-templates (for target web.browser):
vendor/graphicsmagick/share/doc/GraphicsMagick/www/Magick++/Blob.html:1:
Expected tag name after <

for you) vendor/graphicsmagick/share/doc/GraphicsMagick/www/Magick++/TypeMetric.html:1: Expected tag name after `<` for you) vendor/graphicsmagick/share/doc/GraphicsMagick/www/Hg.html:1: Expected tag name after `<` for you) vendor/graphicsmagick/share/doc/GraphicsMagick/www/authors.html:1: Expected tag name after `<` for you) vendor/graphicsmagick/share/doc/GraphicsMagick/www/benchmark.html:1: Can't set DOCTYPE here. (Meteor sets for you) vendor/graphicsmagick/share/doc/GraphicsMagick/www/benchmarks.html:1: Expected tag name after `<` for you) vendor/graphicsmagick/share/doc/GraphicsMagick/www/compare.html:1: Can't set DOCTYPE here. (Meteor sets for you) vendor/graphicsmagick/share/doc/GraphicsMagick/www/composite.html:1: Can't set DOCTYPE here. (Meteor sets for you) vendor/graphicsmagick/share/doc/GraphicsMagick/www/conjure.html:1: Can't set DOCTYPE here. (Meteor sets for you) vendor/graphicsmagick/share/doc/GraphicsMagick/www/contribute.html:1: Expected tag name after `<` for you) vendor/graphicsmagick/share/doc/GraphicsMagick/www/display.html:1: Can't set DOCTYPE here. (Meteor sets for you) vendor/graphicsmagick/share/doc/GraphicsMagick/www/download.html:1: Expected tag name after `<` for you) vendor/graphicsmagick/share/doc/GraphicsMagick/www/identify.html:1: Can't set DOCTYPE here. (Meteor sets for you) vendor/graphicsmagick/share/doc/GraphicsMagick/www/import.html:1: Can't set DOCTYPE here. (Meteor sets for you) vendor/graphicsmagick/share/doc/GraphicsMagick/www/index.html:1: Expected tag name after `<` for you) vendor/graphicsmagick/share/doc/GraphicsMagick/www/montage.html:1: Can't set DOCTYPE here. (Meteor sets for you) vendor/graphicsmagick/share/doc/GraphicsMagick/www/motion-picture.html:1: Expected tag name after `<` for you) vendor/graphicsmagick/share/doc/GraphicsMagick/www/tools.html:1: Expected tag name after `<` for you) While processing files with angular-templates (for target web.cordova): vendor/graphicsmagick/share/doc/GraphicsMagick/www/Magick++/Blob.html:1: Expected tag name after `<` for you) vendor/graphicsmagick/share/doc/GraphicsMagick/www/Magick++/TypeMetric.html:1: Expected tag name after `<` for you) vendor/graphicsmagick/share/doc/GraphicsMagick/www/authors.html:1: Expected tag name after `<` for you) vendor/graphicsmagick/share/doc/GraphicsMagick/www/benchmark.html:1: Can't set DOCTYPE here. (Meteor sets for you) vendor/graphicsmagick/share/doc/GraphicsMagick/www/benchmarks.html:1: Expected tag name after `<` for you) vendor/graphicsmagick/share/doc/GraphicsMagick/www/compare.html:1: Can't set DOCTYPE here. (Meteor sets for you) vendor/graphicsmagick/share/doc/GraphicsMagick/www/composite.html:1: Can't set DOCTYPE here. (Meteor sets for you) vendor/graphicsmagick/share/doc/GraphicsMagick/www/conjure.html:1: Can't set DOCTYPE here. (Meteor sets for you) vendor/graphicsmagick/share/doc/GraphicsMagick/www/contribute.html:1: Expected tag name after `<` for you) vendor/graphicsmagick/share/doc/GraphicsMagick/www/display.html:1: Can't set DOCTYPE here. (Meteor sets for you) vendor/graphicsmagick/share/doc/GraphicsMagick/www/download.html:1: Expected tag name after `<` for you) vendor/graphicsmagick/share/doc/GraphicsMagick/www/identify.html:1: Can't set DOCTYPE here. (Meteor sets for you) vendor/graphicsmagick/share/doc/GraphicsMagick/www/import.html:1: Can't set DOCTYPE here. (Meteor sets for you) vendor/graphicsmagick/share/doc/GraphicsMagick/www/index.html:1: Expected tag name after `<` for you) vendor/graphicsmagick/share/doc/GraphicsMagick/www/montage.html:1: Can't set DOCTYPE here. (Meteor sets for you) vendor/graphicsmagick/share/doc/GraphicsMagick/www/motion-picture.html:1: Expected tag name after `<` for you) vendor/graphicsmagick/share/doc/GraphicsMagick/www/tools.html:1: Expected tag name after `<` for you) ! Push rejected, failed to compile Node.js app fter `<` for you) vendor/graphicsmagick/share/doc/GraphicsMagick/www/authors.html:1: Expected tag name after `<` for you) vendor/graphicsmagick/share/doc/GraphicsMagick/www/benchmark.html:1: Can't set DOCTYPE here. (Meteor sets for you) vendor/graphicsmagick/share/doc/GraphicsMagick/www/benchmarks.html:1: Expected tag name after `<` for you) vendor/graphicsmagick/share/doc/GraphicsMagick/www/compare.html:1: Can't set DOCTYPE here. (Meteor sets for you) vendor/graphicsmagick/share/doc/GraphicsMagick/www/composite.html:1: Can't set DOCTYPE here. (Meteor sets for you) vendor/graphicsmagick/share/doc/GraphicsMagick/www/conjure.html:1: Can't set DOCTYPE here. (Meteor sets for you) vendor/graphicsmagick/share/doc/GraphicsMagick/www/contribute.html:1: Expected tag name after `<` for you) vendor/graphicsmagick/share/doc/GraphicsMagick/www/display.html:1: Can't set DOCTYPE here. (Meteor sets for you) vendor/graphicsmagick/share/doc/GraphicsMagick/www/download.html:1: Expected tag name after `<` for you) vendor/graphicsmagick/share/doc/GraphicsMagick/www/identify.html:1: Can't set DOCTYPE here. (Meteor sets for you) vendor/graphicsmagick/share/doc/GraphicsMagick/www/import.html:1: Can't set DOCTYPE here. (Meteor sets for you) vendor/graphicsmagick/share/doc/GraphicsMagick/www/index.html:1: Expected tag name after `<` for you) vendor/graphicsmagick/share/doc/GraphicsMagick/www/montage.html:1: Can't set DOCTYPE here. (Meteor sets for you) vendor/graphicsmagick/share/doc/GraphicsMagick/www/motion-picture.html:1: Expected tag name after `<` for you) vendor/graphicsmagick/share/doc/GraphicsMagick/www/tools.html:1: Expected tag name after `<` for you) ! Push rejected, failed to compile Node.js app>
@salmanhasni
Copy link

salmanhasni commented Sep 12, 2016

+1

Same happening with me
i m using meteor 1.4.1

heroku buildpacks
=== Buildpack URLs

  1. https://github.com/mcollina/heroku-buildpack-graphicsmagick.git
  2. https://github.com/AdmitHub/meteor-buildpack-horse.git

@jeffyamada
Copy link

I think it's because meteor is trying to compile the vendor folder - and from what I've been reading there's been no progress on .meteorignore or something like that to omit certain directories from being compiles.

I'm still looking, I'll update here if I find a solution for it. Maybe we can simply nix the .html files in the share folder here if it comes to it.

@jeffyamada
Copy link

I don't quite have it running just yet, but here are a few options:

  • set your meteor directory using a horse buildpack env setting called METEOR_APP_DIR so meteor doesn't try and compile the vendor folder (I haven't tried this yet)
  • install gm via "meteor npm install --save gm". I got this working locally but I'm still working on getting it running on heroku, but feels like it'll work once I figure out some packages and dependencies I'm bumping into

@jeffyamada
Copy link

jeffyamada commented Sep 20, 2016

Forked and Fixed! Meteor tries to compile the .html files and since this buildpack deploys into the app folder where typical heroku/meteor apps are installed it trips up over the docs.

I simply updated the compile script to install into .vendor/ instead of vendor/ since meteor doesn't try to compile hidden folders. It worked!

This is obviously a bit of an edge case since I'm sure of the people using this buildpack only a handful of us are using meteor, but this should come in handy for those deploying meteor apps to heroku.

https://github.com/impossible-bureau/heroku-buildpack-graphicsmagick

@linfengOu
Copy link

@jeffyamada 's repo just what I need! Thanks! It works well with Meteor 1.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants