Giter VIP home page Giter VIP logo

Comments (3)

mazhe-nerd avatar mazhe-nerd commented on July 28, 2024 2

@wuhan005

不好意思同学😅,这个issue回复一周后没在追问,认为是解决,所以close了,抱歉;

axios默认的adaptor会用XMLHttpRequest(browser)或者http(node),但在 Cloudflare Workers里默认是使用fetch,所以需要自定义一个适配器;这个场景我记一下,之后一起更新到文档里。

from node-sdk.

mazhe-nerd avatar mazhe-nerd commented on July 28, 2024 1

上面的报错看不出什么,如果想要调用多维表格的api完成一些功能,可以参考这篇教程:https://open.feishu.cn/document/home/quick-access-to-base/preparation

from node-sdk.

wuhan005 avatar wuhan005 commented on July 28, 2024

我这边是在 Cloudflare Workers 运行,也会报这个错误。

我尝试使用 @haverstack/axios-fetch-adapter 更换掉默认的 axios adapter 可以正常运行:

import fetchAdapter from "@haverstack/axios-fetch-adapter";

client.httpInstance.defaults.adapter = fetchAdapter;

@mazhe-nerd 你们 Lark 是不是对 GitHub Issue 有什么指标要求?不进一步询问用户更详细的错误信息,直接甩一篇不相关的文档然后草草关 issue 就算解决了是吧。😅

7ade8769a8cdf8a68c0db8328a02ac61

from node-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.