ember-cli-addon-tests icon indicating copy to clipboard operation
ember-cli-addon-tests copied to clipboard

"Precooking" Node Modules only works if addon uses expected Ember CLI version

Open jelhan opened this issue 6 years ago • 1 comments
trafficstars

I'm not 100%ly sure how the script for precooking node modules should be used. I've run it from an addon that depends on ember-cli-addon-tests by executing node ./node_modules/ember-cli-addon-tests/scripts/precook-node-modules.js. In that case the script picks up ember-cli from the hosting addon not the configured here. If that doesn't equal the expected one, this results in an dependency error thrown by ember-cli-dependency-checker.

jelhan avatar Aug 17 '19 13:08 jelhan

omg I just got burned by this 🙈

I guess the simplest thing to do here would be to warn people when running the precook script of this scenario 🤔

mansona avatar Mar 29 '21 14:03 mansona