Quantcast
Channel: O365 – Ideas For Free
Viewing all articles
Browse latest Browse all 14

SPFx – Troubleshooting phyton2 error

$
0
0

Last month, I had to reinstall my laptop because of disk failure. Today, when I try to compile my SPFx (SharePoint Framework) project, I encounter  “phyton2” not found exception. In fact, when I read the exception it was thrown by gyp npm component. This component apparently requires phyton to be installed . I can not find anywhere in SPFx documentation, the instruction to install phyton – although this will be triggered by the tooling.

According to the gyp documentation, the solution is simple.

  1. Open cmd using elevated privileged
  2. Run   “npm install –global –production windows-build-tools


Viewing all articles
Browse latest Browse all 14

Latest Images

Trending Articles





Latest Images