title: What causes `WARNING in ./node_modules/<package> Module Warning (from ./node_modules/source-map-loader/dist/cjs.js): Failed to parse source map
body: <p>I am not interested in finding out how to get rid of this problem. I already found multiple answers <a href="https://stackoverflow.com/questions/63195843/webpack-module-warning-failed-to-parse-source-map-from-data-url">here</a>. What I want to know since this issue is coming from my own package is how can I present this error/warning from happening in the first place.</p>
  <p>As the original package owner what can I do to present this warning from being generated.</p>
  <pre><code>WARNING in ./node_modules/package-system/utilities/lib/Constants.js
  Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
  Failed to parse source map from '/Users/roger_perez/Sites/DemoShop/node_modules/package-system/utilities/src/Constants.ts' file: Error: ENOENT: no such file or directory, open '/Users/roger_perez/Sites/DemoShop/node_modules/package-system/utilities/src/Constants.ts'
   @ ./node_modules/package-system/utilities/lib/index.js 2:0-37 2:0-37
   @ ./node_modules/package-system/components/lib/utils/index.js 1:0-51 1:0-51
   @ ./node_modules/package-system/components/lib/index.js 19:0-24 19:0-24
   @ ./src/App.tsx 4:0-68 18:39-54
   @ ./src/index.tsx 7:0-24 17:50-53
  </code></pre>
  <p><a href="https://i.stack.imgur.com/kuIJm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kuIJm.png" alt="failed to parse source map from image" /></a></p>