{"action":"created","issue":{"url":"https://api.github.com/repos/envygeeks/jekyll-assets/issues/494","repository_url":"https://api.github.com/repos/envygeeks/jekyll-assets","labels_url":"https://api.github.com/repos/envygeeks/jekyll-assets/issues/494/labels{/name}","comments_url":"https://api.github.com/repos/envygeeks/jekyll-assets/issues/494/comments","events_url":"https://api.github.com/repos/envygeeks/jekyll-assets/issues/494/events","html_url":"https://github.com/envygeeks/jekyll-assets/issues/494","id":293820726,"number":494,"title":"Liquid Exception: Invalid option: harmony","user":{"login":"funkenstrahlen","id":144173,"avatar_url":"https://avatars3.githubusercontent.com/u/144173?v=4","gravatar_id":"","url":"https://api.github.com/users/funkenstrahlen","html_url":"https://github.com/funkenstrahlen","followers_url":"https://api.github.com/users/funkenstrahlen/followers","following_url":"https://api.github.com/users/funkenstrahlen/following{/other_user}","gists_url":"https://api.github.com/users/funkenstrahlen/gists{/gist_id}","starred_url":"https://api.github.com/users/funkenstrahlen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/funkenstrahlen/subscriptions","organizations_url":"https://api.github.com/users/funkenstrahlen/orgs","repos_url":"https://api.github.com/users/funkenstrahlen/repos","events_url":"https://api.github.com/users/funkenstrahlen/events{/privacy}","received_events_url":"https://api.github.com/users/funkenstrahlen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-02-02T09:15:17Z","updated_at":"2018-02-02T09:29:50Z","closed_at":null,"author_association":"NONE","body":"- [x] I tried updating to the latest version.\r\n  - [ ] I can't, there is an issue.\r\n- [ ] I Am on Windows\r\n- [ ] I Am on Bash on Windows\r\n- [ ] I Am on Linux\r\n- [x] I Am on OS X\r\n\r\n## Description\r\n\r\nIncluding Javascript via liquid asset tag creates liquid exception `Liquid Exception: Invalid option: harmony`\r\n\r\n## Steps\r\n\r\n* Include Javascript via liquid tag like this: `{% asset app.js %}`\r\n* Run `JEKYLL_ENV=production jekyll build`\r\n* Error `Liquid Exception: Invalid option: harmony`\r\n\r\nInteresting: The error does not happen when I run `JEKYLL_ENV=development jekyll serve`.\r\n\r\n## Output\r\n\r\n```sh\r\nJEKYLL_ENV=production jekyll build\r\nWARN: Unresolved specs during Gem::Specification.reset:\r\n      listen (~> 3.0)\r\n      rouge (< 4, >= 1.7)\r\n      rb-fsevent (>= 0.9.4, ~> 0.9)\r\n      rb-inotify (>= 0.9.7, ~> 0.9)\r\nWARN: Clearing out unresolved specs.\r\nPlease report a bug if this causes problems.\r\nConfiguration file: /Users/funkenstrahlen/Projects/funkenstrahlen.de/_config.yml\r\n            Source: /Users/funkenstrahlen/Projects/funkenstrahlen.de\r\n       Destination: /Users/funkenstrahlen/Projects/funkenstrahlen.de/_site\r\n Incremental build: disabled. Enable with --incremental\r\n      Generating...\r\n  Liquid Exception: Invalid option: harmony in /_layouts/default.html\r\n```\r\n\r\nThe line making problems is `{% asset app.js %}`. When I remove it, it does not create the error.\r\n\r\n## Expected\r\n\r\nNo error."},"comment":{"url":"https://api.github.com/repos/envygeeks/jekyll-assets/issues/comments/362533516","html_url":"https://github.com/envygeeks/jekyll-assets/issues/494#issuecomment-362533516","issue_url":"https://api.github.com/repos/envygeeks/jekyll-assets/issues/494","id":362533516,"user":{"login":"funkenstrahlen","id":144173,"avatar_url":"https://avatars3.githubusercontent.com/u/144173?v=4","gravatar_id":"","url":"https://api.github.com/users/funkenstrahlen","html_url":"https://github.com/funkenstrahlen","followers_url":"https://api.github.com/users/funkenstrahlen/followers","following_url":"https://api.github.com/users/funkenstrahlen/following{/other_user}","gists_url":"https://api.github.com/users/funkenstrahlen/gists{/gist_id}","starred_url":"https://api.github.com/users/funkenstrahlen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/funkenstrahlen/subscriptions","organizations_url":"https://api.github.com/users/funkenstrahlen/orgs","repos_url":"https://api.github.com/users/funkenstrahlen/repos","events_url":"https://api.github.com/users/funkenstrahlen/events{/privacy}","received_events_url":"https://api.github.com/users/funkenstrahlen/received_events","type":"User","site_admin":false},"created_at":"2018-02-02T09:29:50Z","updated_at":"2018-02-02T09:29:50Z","author_association":"NONE","body":"I think I discovered something: \r\n\r\nI currently have `uglifier` installed in version `2.7.2`. This is very old. Probably this old version is missing the `harmony` option and therefore causing the liquid exception.\r\n\r\nHowever it does install this old version even when I run `bundle update` with this `Gemfile`:\r\n\r\n```\r\ngem 'jekyll'\r\ngem 'jekyll-paginate'\r\ngem \"jekyll-assets\", group: :jekyll_plugins\r\ngem 'jekyll-minify-html'\r\n\r\ngem 'kramdown'\r\ngem 'rouge'\r\ngem 'sass'\r\ngem 'uglifier'\r\ngem 'mini_magick'\r\n```\r\n\r\nDo you know why?"}}
{"actor":{"display_login":"funkenstrahlen"}}