Forum Discussion
I am getting error when running the command
npm install -g lithium-sdk
See attached screenshot for logs. I have installed all the required things. Any help would be appreciated.
- RobertT7 years agoBoss
It looks as if the Windows Build Tools haven't installed properly. Try running the following command in PowerShell again as administrator
npm install --production windows-build-tools
It will take a while for the build tools to install, once complete run
npm install -g lithium-sdk
Which should fix the issue.
- VikasB7 years agoBoss
I followed the same steps you mentioned in this thread.
I have tried it multiple time on Powershell and cmd both(as administrator). Even reinstalled all the required things. But every time I am getting the same log.
- RobertT7 years agoBoss
VikasB the log indicates a problem with a visual studio dependency using MSBuild.exe - typically the windows build tools command installs this, however you may have multiple versions installed if you already have VisualStudio on your machine.
Can you confirm what Windows version you are running (winver from the search bar) and what versions of VisualStudio are showing installed on your machine from Settings > Apps
I'll take a look and see if I can replicate the problem here.
Related Content
- 7 years ago