ember-radio-button
ember-radio-button copied to clipboard
Upgrade ember-cli-htmlbars to remove deprecation warning
The current release (1.2.1) triggers an annoying deprecation warning w/ recent versions of Ember that would be fixed by upgrading to the latest release of ember-cli-htmlbars (2.x). Please consider upgrading this.
├─┬ [email protected]
│ └─┬ [email protected]
│ └── [email protected]
The deprecation warning looks like this and is described here:
DEPRECATION: An addon is trying to access project.nodeModulesPath. This is not a reliable way to discover npm modules. Instead, consider doing: require("resolve").sync(something, { basedir: project.root }). Accessed from: new NPMDependencyVersionChecker (/path/to/project/node_modules/ember-getowner-polyfill/node_modules/ember-cli-version-checker/src/npm-dependency-version-checker.js:11:33)
where does the deprecation warning show up? can you give me a little more info on how exactly to reproduce this?
Good question & thanks for checking this out. The warning shows up on the console during build time (e.g. ember s). I will take a shot at posting reproduction steps later today. I thought it would show up just from installing and running on an empty project but a quick test showed otherwise.
(Update: 2/13 Sorry, still haven't had a chance to do this but have not forgotten about it.)
I am also encountering this one.