Forum Discussion
lindak61
Aug 16, 2020Copper Contributor
Can't install @microsoft/sp-build-web
NB: I've seen a similar post to mine from the beginning of the year, nothing in there helped. About 6-8 months ago I was able to get the sp Framework working on my pc at work (behind a proxy, *si...
lindak61
Oct 05, 2020Copper Contributor
Resolved this eventually by adding --no-cache to the install line.
Because of frustrating time-outs imposed by my org's proxy when I first tested the framework last year, I had to set node to prefer the locally cached version of a package if it existed. I would install til the time out, pick up where I left off, etc etc. Eventually everything came through and worked fine.
Now that my org proxy situation has improved, and additionally I've added Fiddler into the mix to keep the connections open and smooth, I thought I had disabled the 'prefer cache' setting but it seems I hadn't done enough. Forcing the install to bypass the cache enabled me to fully and successfully install Pernille-Eskebo/sp-build-web.