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
{{ message }}
This repository was archived by the owner on Nov 5, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 5, 2025. It is now read-only.
I am getting the following in the Apps.clickup on the server side:
2024-01-25T15:55:45.852447688-05:00 at OAuth2Client.<anonymous> (/app/bundle/programs/server/npm/node_modules/@rocket.chat/apps-engine/server/oauth2/OAuth2Client.js:79:25)
2024-01-25T15:55:45.852454831-05:00 at Generator.next (<anonymous>)
2024-01-25T15:55:45.852461203-05:00 at fulfilled (/app/bundle/programs/server/npm/node_modules/@rocket.chat/apps-engine/server/oauth2/OAuth2Client.js:5:58)
2024-01-25T15:55:45.852465552-05:00 at VM2 Wrapper.apply (/app/bundle/programs/server/npm/node_modules/vm2/lib/bridge.js:485:11)
2024-01-25T15:55:45.852469059-05:00 at /app/bundle/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40```
Seems like the new URL is causing issue in the file, not 100% sure why.
@RegisHubelia I solved this issue by importing URL from url module in OAuth2Client.js.
Although URL should be a global variable in Node.js environment, it appears that projects with older versions of Node, particularly <= v14, share the same issue. For examples: npm/npm-registry-fetch#49 fent/node-ytdl-core#859
Activity
JeffreytheCoder commentedon Mar 8, 2024
I'm getting the same issue in Github App: #139
JeffreytheCoder commentedon Mar 13, 2024
@RegisHubelia I solved this issue by importing URL from
urlmodule inOAuth2Client.js.Although URL should be a global variable in Node.js environment, it appears that projects with older versions of Node, particularly <= v14, share the same issue. For examples:
npm/npm-registry-fetch#49
fent/node-ytdl-core#859