{"action":"closed","issue":{"url":"https://api.github.com/repos/offirgolan/ember-cli-nvd3/issues/8","repository_url":"https://api.github.com/repos/offirgolan/ember-cli-nvd3","labels_url":"https://api.github.com/repos/offirgolan/ember-cli-nvd3/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/offirgolan/ember-cli-nvd3/issues/8/comments","events_url":"https://api.github.com/repos/offirgolan/ember-cli-nvd3/issues/8/events","html_url":"https://github.com/offirgolan/ember-cli-nvd3/issues/8","id":164060279,"number":8,"title":"Version conflict with d3?","user":{"login":"digitalronin","id":2338,"avatar_url":"https://avatars.githubusercontent.com/u/2338?v=3","gravatar_id":"","url":"https://api.github.com/users/digitalronin","html_url":"https://github.com/digitalronin","followers_url":"https://api.github.com/users/digitalronin/followers","following_url":"https://api.github.com/users/digitalronin/following{/other_user}","gists_url":"https://api.github.com/users/digitalronin/gists{/gist_id}","starred_url":"https://api.github.com/users/digitalronin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digitalronin/subscriptions","organizations_url":"https://api.github.com/users/digitalronin/orgs","repos_url":"https://api.github.com/users/digitalronin/repos","events_url":"https://api.github.com/users/digitalronin/events{/privacy}","received_events_url":"https://api.github.com/users/digitalronin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/offirgolan/ember-cli-nvd3/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-06T12:03:54Z","updated_at":"2016-07-22T07:12:19Z","closed_at":"2016-07-22T07:12:19Z","body":"Hi there\r\n\r\nI think there might be a version conflict with the dependencies for this add-on.\r\n\r\nHere are the steps I've taken, to create a minimal demonstration of the problem;\r\n\r\n    $ ember --version\r\n\r\n    ember-cli: 2.6.2\r\n    node: 5.5.0\r\n    os: darwin x64\r\n\r\n    $ ember new nvd3test\r\n\r\n    $ cd nvd3test\r\n\r\n    $ ember i ember-cli-nvd3\r\n\r\n    Installed packages for tooling via npm.\r\n    installing ember-cli-nvd3\r\n      install addon ember-nvd3-shim@~0.1.4\r\n    Installed packages for tooling via npm.\r\n    installing ember-nvd3-shim\r\n      install addon ember-d3@~0.2.0\r\n    Installed packages for tooling via npm.\r\n    installing ember-d3\r\n      install bower package d3\r\n      cached https://github.com/mbostock-bower/d3-bower.git#4.1.0\r\n    Installed browser packages via Bower.\r\n    Installed addon package.\r\n      install bower package nvd3\r\n      cached https://github.com/novus/nvd3.git#1.8.4\r\n      cached https://github.com/mbostock-bower/d3-bower.git#3.5.17\r\n      conflict Unable to find suitable version for d3\r\n        1) d3 ^3.4.4\r\n        2) d3 ^4.1.0\r\n    ? Answer 1\r\n\r\n    $ ember serve\r\n\r\n    Missing bower packages:\r\n    Package: d3\r\n      * Specified: ^4.1.0\r\n      * Installed: 3.5.17\r\n\r\n    Run `bower install` to install missing dependencies.\r\n\r\n    $ bower install\r\n\r\n    $ ember serve\r\n\r\n    Missing bower packages:\r\n    Package: d3\r\n      * Specified: ^4.1.0\r\n      * Installed: 3.5.17\r\n\r\n    # Let's clean up and try the other option;\r\n\r\n    $ rm -rf bower_components/d3 \\\r\n      bower_components/nvd3/ \\\r\n      node_modules/ember-cli-nvd3 \\\r\n      node_modules/ember-d3 \\\r\n      node_modules/ember-nvd3-shim/\r\n\r\n    $ git checkout bower.json package.json\r\n\r\n    $ ember i ember-cli-nvd3\r\n\r\n    # This time, choose option 2, 'd3 ^4.1.0'\r\n\r\n    $ ember serve   # this works\r\n\r\n    $ ember g route main\r\n\r\n       ### app/routes/main.js\r\n\r\n        import Ember from 'ember';\r\n\r\n        export default Ember.Route.extend({\r\n          datum: [\r\n            {\r\n              \"key\":    \"Series 1\",\r\n              \"values\": [ { x: 1,  y: 70 }, { x: 2, y: 73 }, { x: 3,  y: 66 } ]\r\n            }\r\n          ]\r\n        });\r\n\r\n    ### app/templates/main.hbs\r\n\r\n        {{nvd3-chart type=\"lineChart\" datum=datum}}\r\n\r\n\r\n    # visit http://localhost:4200/main and the console shows this javascript error;\r\n\r\n    nv.d3.js:93 Uncaught TypeError: nv.dispatch.render_start is not a function\r\n\r\nJust in case, I tried choosing option 2 on a clean ember project, and got the same behaviour.\r\n\r\nAm I doing something wrong, or is there a step I'm missing?\r\n\r\nMany thanks\r\n\r\nDavid\r\n"}}
{"actor":{"display_login":"mike-north"}}