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
ProductName: macOS
ProductVersion: 15.1
BuildVersion: 24B83
Darwin Kernel Version 24.1.0: Thu Oct 10 21:02:26 PDT 2024; root:xnu-11215.41.3~2/RELEASE_ARM64_T8122
Describe the bug
Unable to make use of Google deno packages.
I'm attempting to import the Google sheets API using
import { Sheets, auth as GoogleAuth } from 'https://googleapis.deno.dev/v1/sheets:v4.ts';
This was working earlier in the year and I have a deployed application that utilizes this, but now when I use slack run I get the following error
error: Uncaught (in promise) TypeError: Requires import access to "googleapis.deno.dev:443", run again with the --allow-import flag
I've searched high and low and tried add --allow-import to get-hooks in slack.json but haven't be able to find a way to convince deno to allow the import of the google APIs. I reached out to Slack support and they directed me here.
I get the same thing when attempting to follow the slack announcement bot tutorial. Running step 6 where you create the trigger it fails with the same message. I. My case it fails trying to reach cdn.skypack.dev. I checked and the demo apps manifest includes the outgoing domains section and lists the location so I don’t think that’s it.
The
deno-slack
versionsDeno runtime version
OS info
Describe the bug
Unable to make use of Google deno packages.
I'm attempting to import the Google sheets API using
This was working earlier in the year and I have a deployed application that utilizes this, but now when I use
slack run
I get the following errorI've searched high and low and tried add --allow-import to get-hooks in slack.json but haven't be able to find a way to convince deno to allow the import of the google APIs. I reached out to Slack support and they directed me here.
Steps to reproduce
slack run
Expected result
Expect that I'm able to import google deno packages.
Actual result
It fails with the following error
Requirements
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.
The text was updated successfully, but these errors were encountered: