title: Getting : npm WARN using --force Recommended protections disabled
body: <p>I have an old Nuxt.js package that was developed in Node 12 and I want to use it now with Node 16 (the latest stable) but when I try to install my packages by <code>npm install</code> I'm getting the versions difference errors.</p>
  <p>But I know the packages are up to date. So, I'm trying to force clear my npm cache by <code>sudo npm cache clean -f</code> but I'm getting this error:</p>
  <blockquote>
  <p>npm WARN using --force Recommended protections disabled.</p>
  </blockquote>
  <p>The environment is <code>ubuntu 20.04</code> and this is my <code>package.json</code> file:</p>
  <pre class="lang-json prettyprint-override"><code>{
    &quot;name&quot;: &quot;frontend&quot;,
    &quot;version&quot;: &quot;1.0.0&quot;,
    &quot;private&quot;: true,
    &quot;scripts&quot;: {
      &quot;dev&quot;: &quot;nuxt&quot;,
      &quot;build&quot;: &quot;nuxt build&quot;,
      &quot;start&quot;: &quot;nuxt start&quot;,
      &quot;generate&quot;: &quot;nuxt generate&quot;
    },
    &quot;dependencies&quot;: {
      &quot;@nuxtjs/auth&quot;: &quot;^4.9.1&quot;,
      &quot;@nuxtjs/axios&quot;: &quot;^5.13.6&quot;,
      &quot;@nuxtjs/dotenv&quot;: &quot;^1.4.1&quot;,
      &quot;@nuxtjs/google-adsense&quot;: &quot;^1.4.0&quot;,
      &quot;@nuxtjs/gtm&quot;: &quot;^2.4.0&quot;,
      &quot;@nuxtjs/router&quot;: &quot;^1.6.1&quot;,
      &quot;better-vue-input-tag&quot;: &quot;^1.1.0&quot;,
      &quot;bootstrap&quot;: &quot;^5.1.3&quot;,
      &quot;bootstrap-vue&quot;: &quot;^2.21.2&quot;,
      &quot;core-js&quot;: &quot;^3.19.2&quot;,
      &quot;eslint&quot;: &quot;^8.3.0&quot;,
      &quot;jquery&quot;: &quot;^3.6.0&quot;,
      &quot;laravel-vue-pagination&quot;: &quot;^2.3.1&quot;,
      &quot;node-sass&quot;: &quot;^6.0.1&quot;,
      &quot;nuxt&quot;: &quot;^2.15.8&quot;,
      &quot;popper.js&quot;: &quot;^1.16.1&quot;,
      &quot;sass-loader&quot;: &quot;^12.3.0&quot;,
      &quot;vform&quot;: &quot;^2.1.2&quot;,
      &quot;vue-autosuggest&quot;: &quot;^2.2.0&quot;,
      &quot;vue-gtag&quot;: &quot;^1.16.1&quot;,
      &quot;vue-infinite-loading&quot;: &quot;^2.4.5&quot;,
      &quot;vue2-google-maps-withscopedautocomp&quot;: &quot;^0.12.1&quot;
    },
    &quot;devDependencies&quot;: {
      &quot;eslint-config-prettier&quot;: &quot;^8.3.0&quot;,
      &quot;eslint-plugin-prettier&quot;: &quot;^4.0.0&quot;,
      &quot;ip&quot;: &quot;^1.1.5&quot;,
      &quot;prettier&quot;: &quot;^2.5.0&quot;
    }
  }
  </code></pre>
  <p>How can I use the force flag without getting errors?</p>
  <p><strong>Edit:</strong></p>
  <p>The errors that I'm getting for versions difference:
  <a href="https://i.stack.imgur.com/8cipY.png" rel="noreferrer"><img src="https://i.stack.imgur.com/8cipY.png" alt="enter image description here" /></a></p>