Unable to read property "nodeModulesPath" from undefined - EMBER

After installing ember-power-calendar, I have this error:

Unable to read property 'nodeModulesPath' from undefined TypeError: Unable to read property 'nodeModulesPath' from undefined in DependencyVersionChecker.NPMDependencyVersionChecker

I cleared the npm and bower cache, deleted the node_modules, bower_components, dist and tmp folders, than removed the ember-power-calendar package from the json package and then ran npm install && & & bower install.

But it did not help.

In addition, I saw that the ember-power frame has dependencies on ember-cli@2.10. But I had 2.8. I even updated ember-cli, took the steps above, and that also didn't help.

The final idea is to reinstall node and npm to clean global modules. But I'm not sure if that will help.

Do you have any ideas?

Thanks in advance!

+4
source share
1 answer

I have fully studied this problem.

First, look for console obsolescence errors and try to fix them.

After I installed the ember-power calendar, I found in the package.json of this addon that it depends on ember-cli@2.10. But before I had 2.8.

ember-cli@2.10 brought several flaws (for example, this._super became mandatory in the init method). This is why several add-ons in my application broke the assembly.

devDependencies , , .

.

+1

Source: https://habr.com/ru/post/1663522/


All Articles