in ./src/vendor/Export2Excel.js "export 'default' (imported as 'XLSX') was not found in 'xlsx'
时间: 2023-10-20 15:58:05 浏览: 148
根据提供的引用内容,问题是关于在"./src/vendor/Export2Excel.js"中出现的错误。错误信息是"export 'default' (imported as 'XLSX') was not found in 'xlsx'"。
根据引用\[3\]中提供的信息,这个错误可能是由于版本号不匹配导致的。可以尝试运行以下命令来解决这个问题: "npm install xlsx@0.16.0 --save"。这个命令将会安装0.16.0版本的xlsx库。这样可能会解决"export 'default' (imported as 'XLSX') was not found in 'xlsx'"的问题。
#### 引用[.reference_title]
- *1* *2* [2021-05-21](https://blog.csdn.net/weixin_51952807/article/details/117133755)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down28v1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [导出使用xlsx插件报错“export ‘default‘ (imported as ‘XLSX‘) was not found in ‘xlsx‘的解决办法](https://blog.csdn.net/qianxizq/article/details/127670913)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down28v1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文