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.

How to fix EXTEND_PROTOTYPES deprecation ?

See original GitHub issue

Just updated deps and got

DEPRECATION: Accessing Ember.EXTEND_PROTOTYPES is deprecated, please migrate to Ember.ENV.EXTEND_PROTOTYPES [deprecation id: ember-env.old-extend-prototypes]

Nothing can find about it

I have standard config in config/environment.js

   EmberENV: {
      FEATURES: {
        // Here you can enable experimental features on an ember canary build
        // e.g. 'with-controller': true
      },
      EXTEND_PROTOTYPES: {
        // Prevent Ember Data from overriding Date.parse.
        Date: false
      }
    },

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:18 (11 by maintainers)

github_iconTop GitHub Comments

4reactions
ro0grcommented, Jun 12, 2018

So in my case it was an outdated transitive ember-inflector@2.2.0 dependency.

yarn upgrade ember-cli-mirage ember-data fixed the issue for me.

2reactions
ddoria921commented, Oct 16, 2018

I ran into the same deprecation warning. I updated ember-inflector to "^2.3.0" in my package.json and then did a yarn install. After that the warning was gone.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Deprecations Added in Ember 3.x
Invoking the <LinkTo> component with positional arguments is deprecated. See below how to migrate different usages of the component. Inline form. Before: {{link ......
Read more >
js.ember Changelog - pyup.io
merge` deprecation. ... with usage of objects created by older addons that are attempting to use `Ember.inject.service()`. ... properties. Fixes scenarios where the ......
Read more >
ember-source | Yarn - Package Manager
#13273 [BUGFIX] Fix a number of query param related issues reported. #13424 [DEPRECATE] Deprecate Ember.Binding. See the deprecation guide for more details. # ......
Read more >
Replace NOBR Tags with CSS
... you to avoid using deprecated "NOBR" tags within your HTML markup. ... When I first started learning html I ran into the...
Read more >
web.mit.edu/kolya/.f/root/net.mit.edu/athena.mit.e...
... added `titleCase()` method [#149](https://github.com/jprichardson/string.js/pull/149) - fix ... Renamed `clobberPrototype()` to `extendPrototype()`.
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