Forum Discussion

Russell Gove's avatar
Russell Gove
Iron Contributor
Feb 02, 2017

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

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.

 

.

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

No RepliesBe the first to reply

Resources