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:
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.
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: 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
npm install
npm run build
Expected behavior
This mistake should not have happened.
Screenshots or Videos
No response
Operating System Version
Linux
Browser
Chrome