Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecation warning under ember 2.18 #14

Open
bartocc opened this issue Mar 19, 2018 · 0 comments
Open

Deprecation warning under ember 2.18 #14

bartocc opened this issue Mar 19, 2018 · 0 comments

Comments

@bartocc
Copy link

bartocc commented Mar 19, 2018

Version

4.0.0

Why

"ember-cli-babel": "^5.1.6" depends on ember-cli-version-checker@1.3.1

How to reproduce

git clone https://github.com/bartocc/ember-2.18.2-barebone.git
cd ember-2.18.2-barebone
yarn install
ember install ember-cli-geo@4.0.0

Actual result

You should see the following deprecation message

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 (/Users/julien/Projects/ember-2.18.2-barebone/node_modules/ember-cli-geo/node_modules/ember-cli-version-checker/src/npm-dependency-version-checker.js:11:33)

Expected result

No deprecation message

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant