kuitos / axios-extensions

🍱 axios extensions lib, including throttle, cache, retry features etc...
MIT License
831 stars 49 forks source link

Missing source files for sourcemaps? #89

Closed nathanchase closed 2 years ago

nathanchase commented 2 years ago

I'm getting warnings during my dev/build stating that the source maps are missing:

 WARN  Sourcemap for "/home/user/myapp/node_modules/.pnpm/axios-extensions@3.1.3/node_modules/axios-extensions/esm/index.js" points to missing source files

 WARN  Sourcemap for "/home/user/myapp/node_modules/.pnpm/axios-extensions@3.1.3/node_modules/axios-extensions/esm/cacheAdapterEnhancer.js" points to missing source files

 WARN  Sourcemap for "/home/user/myapp/node_modules/.pnpm/axios-extensions@3.1.3/node_modules/axios-extensions/esm/utils/buildSortedURL.js" points to missing source files

 WARN  Sourcemap for "/home/user/myapp/node_modules/.pnpm/axios-extensions@3.1.3/node_modules/axios-extensions/esm/utils/isCacheLike.js" points to missing source files

 WARN  Sourcemap for "/home/user/myapp/node_modules/.pnpm/axios-extensions@3.1.3/node_modules/axios-extensions/esm/retryAdapterEnhancer.js" points to missing source files

 WARN  Sourcemap for "/home/user/myapp/node_modules/.pnpm/axios-extensions@3.1.3/node_modules/axios-extensions/esm/throttleAdapterEnhancer.js" points to missing source files

Is this something that is misconfigured with the repo?

kuitos commented 2 years ago

Checked on unpkg, sourcemaps are existed, seems like something wrong with your local environment? image

nathanchase commented 2 years ago

Hmm, ok. Maybe it's a byproduct of using pnpm, or the way Vite accesses them. Will look into it. This was the only package in my Nuxt 3 app that was giving me this warning, so I thought I'd mention it. Thanks for checking!

jeremiah-snee-openx commented 1 year ago

Npm packages does not include source maps files that the source map files point to.

Screenshot 2023-07-20 at 11 27 36 AM