title: Error: Cannot find module 'code-point-at' while writing any npm commands
body: <h3>Configurations:</h3>
  <p><strong>System : Ubuntu v21.10</strong></p>
  <p><strong>node : v16.14.0</strong></p>
  <p><strong>npm : v6.13.7</strong></p>
  <h3>Problem :</h3>
  <p>It was working well until last ubuntu software update,Now its throwing &quot;<strong>Error: Cannot find module 'code-point-at</strong>' while writing any npm commands&quot; because of <strong>code: 'MODULE_NOT_FOUND'</strong>
  I have attached terminal Screenshot,please help me solve this issue.</p>
  <h3>Terminal:</h3>
  <p><a href="https://i.stack.imgur.com/Ud4OR.png" rel="nofollow noreferrer">Terminal Screenshot</a></p>
  <pre><code>ssns@nits-hp-15-notebook-pc:~$ npm --version
  node:internal/modules/cjs/loader:933
    const err = new Error(message);
                ^
  
  Error: Cannot find module 'code-point-at'
  Require stack:
  - /usr/lib/node_modules/npm/node_modules/wide-align/node_modules/string-width/index.js
  - /usr/lib/node_modules/npm/node_modules/wide-align/align.js
  - /usr/lib/node_modules/npm/node_modules/gauge/lib/render-template.js
  - /usr/lib/node_modules/npm/node_modules/gauge/lib/plumbing.js
  - /usr/lib/node_modules/npm/node_modules/gauge/lib/index.js
  - /usr/lib/node_modules/npm/node_modules/npmlog/lib/log.js
  - /usr/lib/node_modules/npm/lib/utils/log-shim.js
  - /usr/lib/node_modules/npm/lib/utils/exit-handler.js
  - /usr/lib/node_modules/npm/lib/cli.js
  - /usr/lib/node_modules/npm/bin/npm-cli.js
      at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
      at Function.Module._load (node:internal/modules/cjs/loader:778:27)
      at Module.require (node:internal/modules/cjs/loader:1005:19)
      at require (node:internal/modules/cjs/helpers:102:18)
      at Object.&lt;anonymous&gt; (/usr/lib/node_modules/npm/node_modules/wide-align/node_modules/string-width/index.js:3:19)
      at Module._compile (node:internal/modules/cjs/loader:1103:14)
      at Object.Module._extensions..js (node:internal/modules/cjs/loader:1155:10)
      at Module.load (node:internal/modules/cjs/loader:981:32)
      at Function.Module._load (node:internal/modules/cjs/loader:822:12)
      at Module.require (node:internal/modules/cjs/loader:1005:19) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
      '/usr/lib/node_modules/npm/node_modules/wide-align/node_modules/string-width/index.js',
      '/usr/lib/node_modules/npm/node_modules/wide-align/align.js',
      '/usr/lib/node_modules/npm/node_modules/gauge/lib/render-template.js',
      '/usr/lib/node_modules/npm/node_modules/gauge/lib/plumbing.js',
      '/usr/lib/node_modules/npm/node_modules/gauge/lib/index.js',
      '/usr/lib/node_modules/npm/node_modules/npmlog/lib/log.js',
      '/usr/lib/node_modules/npm/lib/utils/log-shim.js',
      '/usr/lib/node_modules/npm/lib/utils/exit-handler.js',
      '/usr/lib/node_modules/npm/lib/cli.js',
      '/usr/lib/node_modules/npm/bin/npm-cli.js'
    ]
  }
  ssns@nits-hp-15-notebook-pc:~$ 
  </code></pre>
  <p><em>Thanks in Advance.. :)</em></p>