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
When trying to run the SDK in Cloudflare Workers (which is not Node, but has some Node compatibility with node_compat), we get the following errors:
18:37:12.777 | ../node_modules/.pnpm/@linear+sdk@8.0.0/node_modules/@linear/sdk/dist/index-es.min.js:1:13: ERROR: Could not resolve "stream"
-- | --
18:37:12.777 | ../node_modules/.pnpm/@linear+sdk@8.0.0/node_modules/@linear/sdk/dist/index-es.min.js:1:35: ERROR: Could not resolve "http"
18:37:12.777 | ../node_modules/.pnpm/@linear+sdk@8.0.0/node_modules/@linear/sdk/dist/index-es.min.js:1:55: ERROR: Could not resolve "url"
18:37:12.777 | ../node_modules/.pnpm/@linear+sdk@8.0.0/node_modules/@linear/sdk/dist/index-es.min.js:1:74: ERROR: Could not resolve "https"
18:37:12.777 | ../node_modules/.pnpm/@linear+sdk@8.0.0/node_modules/@linear/sdk/dist/index-es.min.js:1:95: ERROR: Could not resolve "zlib"
Many of the packages are supported by Cloudflare Workers, but require a node: prefix. For example, crypto -> node:crypto.
I see that the following should be supported: stream, crypto. Others may need to be replaced or polyfilled.
When trying to run the SDK in Cloudflare Workers (which is not Node, but has some Node compatibility with
node_compat
), we get the following errors:Many of the packages are supported by Cloudflare Workers, but require a
node:
prefix. For example,crypto
->node:crypto
.I see that the following should be supported:
stream
,crypto
. Others may need to be replaced or polyfilled.https://developers.cloudflare.com/workers/runtime-apis/nodejs/
The text was updated successfully, but these errors were encountered: