我得到一个错误,读部分'(TypeError): getCurves is not a function‘。我四处打探,发现getCurves是node.js 'crypto‘内置模块的一部分。如果我console.log(typeOf(crypto.getCurves)),我会得到undefined。如果我是console.log(crypto),我会看到密码有很多可用的方法,但getCurves不在其中。我不知道为什么我的节点密码版本没有getCurves。有办法
Uncaught (in promise) TypeError: SVG is not a function 我尝试过以不同的方式导入Svg.js,但这似乎不是问题所在。SVG.Doc('drawing');
let rect = draw.rect(100, 100).attr({fill: "#f06"}) 上面的方法返回Uncaught (in promise) TypeError