安装命令:
npm install mammoth
在引入后:
// 引入mammoth库
import mammoth from "mammoth";
运行页面报错:
TypeError: Failed to fetch dynamically imported module: http://localhost:5173/pages/input_skills/input_skills.vue?t=1731511866331
http://localhost:5173/unpackage/dist/cache/.vite/deps/mammoth.js?t=1731489147984&v=0dcd8d61 net::ERR_ABORTED 504 (Outdated Optimize Dep)
请教怎么修复?通过npm安装各种外部都会报错,不能用了???
8***@qq.com
我是用hbuilderx去管理的项目,然后也是用npm安装的这个插件。
2024-11-14 17:12