cardstack / ember-data-fastboot

Serializes and restores the ember-data store for fastboot
MIT License
52 stars 24 forks source link

DEPRECATION: An addon is trying to access project.nodeModulesPath #16

Closed Alonski closed 6 years ago

Alonski commented 6 years ago

While trying to update an app that uses this addon to v3.0.0 I ran into this 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:

This needs to be fixed so that projects using this addon can upgrade to v3.0.0.

This should fix it: Upgrade the version checker: ember-cli/ember-cli-version-checker#48