You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do you have a bit more context on what you are attempting to do here? Are you trying to use the SDK in a Middleware route? Is this route a Linear webhook route?
I gathered a but more of information on the topic.
It looks like currently, middlewares run on the Edge Runtime for performance reasons. It is not possible to change the runtime used by Middlewares yet. There is an ongoing RFC to add support for this.
As you might know, the Edge Runtime doesn't support native Node.js APIs. As the Linear SDK has been designed as a Node.js SDK to run on the server, it, (or some of its dependencies), does rely on some Node.js native APIs.
Adding support for the Edge Runtime will require some amount of refactoring to identify and replace the said dependencies.
Here is the error.
I assume it has to do with the
graphql-request
orisomorphic-unfetch
dependencies. One of which is pulling inencoding
...The text was updated successfully, but these errors were encountered: