{"action":"created","issue":{"url":"https://api.github.com/repos/uber/nebula.gl/issues/64","repository_url":"https://api.github.com/repos/uber/nebula.gl","labels_url":"https://api.github.com/repos/uber/nebula.gl/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/uber/nebula.gl/issues/64/comments","events_url":"https://api.github.com/repos/uber/nebula.gl/issues/64/events","html_url":"https://github.com/uber/nebula.gl/issues/64","id":355736706,"node_id":"MDU6SXNzdWUzNTU3MzY3MDY=","number":64,"title":"Nebula not working with newly scaffolded Fusion App","user":{"login":"trevorwhealy","id":14946478,"node_id":"MDQ6VXNlcjE0OTQ2NDc4","avatar_url":"https://avatars2.githubusercontent.com/u/14946478?v=4","gravatar_id":"","url":"https://api.github.com/users/trevorwhealy","html_url":"https://github.com/trevorwhealy","followers_url":"https://api.github.com/users/trevorwhealy/followers","following_url":"https://api.github.com/users/trevorwhealy/following{/other_user}","gists_url":"https://api.github.com/users/trevorwhealy/gists{/gist_id}","starred_url":"https://api.github.com/users/trevorwhealy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trevorwhealy/subscriptions","organizations_url":"https://api.github.com/users/trevorwhealy/orgs","repos_url":"https://api.github.com/users/trevorwhealy/repos","events_url":"https://api.github.com/users/trevorwhealy/events{/privacy}","received_events_url":"https://api.github.com/users/trevorwhealy/received_events","type":"User","site_admin":false},"labels":[{"id":838428702,"node_id":"MDU6TGFiZWw4Mzg0Mjg3MDI=","url":"https://api.github.com/repos/uber/nebula.gl/labels/bug","name":"bug","color":"d73a4a","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-30T20:13:03Z","updated_at":"2018-09-02T06:46:35Z","closed_at":null,"author_association":"NONE","body":"Steps to Reproduce:\r\n```\r\nyarn create fusion-app demo\r\ncd demo\r\ntouch src/pages/demo.js\r\n```\r\n\r\nAdd demo.js to root.js and provision a route for it\r\nCode for the demo.js, mostly copied from the example of editableGeoJsonLayer\r\nhttps://github.com/trevorwhealy/nebula-fusion-incompatibility/blob/master/src/pages/demo.js\r\n\r\n```\r\nyarn add deck.gl react-map-gl nebula.gl\r\nyarn dev\r\n```\r\n\r\n<img width=\"652\" alt=\"screen shot 2018-08-30 at 12 56 56 pm\" src=\"https://user-images.githubusercontent.com/14946478/44876488-1c7e3c00-ac56-11e8-8cb6-249a704e8056.png\">\r\n\r\nErrors:\r\n```\r\nFusion.js\r\nLet's Get Started\r\nERROR in ./node_modules/@turf/difference/index.mjs 52:22-35\r\nCan't import the named export 'diff' from non EcmaScript module (only default export is available)\r\n @ ./node_modules/nebula.gl/dist-es6/lib/deck-renderer/deck-drawer.js\r\n @ ./node_modules/nebula.gl/dist-es6/index.js\r\n @ ./src/pages/demo.js\r\n @ ./src/root.js\r\n @ ./src/main.js\r\n @ ./node_modules/fusion-cli/entries/client-entry.js\r\n @ multi (webpack)-hot-middleware/client.js?name=client ./node_modules/fusion-cli/entries/client-entry.js\r\nERROR in ./node_modules/@turf/difference/index.mjs 50:23-30\r\nCan't import the named export 'feature' from non EcmaScript module (only default export is available)\r\n @ ./node_modules/nebula.gl/dist-es6/lib/deck-renderer/deck-drawer.js\r\n @ ./node_modules/nebula.gl/dist-es6/index.js\r\n @ ./src/pages/demo.js\r\n @ ./src/root.js\r\n @ ./src/main.js\r\n @ ./node_modules/fusion-cli/entries/client-entry.js\r\n @ multi (webpack)-hot-middleware/client.js?name=client ./node_modules/fusion-cli/entries/client-entry.js\r\nERROR in ./node_modules/@turf/difference/index.mjs 72:8-19\r\nCan't import the named export 'flattenEach' from non EcmaScript module (only default export is available)\r\n @ ./node_modules/nebula.gl/dist-es6/lib/deck-renderer/deck-drawer.js\r\n @ ./node_modules/nebula.gl/dist-es6/index.js\r\n @ ./src/pages/demo.js\r\n @ ./src/root.js\r\n @ ./src/main.js\r\n @ ./node_modules/fusion-cli/entries/client-entry.js\r\n @ multi (webpack)-hot-middleware/client.js?name=client ./node_modules/fusion-cli/entries/client-entry.js\r\nERROR in ./node_modules/@turf/difference/index.mjs 42:16-23\r\nCan't import the named export 'getGeom' from non EcmaScript module (only default export is available)\r\n @ ./node_modules/nebula.gl/dist-es6/lib/deck-renderer/deck-drawer.js\r\n @ ./node_modules/nebula.gl/dist-es6/index.js\r\n @ ./src/pages/demo.js\r\n @ ./src/root.js\r\n @ ./src/main.js\r\n @ ./node_modules/fusion-cli/entries/client-entry.js\r\n @ multi (webpack)-hot-middleware/client.js?name=client ./node_modules/fusion-cli/entries/client-entry.js\r\nERROR in ./node_modules/@turf/difference/index.mjs 43:16-23\r\nCan't import the named export 'getGeom' from non EcmaScript module (only default export is available)\r\n @ ./node_modules/nebula.gl/dist-es6/lib/deck-renderer/deck-drawer.js\r\n @ ./node_modules/nebula.gl/dist-es6/index.js\r\n @ ./src/pages/demo.js\r\n @ ./src/root.js\r\n @ ./src/main.js\r\n @ ./node_modules/fusion-cli/entries/client-entry.js\r\n @ multi (webpack)-hot-middleware/client.js?name=client ./node_modules/fusion-cli/entries/client-entry.js\r\nERROR in ./node_modules/@turf/difference/index.mjs 55:11-23\r\nCan't import the named export 'multiPolygon' from non EcmaScript module (only default export is available)\r\n @ ./node_modules/nebula.gl/dist-es6/lib/deck-renderer/deck-drawer.js\r\n @ ./node_modules/nebula.gl/dist-es6/index.js\r\n @ ./src/pages/demo.js\r\n @ ./src/root.js\r\n @ ./src/main.js\r\n @ ./node_modules/fusion-cli/entries/client-entry.js\r\n @ multi (webpack)-hot-middleware/client.js?name=client ./node_modules/fusion-cli/entries/client-entry.js\r\nERROR in ./node_modules/@turf/difference/index.mjs 54:41-48\r\nCan't import the named export 'polygon' from non EcmaScript module (only default export is available)\r\n @ ./node_modules/nebula.gl/dist-es6/lib/deck-renderer/deck-drawer.js\r\n @ ./node_modules/nebula.gl/dist-es6/index.js\r\n @ ./src/pages/demo.js\r\n @ ./src/root.js\r\n @ ./src/main.js\r\n @ ./node_modules/fusion-cli/entries/client-entry.js\r\n @ multi (webpack)-hot-middleware/client.js?name=client ./node_modules/fusion-cli/entries/client-entry.js\r\n```\r\n\r\nCursory search reveals this is probably a webpack problem. I noticed the examples all have a custom webpack config so that might be why it's not noticed.\r\nhttps://github.com/Turfjs/turf/issues/1383"},"comment":{"url":"https://api.github.com/repos/uber/nebula.gl/issues/comments/417909066","html_url":"https://github.com/uber/nebula.gl/issues/64#issuecomment-417909066","issue_url":"https://api.github.com/repos/uber/nebula.gl/issues/64","id":417909066,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzkwOTA2Ng==","user":{"login":"supersonicclay","id":469582,"node_id":"MDQ6VXNlcjQ2OTU4Mg==","avatar_url":"https://avatars2.githubusercontent.com/u/469582?v=4","gravatar_id":"","url":"https://api.github.com/users/supersonicclay","html_url":"https://github.com/supersonicclay","followers_url":"https://api.github.com/users/supersonicclay/followers","following_url":"https://api.github.com/users/supersonicclay/following{/other_user}","gists_url":"https://api.github.com/users/supersonicclay/gists{/gist_id}","starred_url":"https://api.github.com/users/supersonicclay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/supersonicclay/subscriptions","organizations_url":"https://api.github.com/users/supersonicclay/orgs","repos_url":"https://api.github.com/users/supersonicclay/repos","events_url":"https://api.github.com/users/supersonicclay/events{/privacy}","received_events_url":"https://api.github.com/users/supersonicclay/received_events","type":"User","site_admin":false},"created_at":"2018-09-02T06:46:35Z","updated_at":"2018-09-02T06:46:35Z","author_association":"COLLABORATOR","body":"I had issues with turf as well and fixed with yarn resolutions for now. I have this in my `package.json`:\r\n\r\n```\r\n\"resolutions\": {\r\n    \"@turf/bbox\": \"^5.1.5\",\r\n    \"@turf/bbox-polygon\": \"^5.1.5\",\r\n    \"@turf/buffer\": \"^5.1.5\",\r\n    \"@turf/circle\": \"^5.1.5\",\r\n    \"@turf/difference\": \"^5.1.5\",\r\n    \"@turf/distance\": \"^5.1.5\",\r\n    \"@turf/helpers\": \"^5.1.5\"\r\n  }\r\n```\r\n\r\n"}}
{"actor":{"display_login":"supersonicclay"}}