When exec npm run build in terminal of vite project, I got below errors:
rlv-node | 03:19:49 [vite] ✓ built in 54.33s
rlv-node | 03:19:49 [build] ✓ Completed in 54.41s.
rlv-node |
rlv-node | building client (vite)
rlv-node | 03:19:49 [vite] vite v5.4.8 building for build...
rlv-node | 03:19:49 [vite] transforming...
rlv-node | 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.
rlv-node | 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.
When exec
npm run build
in terminal of vite project, I got below errors: rlv-node | 03:19:49 [vite] ✓ built in 54.33s rlv-node | 03:19:49 [build] ✓ Completed in 54.41s. rlv-node | rlv-node | building client (vite) rlv-node | 03:19:49 [vite] vite v5.4.8 building for build... rlv-node | 03:19:49 [vite] transforming... rlv-node | 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. rlv-node | 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.// details https://github.com/nextui-org/nextui/issues/3857