› Forums › Vue 3 Migration Errors › The requested module ‘http://localhost:5173/node_modules/.vite/deps/xlsx.js?v This topic has 1 reply, 1 voice, and was last updated 7 months, 3 weeks ago by albanaavdiu. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts September 27, 2024 at 7:19 am #122259 albanaavdiuParticipant The error “SyntaxError: The requested module ‘http://localhost:5173/node_modules/.vite/deps/xlsx.js?v=abf9024d’ doesn’t provide an export named: ‘default'” indicates that XLSX is not exported as the default export in the version of the library you are using. import XLSX from “xlsx”; // Import XLSX as a named import import * as XLSX from “xlsx”; September 27, 2024 at 7:22 am #122260 albanaavdiuParticipant To resolve the issue, it’s crucial to pay attention to how the module is being imported. Specifically, the error “doesn’t provide an export named ‘default'” indicates that the module you’re trying to import doesn’t have a default export. Author Posts Viewing 2 posts - 1 through 2 (of 2 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In