如何解决如何重新运行 Blotter.js 的构建脚本?
我正在使用 Blotter.js 为我的项目中的文本设置动画,一切正常,直到我决定使用 Three.js 在某些图像中加入动画。现在我的图像正在工作,但我在文本中的动画已停止工作。似乎发生了冲突,因为 Blotter 已经需要 Three.js。显然,要解决它,我应该执行以下操作:
但我不知道怎么做。拜托,有人可以向我解释如何做到这一点吗?
对于 Blotter,我从我通过 npm 安装了 Three Parcel-bundler 的网站下载了文件,并且在我安装了 Three 后我从浏览器收到以下消息:
Uncaught TypeError: Cannot read property 'ClampToEdgeWrapping' of undefined
at Object.<anonymous> (blotter.min.js:15988)
at Object.require.1.three (blotter.min.js:16009)
at e (blotter.min.js:15957)
at a (blotter.min.js:15977)
at Object.parcelRequire.js/blotter.min.js (blotter.min.js:15945)
at newRequire (blotter.min.222dfb7e.js:47)
at blotter.min.222dfb7e.js:81
at blotter.min.222dfb7e.js:120 liquiddistortMaterial.6c9d0bd9.js:116
Uncaught TypeError: Cannot set property 'LiquiddistortMaterial' of undefined
at liquiddistortMaterial.js:2
at Object.parcelRequire.js/liquiddistortMaterial.js (liquiddistortMaterial.js:1)
at newRequire (liquiddistortMaterial.6c9d0bd9.js:47)
at liquiddistortMaterial.6c9d0bd9.js:81
at liquiddistortMaterial.6c9d0bd9.js:120 landingPage.js:46
Uncaught (in promise) ReferenceError: Blotter is not defined
at landingPage.js:46
我是编程新手,如果我的问题太菜,我很抱歉。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。