npm - 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.
Hope I get some solution.
Thanks in advance.
解决方案
在您的终端中尝试此命令以获取第一个警告,
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
推荐阅读
- r - 无法获取有关化学品饮用水标准的公共数据 - “无法加载 HTTP 资源”错误
- reactjs - 如何添加 ads.txt
- postgresql - 复制的复制
- java - DexArchiveMergerException 程序类型已存在:aaa
- amazon-web-services - 如何将多个 SSH 密钥应用于 AWS Lightsail 实例
- android - 无法将安全规则级联到子集合+允许创建不起作用
- javascript - 在传单侧边栏中切换 GeoJSON 层
- batch-file - 批处理文件 Scipt 在 if 语句中一次性执行所有指令
- javascript - 当 HTML 表单输入字段为空时,Google Apps 脚本中的错误
- unity3d - 2 个关节 1 个对象