These dependencies were not found:* canvas in ./node_modules/pdfh5/js/pdf.js* dommatrix/dist/domm

这篇具有很好参考价值的文章主要介绍了These dependencies were not found:* canvas in ./node_modules/pdfh5/js/pdf.js* dommatrix/dist/domm。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

错误代码:

These dependencies were not found:

* canvas in ./node_modules/pdfh5/js/pdf.js
* dommatrix/dist/dommatrix.js in ./node_modules/pdfh5/js/pdf.js
* web-streams-polyfill/dist/ponyfill.js in ./node_modules/pdfh5/js/pdf.worker.js

To install them, you can run: npm install --save canvas dommatrix/dist/dommatrix.js web-streams-polyfill/dist/ponyfill.js

解决方法:

npm install --save canvas dommatrix web-streams-polyfill文章来源地址https://www.toymoban.com/news/detail-715064.html

到了这里,关于These dependencies were not found:* canvas in ./node_modules/pdfh5/js/pdf.js* dommatrix/dist/domm的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • 错误解决:These dependencies were not found: core-js/modules/es.array.push.js

    错误描述 执行npm run dev后报错: These dependencies were not found: * core-js/modules/es.array.push.js in ./node_modules/@babel/runtime/helpers/objectSpread2.js, ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/@vue/cli-pluvue?vuetype=scriptlang=js and 9 others * core-js/modules/es.error.cause.js in ./node_modules/@babel/runtime/he

    2024年02月03日
    浏览(30)
  • 【vue报错笔记】These dependencies were not found:* core-js/modules/es.....to install them, you can

    提示:这里简述项目相关背景:   提示:这里描述项目中遇到的问题: vue项目启动报错:To install them, you can run: npm install --save core-js/modules/es.array.push.js core-js/modules/es.error.cause.js core-js/modules/es.object.proto. 删除node_modules,首先安装报错的core-js,然后再进行cnpm install,最后启动

    2024年02月11日
    浏览(43)
  • 【异常】Jenkins执行前端项目Npm构建时,出现报错This dependency was not found: vue-class-component in ./node_modules/vu

    同事的代码变更,导致了在Jenkins无法执行构建 错误的原因是项目中引入了vue-class-component,但是在项目的依赖列表中,却没有找到它,因此会报如上的错误。 vue-class-component是一个用于类式Vue组件的TypeScript装饰器。 它允许您将Vue组件定义为类,这可以使您的代码更有组织性和

    2024年02月03日
    浏览(51)
  • ERROR Failed to compile with 2 errors These relative modules were not found:

     提示在./node_modules/flatgeobuf/lib/mjs/packedrtree.js中找不到./config.js ./node_modules/flatgeobuf/lib/mjs/generic/featurecollection.js 中找不到../logger.js 如果是用vscode编写,按住ctrl+报错文件名 进入到该报错文件 根据引入  import Config from \\\'./config.js\\\' 去寻找路径\\\'./\\\'下有没有config.js文件 发现只有\\\"Conf

    2024年02月02日
    浏览(46)
  • 【Error】This relative module was not found:* ./dataAsset in ./node_modules/cache-loader/dist/cjs.js

     报错信息: This relative module was not found: * ./dataAsset in ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules /vue-loader/lib??vue-loader-options!./src/views/index.vue?vuetype=scriptlang=js 相对应的模块没找到 dataAsset.vue 这个组件没找到

    2024年02月04日
    浏览(30)
  • 安装element-ui后,运行报错ERROR in ./node_modules/element-ui/lib/element-ui.common.js Module not found: Erro

    ERROR in ./node_modules/element-ui/lib/element-ui.common.js Module not found: Error: Can’t resolve ‘throttle-debounce/debounce’ in “xxx” ERROR in ./node_modules/_element-ui@2.13.2@element-ui/lib/tooltip.js Module not found: Error: Can’t resolve ‘throttle-debounce/debounce’ in ‘D:IdeaProjectsdolphindolphinscheduler-uinode_modules_element-ui@

    2024年02月11日
    浏览(33)
  • Module not found: Error: Can‘t resolve ‘swiper/vue‘ in ‘D:\前端\Git\Git\Vue\music\node_modules\vue-awe

    1. Module not found: Error: Can’t resolve ‘swiper/vue’ in ‘D:前端GitGitVuemusicnode_modulesvue-awesome-swiper’ 2. 去node_modules 中删除文件夹vue-awesome-swiper 3. 下载 vue-awesome-swiper@3.1.3 4. 问题解决,可成功运行

    2024年02月05日
    浏览(34)
  • JUnit5单元测试提示“Not tests were found”错误

    JUnit5单元测试提示“Not tests were found”错误,如下图所示: 或者 问题解析: 1)使用@Test注解时,不能有返回值; 2)使用@Test注解时,不能使用private; 存在以上情况时执行单元测试,都会提示“Not tests were found”错误,如下图所示: 正确的示例是使用public void定

    2024年01月16日
    浏览(38)
  • uview-ui报错:Component is not found in path node-modules/uview-ui/components/xx/xx

    解决方法: 1、uview-ui如果是npm安装 需要在pages.json中添加easycom配置 2、配置了以上还报错的话可能是 tempalte样式最外层没用标签包括着(只允许有一层用 view/view 包裹最外层) 3、如果试过方法还没解决的话,可以试试彻底 关闭开发者工具关闭,重启 如你还有其他更好的解决

    2024年02月11日
    浏览(32)
  • Dependency not found解决方案(Springboot,绝对有效)

    今天在弄一个项目的依赖的时候,easyexcel 的依赖就是下载不了,虽然我的 Maven 配置没问题。 依赖:    Maven 配置:    我切换了几个版本,也无法从镜像下载,甚至开了加速器,换回默认镜像下载都不行。 这个方案比较简单,如果这个方案报错,再用下面的解决方案 既

    2024年02月14日
    浏览(27)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包