{"action":"created","issue":{"url":"https://api.github.com/repos/instructure/instructure-ui/issues/73","repository_url":"https://api.github.com/repos/instructure/instructure-ui","labels_url":"https://api.github.com/repos/instructure/instructure-ui/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/instructure/instructure-ui/issues/73/comments","events_url":"https://api.github.com/repos/instructure/instructure-ui/issues/73/events","html_url":"https://github.com/instructure/instructure-ui/issues/73","id":495731542,"node_id":"MDU6SXNzdWU0OTU3MzE1NDI=","number":73,"title":"Can't resolve '@babel/runtime/helpers/esm/objectSpread2'","user":{"login":"buckett","id":5921,"node_id":"MDQ6VXNlcjU5MjE=","avatar_url":"https://avatars1.githubusercontent.com/u/5921?v=4","gravatar_id":"","url":"https://api.github.com/users/buckett","html_url":"https://github.com/buckett","followers_url":"https://api.github.com/users/buckett/followers","following_url":"https://api.github.com/users/buckett/following{/other_user}","gists_url":"https://api.github.com/users/buckett/gists{/gist_id}","starred_url":"https://api.github.com/users/buckett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buckett/subscriptions","organizations_url":"https://api.github.com/users/buckett/orgs","repos_url":"https://api.github.com/users/buckett/repos","events_url":"https://api.github.com/users/buckett/events{/privacy}","received_events_url":"https://api.github.com/users/buckett/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2019-09-19T11:09:07Z","updated_at":"2019-09-19T22:54:06Z","closed_at":null,"author_association":"NONE","body":"When upgrading from 6.10 to 6.12 I got the following error when attempting to compile:\r\n```\r\nFailed to compile.\r\n\r\n./node_modules/@instructure/canvas-theme/es/index.js\r\nModule not found: Can't resolve '@babel/runtime/helpers/esm/objectSpread2' in '.../node_modules/@instructure/canvas-theme/es'\r\n```\r\n\r\nReverting back to 6.10 fixes this. With both 6.10 and 6.12 looking in my `package-lock.json` I see the same babel runtime dependency:\r\n```\r\n    \"@babel/runtime\": {\r\n      \"version\": \"7.4.3\",\r\n      \"resolved\": \"https://registry.npmjs.org/@babel/runtime/-/runtime-7.4.3.tgz\",\r\n      \"integrity\": \"sha512-9lsJwJLxDh/T3Q3SZszfWOTkk3pHbkmH+3KY+zwIDmsNlxsumuhS2TH3NIpktU4kNvfzy+k3eLT7aTJSPTo0OA==\",\r\n      \"requires\": {\r\n        \"regenerator-runtime\": \"^0.13.2\"\r\n      }\r\n    },\r\n```\r\nForcing babel to a newer version in my project allowed me to continue using 6.12 without the error:\r\n```\r\n    \"@babel/runtime\": \"^7.6.0\",\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/instructure/instructure-ui/issues/comments/533338243","html_url":"https://github.com/instructure/instructure-ui/issues/73#issuecomment-533338243","issue_url":"https://api.github.com/repos/instructure/instructure-ui/issues/73","id":533338243,"node_id":"MDEyOklzc3VlQ29tbWVudDUzMzMzODI0Mw==","user":{"login":"junyper","id":4184353,"node_id":"MDQ6VXNlcjQxODQzNTM=","avatar_url":"https://avatars3.githubusercontent.com/u/4184353?v=4","gravatar_id":"","url":"https://api.github.com/users/junyper","html_url":"https://github.com/junyper","followers_url":"https://api.github.com/users/junyper/followers","following_url":"https://api.github.com/users/junyper/following{/other_user}","gists_url":"https://api.github.com/users/junyper/gists{/gist_id}","starred_url":"https://api.github.com/users/junyper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/junyper/subscriptions","organizations_url":"https://api.github.com/users/junyper/orgs","repos_url":"https://api.github.com/users/junyper/repos","events_url":"https://api.github.com/users/junyper/events{/privacy}","received_events_url":"https://api.github.com/users/junyper/received_events","type":"User","site_admin":false},"created_at":"2019-09-19T22:54:05Z","updated_at":"2019-09-19T22:54:05Z","author_association":"COLLABORATOR","body":"Thanks @buckett! I'll push up a commit that will require at least 7.5 of babel/runtime and we'll run a patch release with that."}}
{"actor":{"display_login":"junyper"}}