Cannot read property 'version' of null

2.9k Views Asked by At

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.

1

There are 1 best solutions below

2
Dixit Savaliya On

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