mongodb缝合函数在使用节点模版@jimp时出错,>

编程入门 行业动态 更新时间:2024-10-08 10:59:59

mongodb缝合函数在使用<a href=https://www.elefans.com/category/jswz/34/1771452.html style=节点模版@jimp时出错,>"/>

mongodb缝合函数在使用节点模版@jimp时出错,>

我正在使用数据库触发器上的mongodb针脚功能,以使用节点js jimp模块;

我已将jimp上传为对绣花功能的外部依赖。下面是我在函数中使用的代码

const jimp = require('jimp'); const imageUrl = ".2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1050&q=80"; let image2 = await jimp.read(imageUrl);

执行功能时出现以下错误

Error: failed to execute source for 'jimp': failed to execute source for 'node_modules/jimp/dist/@jimp/custom': failed to execute source for 'node_modules/@jimp/custom/dist/@jimp/core': failed to execute source for 'node_modules/@jimp/core/dist/utils/mime': failed to execute source for 'node_modules/@jimp/core/dist/utils/core-js/modules/es.array.includes': TypeError at defineProperty (<native code>) at <anonymous>:6:12670 at defineProperty (node_modules/core-js/internals/typed-array-constructor.js:87:11) at node_modules/core-js/internals/create-non-enumerable-property.js:12:10 at node_modules/core-js/internals/redefine.js:34:35 at node_modules/core-js/internals/export.js:60:5 at node_modules/core-js/modules/es.array.includes.js:16:1 at node_modules/@jimp/core/dist/utils/mime.js:9:1 at node_modules/@jimp/core/dist/index.js:160:36 at node_modules/@jimp/custom/dist/index.js:44:37 at node_modules/jimp/dist/index.js:14:38

[我在数据库触发器上使用mongodb缝合功能,以使用节点js jimp模块,我已将jimp上载为对缝合的外部依赖关系...
] >>

好像jimp正在使用Array.prototype.includes 回答如下:好像jimp正在使用Array.prototype.includes

更多推荐

mongodb缝合函数在使用节点模版@jimp时出错,>

本文发布于:2024-05-13 09:38:18,感谢您对本站的认可!
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:节点   模版   函数   mongodb   jimp

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!