Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[BUG] Import "env" not a dependency and not in import map #45

Copy link
Copy link
@chmac

Description

@chmac
Issue body actions

Describe the bug
Upgrading from 1.3.0 to 1.4.0 I get this error:

error: Import "env" not a dependency and not in import map from "https://deno.land/x/imagescript@1.4.0/utils/wasm/gif.wasm"
    at https://deno.land/x/imagescript@1.4.0/utils/wasm/gif.wasm:1:60

To Reproduce
Steps to reproduce the behavior:

  1. Create a deno file with an import_map.json like:
    "imagescript": "https://deno.land/x/imagescript@1.4.0/mod.ts",
  2. import { Image } from "imagescript";

Expected behavior
The library should import

Platform:

  • OS: [e.g. iOS, Windows]
  • Environment deno
  • Version: deno 2.7.14 (stable, release, aarch64-apple-darwin)

Additional context
I don't see this issue if I change to 1.3.0.

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.