Forum Discussion

Christian Walling's avatar
Christian Walling
Copper Contributor
Sep 02, 2019

Warnings when doing gulp bundle

Hi, I'm building a solution with SharePoint Framework 1.9.1. It contains one single but rather complex Webpart. Whenever I do "gulp bundle" (with or without --ship) I'm getting a bunch of warning m...
  • Thomas Berman's avatar
    Sep 04, 2019

    Christian Walling 

     

    Hi Christian,

     

    Is this a solution that you're opening from source control, or something you've completely written in your environment?

     

    The first thing I'd do is delete and rebuilt the entire node_modules folder

     

     

     

    rm rf node_modules
    npm i

     

     

     

    If you're not working on this together with a group of people who all need to be on the same exact version of the project (for example if you are working alone in your environment, but you cloned the project from github) I'd delete the package-lock.json file as well before npm i

Resources