nextui-org / nextui

🚀 Beautiful, fast and modern React UI library.
https://nextui.org
MIT License
21.92k stars 1.53k forks source link

[BUG] - Error when using sourcemap for reporting an error: Can't resolve original location of error. #3857

Open dande-sun opened 4 weeks ago

dande-sun commented 4 weeks ago

NextUI Version

2.4.8

Describe the bug

I use Astro & sentry & nextui in my project, when run npm run build in terminal, will get the error. node_modules/@nextui-org/calendar/dist/chunk-UZQHKKTO.mjs (1:0): Error when using sourcemap for reporting an error: Can't resolve original location of error. node_modules/@nextui-org/date-picker/dist/chunk-QQ5UXTVS.mjs (1:0): Error when using sourcemap for reporting an error: Can't resolve original location of error. node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs (1: WeCom Screenshot_20241008140305 0): Error when using sourcemap for reporting an error: Can't resolve original location of error. node_modules/framer-motion/dist/es/motion/index.mjs (1:0): Error when using sourcemap for reporting an error: Can't resolve original location of error.

Your Example Website or App

https://stackblitz.com/edit/withastro-astro-pjkrxf?file=src%2Fpages%2Findex.astro

Steps to Reproduce the Bug or Issue

  1. run npm install
  2. run npm run build

Expected behavior

This mistake should not have happened.

Screenshots or Videos

No response

Operating System Version

Linux

Browser

Chrome

linear[bot] commented 4 weeks ago

ENG-1439 [BUG] - Error when using sourcemap for reporting an error: Can't resolve original location of error.

dande-sun commented 4 weeks ago

ENG-1439 [BUG] - Error when using sourcemap for reporting an error: Can't resolve original location of error.

I don't have access to this workspace.

wingkwong commented 4 weeks ago

@dande-sun that link is for us to track the status. you can simply ignore it.