tencencloud-sdk-nodejs如何导入?

这样直接导入不行,会提示tencencloud-sdk-nodejs is not defined,然后使用开发工具里的npm构建之后,直接调用里面的index.js,会提示



这个crypto模块是NodeJS的内置模块,然后小程序里一直都没法直接require NodeJS内置模块,我也不清楚是我配置问题还是怎样,有人成功使用过sdk吗?或者使用其他方法成功过?
1 回复