简体   繁体   English

无法读取 null 的属性“版本”

[英]Cannot read property 'version' of null

I'm fairly new to Power BI.我对 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.任何帮助将不胜感激。

在此处输入图像描述

Hope I get some solution.希望我能得到一些解决方案。

Thanks in advance.提前致谢。

Try this command in your terminal for your first warning,在您的终端中尝试此命令以获取第一个警告,

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM