前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >This happened because the patch file patches@geoman-io+leaflet-geoman-free+2.11.4.patch could not be

This happened because the patch file patches@geoman-io+leaflet-geoman-free+2.11.4.patch could not be

作者头像
johnhuster的分享
发布2022-03-29 13:51:59
4650
发布2022-03-29 13:51:59
举报
文章被收录于专栏:johnhuster

thingsboard3.3.4打包时编译到ui-ngx时爆出了下面的异常信息:

Exit code: 1 [INFO] Command: node ./run.js [INFO] Arguments: [INFO] Directory: E:\work\corp\tb\thingsboard\ui-ngx\node_modules\postinstall-prepare [INFO] Output: [INFO] ERROR Failed to apply patch for package @geoman-io/leaflet-geoman-free [INFO] [INFO] This happened because the patch file patches@geoman-io+leaflet-geoman-free+2.11.4.patch could not be parsed. [INFO] [INFO] If you just upgraded patch-package, you can try running: [INFO] [INFO] cd patches@geoman-io+leaflet-geoman-free+2.11.4.patc [INFO] patch -p1 -i h [INFO] npx patch-package @geoman-io/leaflet-geoman-free [INFO] cd ../.. [INFO] [INFO] Otherwise, try manually creating the patch file again. [INFO] [INFO] If the problem persists, please submit a bug report: [INFO] [INFO] https://github.com/ds300/patch-package/issues/new?title=Patch+file+parse+error&body=%3CPlease+attach+the+patch+file+in+question%3E

最后通过删除 ui-ngx\patches目录下的geoman-io+leaflet-geoman-free+2.11.4.patch文件后就可以正常编译了

参考文章:

1、https://github.com/ds300/patch-package/issues/382

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2022/03/16 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档