question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Upgrade ember-cli-babel & ember-runtime-enumerable-includes-polyfill to remove deprecation warning

See original GitHub issue

The current release (1.0.0) triggers an annoying deprecation warning with recent versions of Ember, which would be fixed by upgrading to the latest releases of ember-cli-babel (6.11.x) and ember-runtime-enumerable-includes-polyfill (2.1.0). Please consider updating these.

├─┬ ember-localstorage-adapter@1.0.0
│ ├─┬ ember-cli-babel@5.2.4
│ │ └── ember-cli-version-checker@1.3.1 
│ └─┬ ember-runtime-enumerable-includes-polyfill@1.0.4
│   └── ember-cli-version-checker@1.3.1 

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)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:3
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

5reactions
lockscommented, Feb 8, 2018

Thanks for the discussion everyone, I’ll look into it soon!

4reactions
jacobqcommented, May 2, 2018

@locks, any chance you’ll have time to look at this again soon? With the latest ember-cli release (I’m using 3.1.3) there seem to now be louder warnings, e.g.:

DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: my-app -> ember-localstorage-adapter -> ember-cli-babel
Read more comments on GitHub >

github_iconTop Results From Across the Web

Deprecation warning when running ember 2.18.0 #48 - GitHub
Upgrade ember-cli-babel & ember-runtime-enumerable-includes-polyfill to remove deprecation warning locks/ember-localstorage-adapter#221.
Read more >
How to ignore deprecation warnings in Python - Stack Overflow
You should just fix your code but just in case, import warnings warnings.filterwarnings("ignore", category=DeprecationWarning).
Read more >
The Complete Guide for Deprecation Warnings in Rails
In this guide we'll show you what the workflow is that we use at FastRuby.io to address deprecation warnings when we upgrade Rails ......
Read more >
Handling Deprecations - Configuration - Ember Guides
When you upgrade, be sure you remove the deprecations you've fixed from the deprecation workflow file, so that you can start the process...
Read more >
Enhanced Deprecation - Java - Oracle Help Center
The Java compiler generates warnings about deprecated APIs. There are options to generate more information about warnings, and you can also suppress deprecation...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found