Fixed Cannot find module /app/node_modules/xlsx/dist/cpexcel.js

Today I want to share a problem I encountered when integrating SheetJS with Nuxt specifically in cases without authentication, accessing the path directly works fine. But when the path requires Server-Side Authentication, it throws the error below. Why Solution Upgrading the SheetJS library from 0.18.5 → 0.20.3 has two approaches, but for versions after 18, SheetJS requires you to pull the package directly from instead. – First Solution (Public to Private Repo) – Second Solution (Add tarball in Code Repository) Note: If you do not run bun remove first, it will cause a dependency exception when installing the package.…








