Skip to content

deployed site missing dependency #1411

@thinkingfish

Description

@thinkingfish

Describe the bug
I have a Framework project that uses apache-arrow, this dependency is declared in package.json, and when I execute npm run dev the pages works fine. However, when I deploy it, either to observable cloud or to netlify, it throws an error about missing package:

RuntimeError: error loading dynamically imported module: https://rezolus-ui.iop.systems/_npm/[email protected]/_esm.js

Locally I can see this particular package being put under pages/.observablehq/cache/_npm during dev, but when I run npm run build, I don't see it under either dist/_npm or dist/_observablehq

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions