Skip to content

Cannot find module '../node_modules/comlink/dist/esm/comlink.mjs' in build-3 #24

@jamesgpearce

Description

@jamesgpearce

When trying to simply:

import sqlite3InitModule from '@sqlite.org/sqlite-wasm';

I get:

Cannot find module '../node_modules/comlink/dist/esm/comlink.mjs' from 'node_modules/@sqlite.org/sqlite-wasm/src/sqlite-client.mjs'

Maybe a src file shouldn't be in the prod distro (from index.mjs: export * from './src/sqlite-client.mjs';).

This worked fine with build 2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions