首页 > 解决方案 > Cannot read property 'version' of null

问题描述

I'm fairly new to Power BI. I want to replace the existing visual controls with my custom controls (Date slicer of its own with my custom Calendar). I created a new project as suggested by this tutorial. When I did so, it throws error.

As many article said, the first error was a warning and can be ignored.But it doesn't seem so.However I ignored.But I can't get rid of the second issue.

Any help would be highly appreciated.

enter image description here

Hope I get some solution.

Thanks in advance.

标签: npmpowerbinpm-startpbiviz

解决方案


在您的终端中尝试此命令以获取第一个警告,

1.$ npm cache clean --force
2.delete node_modules by $ rm -rf node_modules
3.$ npm install
And then start it again with $ npm start

推荐阅读