{"action":"opened","issue":{"url":"https://api.github.com/repos/wishtack/gitbook-printer/issues/4","repository_url":"https://api.github.com/repos/wishtack/gitbook-printer","labels_url":"https://api.github.com/repos/wishtack/gitbook-printer/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/wishtack/gitbook-printer/issues/4/comments","events_url":"https://api.github.com/repos/wishtack/gitbook-printer/issues/4/events","html_url":"https://github.com/wishtack/gitbook-printer/issues/4","id":336747903,"node_id":"MDU6SXNzdWUzMzY3NDc5MDM=","number":4,"title":"syntax error on install","user":{"login":"sliptonic","id":538057,"node_id":"MDQ6VXNlcjUzODA1Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/538057?v=4","gravatar_id":"","url":"https://api.github.com/users/sliptonic","html_url":"https://github.com/sliptonic","followers_url":"https://api.github.com/users/sliptonic/followers","following_url":"https://api.github.com/users/sliptonic/following{/other_user}","gists_url":"https://api.github.com/users/sliptonic/gists{/gist_id}","starred_url":"https://api.github.com/users/sliptonic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sliptonic/subscriptions","organizations_url":"https://api.github.com/users/sliptonic/orgs","repos_url":"https://api.github.com/users/sliptonic/repos","events_url":"https://api.github.com/users/sliptonic/events{/privacy}","received_events_url":"https://api.github.com/users/sliptonic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-28T19:21:21Z","updated_at":"2018-06-28T19:21:21Z","closed_at":null,"author_association":"NONE","body":"Hi.  I don't know npm very well so I'm afraid I can't give much insight beyond the error message.  Here's what I'm seeing:\r\n\r\nbrad@makerbob ~/Dropbox/bookwiki/.gitbook/assets $ sudo npm install -g @wishtack/gitbook-printer\r\n/usr/local/lib/node_modules/npm/bin/npm-cli.js:79\r\n      let notifier = require('update-notifier')({pkg})\r\n      ^^^\r\n\r\nSyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode\r\n    at exports.runInThisContext (vm.js:53:16)\r\n    at Module._compile (module.js:374:25)\r\n    at Object.Module._extensions..js (module.js:417:10)\r\n    at Module.load (module.js:344:32)\r\n    at Function.Module._load (module.js:301:12)\r\n    at Function.Module.runMain (module.js:442:10)\r\n    at startup (node.js:136:18)\r\n    at node.js:966:3\r\nbrad@makerbob ~/Dropbox/bookwiki/.gitbook/assets $ \r\n"}}
{"actor":{"display_login":"sliptonic"}}