Forum Discussion
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.
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.
- triSolutionFuse7 years agoMentor
If you have trouble installing the windows build tools and python from above, you can try locking the version to 1.3.2, by running this command:
npm install --global --production windows-build-tools@1.3.2
Version after this from what i gathered are buggy and likely not fixed, which causes some slow installs or obscure errors. THis worked for me. Enjoy!
- RobertT7 years agoBoss
Has anyone used the SDK with local skin precompile recently?
Finding the li serve-sass function a bit temperamental, in most cases it stops watching for changes after launching the http server and no longer compiles the sass into a local CSS file which I find a bit annoying.
Related Content
- 7 years ago