@tarponjargon wrote:
Since upgrading to 2.18 I am getting this deprecation warning:
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: NPMDependencyVersionChecker (/Volumes/Home/Sites/searchapp/node_modules/ember-cli-document-title/node_modules/ember-cli-version-checker/src/npm-dependency-version-checker.js:11:32)
I found this thread about it which recommends doing:
npm ls ember-cli-version-checker
And seeing what has the old dependency. As it turns out, there are alot of addons I have installed that have the dependency:
ember-cli-document-title@0.3.3 ember-cookies@0.1.3 ember-cp-validations@3.5.1 ember-radio-button@1.2.1 ember-resize@0.0.17 ember-screen@0.2.0 ember-welcome-page@3.1.1
Those are the latest versions of the addons. I started opening issues on each plugin’s github, but they are already opened by others.
Is there anything else I can do to fix the dependency warning?
Posts: 1
Participants: 1