Npm incompatible with lockfileversion@2

getting this error while installing mongoose in Shopify node project

npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2.