Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Got Skypack dependency issue. #48

Open
iksflow opened this issue Nov 10, 2024 · 1 comment
Open

Got Skypack dependency issue. #48

iksflow opened this issue Nov 10, 2024 · 1 comment

Comments

@iksflow
Copy link

iksflow commented Nov 10, 2024

Hello, I'm trying to start a Slack app, but I encountered the following Skypack error.
How can I resolve this?

$ slack run
# ...Choose a local environment...

error: Uncaught (in promise) TypeError: Requires import access to "cdn.skypack.dev:443", run again with the --allow-import flag
    at file:///Users/iksflow/slack-app/announcement-bot-app/functions/create_draft/blocks.ts:5:8
  const functionModule = await import(`file://${functionFilePath}`);
                         ^
    at async getDefaultExport (https://deno.land/x/[email protected]/utilities.ts:27:26)
    at async validateManifestFunctions (https://deno.land/x/[email protected]/utilities.ts:76:27)
    at async getValidateAndCleanManifest (https://deno.land/x/[email protected]/get_manifest.ts:130:3)
    at async https://deno.land/x/[email protected]/get_manifest.ts:136:26
@deividmarcinkevic
Copy link

Hey @iksflow, you need to downgrade your deno version: deno upgrade --version 1.46.3
or brew uninstall deno -> curl -fsSL https://deno.land/x/install/install.sh | sh -s v1.46.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants