Since ember-redux 2.0.0, ember-browserify requirement has been dropped. However, because package.json has a ember-redux: '1.9.1' runtime dependency, npm will install ember-redux: '1.9.1' into the node_modules of ember-redu-route-connect addon when it is installed by an end-user. So if the end-user is running ember-redux:2.x.x'and doesn't haveember-browserifyinstalled,ember build` will croak.
Changes
remove ember-redux from the dependencies section in the package.json. NPM dependencies specify node runtime dependencies, which this addon (which exports only an es6 file addon/index.js doesn't actually need).
Suggestions
If we truly wanted to force an version of ember-redux on an user, we would need to write a blueprint.
ember g blueprint ember-redux-route-connect
then use the addAddonsToProject method in the afterInstall hook:
Background
Since
ember-redux
2.0.0,ember-browserify
requirement has been dropped. However, becausepackage.json
has aember-redux: '1.9.1'
runtime dependency, npm will installember-redux: '1.9.1'
into thenode_modules
ofember-redu-route-connect
addon when it is installed by an end-user. So if the end-user is runningember-redux:
2.x.x'and doesn't have
ember-browserifyinstalled,
ember build` will croak.Changes
ember-redux
from thedependencies
section in thepackage.json
. NPMdependencies
specify node runtime dependencies, which this addon (which exports only an es6 fileaddon/index.js
doesn't actually need).Suggestions
If we truly wanted to force an version of
ember-redux
on an user, we would need to write a blueprint.then use the
addAddonsToProject
method in theafterInstall
hook: