We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
axios在最近更新到了1.2.0版本(https://www.npmjs.com/package/axios?activeTab=versions) 在@larksuiteoapi/node-sdk的package.json中配置"axios": ">=0.27.0", 新部署的@larksuiteoapi/node-sdk环境,自动安装1.2.0版本的axios后,调用接口会返回乱码数据,测试代码:
const lark = require("@larksuiteoapi/node-sdk"); const client = new lark.Client({ appId: "********", appSecret: "********", }); client.im.chat.list({ params: { page_size: 20, }, }) .then((res) => { console.log(res); });
手动替换node_modules中的axios版本为1.1.3可恢复正常:
The text was updated successfully, but these errors were encountered:
axios有相关的issue:axios/axios#5298
Sorry, something went wrong.
b8c7e62
axios在最近更新到了1.2.0版本(https://www.npmjs.com/package/axios?activeTab=versions) 在@larksuiteoapi/node-sdk的package.json中配置"axios": ">=0.27.0", 新部署的@larksuiteoapi/node-sdk环境,自动安装1.2.0版本的axios后,调用接口会返回乱码数据,测试代码: const lark = require("@larksuiteoapi/node-sdk"); const client = new lark.Client({ appId: "********", appSecret: "********", }); client.im.chat.list({ params: { page_size: 20, }, }) .then((res) => { console.log(res); }); 手动替换node_modules中的axios版本为1.1.3可恢复正常:
我把包先锁到>=0.27.0 <1.0.0,等axios官方fix相关issue,sdk升级到1.7.1可用
No branches or pull requests
axios在最近更新到了1.2.0版本(https://www.npmjs.com/package/axios?activeTab=versions)
在@larksuiteoapi/node-sdk的package.json中配置"axios": ">=0.27.0",
新部署的@larksuiteoapi/node-sdk环境,自动安装1.2.0版本的axios后,调用接口会返回乱码数据,测试代码:
手动替换node_modules中的axios版本为1.1.3可恢复正常:
The text was updated successfully, but these errors were encountered: