{"action":"created","issue":{"url":"https://api.github.com/repos/kingdido999/zooming/issues/54","repository_url":"https://api.github.com/repos/kingdido999/zooming","labels_url":"https://api.github.com/repos/kingdido999/zooming/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/kingdido999/zooming/issues/54/comments","events_url":"https://api.github.com/repos/kingdido999/zooming/issues/54/events","html_url":"https://github.com/kingdido999/zooming/issues/54","id":298216062,"number":54,"title":"Error: Couldn't find preset \"es2015-rollup\"","user":{"login":"mahish","id":3687943,"avatar_url":"https://avatars1.githubusercontent.com/u/3687943?v=4","gravatar_id":"","url":"https://api.github.com/users/mahish","html_url":"https://github.com/mahish","followers_url":"https://api.github.com/users/mahish/followers","following_url":"https://api.github.com/users/mahish/following{/other_user}","gists_url":"https://api.github.com/users/mahish/gists{/gist_id}","starred_url":"https://api.github.com/users/mahish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mahish/subscriptions","organizations_url":"https://api.github.com/users/mahish/orgs","repos_url":"https://api.github.com/users/mahish/repos","events_url":"https://api.github.com/users/mahish/events{/privacy}","received_events_url":"https://api.github.com/users/mahish/received_events","type":"User","site_admin":false},"labels":[{"id":469748351,"url":"https://api.github.com/repos/kingdido999/zooming/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-19T09:55:54Z","updated_at":"2018-02-19T21:31:03Z","closed_at":"2018-02-19T21:31:03Z","author_association":"CONTRIBUTOR","body":"Getting this error when compiling my javascript: `Error: Couldn't find preset \"es2015-rollup\" relative to directory \"/Users/…/node_modules/zooming\"` \r\n\r\n### Solution:\r\nIt can be fixed by removing `.babelrc` from the npm package (adding it to `.npmignore`). It is obviously good practice if you google it around. `.babelrc` with specified preset present in npm package makes my Babel to look for the preset specified in the package which I dont have installed (`es2015-rollup` in the package vs. `env` in my project).\r\n\r\nDont know why I didnt get this error before :("},"comment":{"url":"https://api.github.com/repos/kingdido999/zooming/issues/comments/366807287","html_url":"https://github.com/kingdido999/zooming/issues/54#issuecomment-366807287","issue_url":"https://api.github.com/repos/kingdido999/zooming/issues/54","id":366807287,"user":{"login":"mahish","id":3687943,"avatar_url":"https://avatars1.githubusercontent.com/u/3687943?v=4","gravatar_id":"","url":"https://api.github.com/users/mahish","html_url":"https://github.com/mahish","followers_url":"https://api.github.com/users/mahish/followers","following_url":"https://api.github.com/users/mahish/following{/other_user}","gists_url":"https://api.github.com/users/mahish/gists{/gist_id}","starred_url":"https://api.github.com/users/mahish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mahish/subscriptions","organizations_url":"https://api.github.com/users/mahish/orgs","repos_url":"https://api.github.com/users/mahish/repos","events_url":"https://api.github.com/users/mahish/events{/privacy}","received_events_url":"https://api.github.com/users/mahish/received_events","type":"User","site_admin":false},"created_at":"2018-02-19T21:31:03Z","updated_at":"2018-02-19T21:31:03Z","author_association":"CONTRIBUTOR","body":"No error now. Thanks!"}}
{"actor":{"display_login":"mahish"}}