Error in webpack-env\index.d.tx after upgrading to rc0.

Highlighted
Frequent Contributor

Hi ,

I upgrade my webpart project to spfx RC0. When I build the webpart I get and error in node_modules\@types\webpack-env\index.d.ts(186,13) shown below. I’m not sure what is causing it.

 

.Capture.PNG

I delete the webpack-env folder from my node_modules and, although I get some warnings at build time, the webpart does build and run fine 

 

So my question is what is causing the errors shown? Is it safe to just delete webpack-env from my package.json and leave it at that?

Thanks

0 Replies