{"action":"created","issue":{"url":"https://api.github.com/repos/sghall/react-compound-slider/issues/25","repository_url":"https://api.github.com/repos/sghall/react-compound-slider","labels_url":"https://api.github.com/repos/sghall/react-compound-slider/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/sghall/react-compound-slider/issues/25/comments","events_url":"https://api.github.com/repos/sghall/react-compound-slider/issues/25/events","html_url":"https://github.com/sghall/react-compound-slider/issues/25","id":361386610,"node_id":"MDU6SXNzdWUzNjEzODY2MTA=","number":25,"title":"Error: 'ticks' is not exported by node_modules/d3-array/dist/d3-array.js","user":{"login":"devin2712","id":1658227,"node_id":"MDQ6VXNlcjE2NTgyMjc=","avatar_url":"https://avatars0.githubusercontent.com/u/1658227?v=4","gravatar_id":"","url":"https://api.github.com/users/devin2712","html_url":"https://github.com/devin2712","followers_url":"https://api.github.com/users/devin2712/followers","following_url":"https://api.github.com/users/devin2712/following{/other_user}","gists_url":"https://api.github.com/users/devin2712/gists{/gist_id}","starred_url":"https://api.github.com/users/devin2712/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devin2712/subscriptions","organizations_url":"https://api.github.com/users/devin2712/orgs","repos_url":"https://api.github.com/users/devin2712/repos","events_url":"https://api.github.com/users/devin2712/events{/privacy}","received_events_url":"https://api.github.com/users/devin2712/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-18T16:30:05Z","updated_at":"2018-09-18T20:59:31Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"### Problem or feature description:\r\n\r\nHitting this error when building with `react-compound-slider` @ `0.15.1`.\r\n\r\n```\r\n$ rollup -c\r\n\r\nindex.ts → dist/index.js...\r\n[!] Error: 'ticks' is not exported by node_modules/d3-array/dist/d3-array.js\r\nhttps://github.com/rollup/rollup/wiki/Troubleshooting#name-is-not-exported-by-module\r\nnode_modules/react-compound-slider/es/Slider/LinearScale.js (3:9)\r\n1: function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\r\n2:\r\n3: import { ticks } from 'd3-array';\r\n            ^\r\n4:\r\n5: var LinearScale = function () {\r\nError: 'ticks' is not exported by node_modules/d3-array/dist/d3-array.js\r\n```\r\n\r\n### Steps to reproduce (for problems):\r\n\r\nUsing `0.15.1` (doesn't occur with `0.15.0`), and the following rollup config:\r\n```import commonJS from 'rollup-plugin-commonjs';\r\nimport resolve from 'rollup-plugin-node-resolve';\r\nimport typescript from 'rollup-plugin-typescript2';\r\nimport peerDepsExternal from 'rollup-plugin-peer-deps-external';\r\n\r\nconst pkg = require('./package.json');\r\n\r\nexport default {\r\n  input: 'index.ts',\r\n\r\n  output: [{ file: pkg.main, format: 'cjs' }],\r\n\r\n  watch: { clearScreen: false },\r\n  plugins: [\r\n    peerDepsExternal({ includeDependencies: true }),\r\n    commonJS(),\r\n    typescript({\r\n      exclude: ['storybook/**'],\r\n    }),\r\n    resolve(),\r\n  ],\r\n};\r\n```\r\n\r\n### Versions (for problems):\r\n\r\nReact-Compound-Slider: `0.15.1`\r\n\r\nReact: `16.5.1`\r\n\r\nBrowser:\r\n\r\nOperating System:\r\n"},"comment":{"url":"https://api.github.com/repos/sghall/react-compound-slider/issues/comments/422552646","html_url":"https://github.com/sghall/react-compound-slider/issues/25#issuecomment-422552646","issue_url":"https://api.github.com/repos/sghall/react-compound-slider/issues/25","id":422552646,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMjU1MjY0Ng==","user":{"login":"sghall","id":4615775,"node_id":"MDQ6VXNlcjQ2MTU3NzU=","avatar_url":"https://avatars3.githubusercontent.com/u/4615775?v=4","gravatar_id":"","url":"https://api.github.com/users/sghall","html_url":"https://github.com/sghall","followers_url":"https://api.github.com/users/sghall/followers","following_url":"https://api.github.com/users/sghall/following{/other_user}","gists_url":"https://api.github.com/users/sghall/gists{/gist_id}","starred_url":"https://api.github.com/users/sghall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sghall/subscriptions","organizations_url":"https://api.github.com/users/sghall/orgs","repos_url":"https://api.github.com/users/sghall/repos","events_url":"https://api.github.com/users/sghall/events{/privacy}","received_events_url":"https://api.github.com/users/sghall/received_events","type":"User","site_admin":false},"created_at":"2018-09-18T20:59:31Z","updated_at":"2018-09-18T20:59:31Z","author_association":"OWNER","body":"Hmmm...interesting. Let me take a look.  \r\n\r\nJust looking at the source, 'ticks' is exported from 'd3-array'\r\nhttps://github.com/d3/d3-array/blob/fda02e084d50c880c695a3fe0e59cdf1a1ba5ea9/src/index.js#L24"}}
{"actor":{"display_login":"sghall"}}