Skip to content
This repository was archived by the owner on Nov 6, 2023. It is now read-only.
This repository was archived by the owner on Nov 6, 2023. It is now read-only.

Investigate on ESBuild error on Pages Deploy #2

Description

@LeoBorai

Currently when building Histoire with Bun an module resolution
error occurs, blocking the deployment to GitHub Pages.

Could not resolve "../../node_modules/.pnpm/flexsearch@0.7.21/node_modules/flexsearch/dist/module/lang/latin/advanced.js" from "node_modules/@histoire/app/dist/bundled/components/search/SearchPane.vue2.js"
file: /home/runner/work/exo/exo/node_modules/@histoire/app/dist/bundled/components/search/SearchPane.vue2.js
file:///home/runner/work/exo/exo/node_modules/rollup/dist/es/shared/node-entry.js:2124
        base = Object.assign(new Error(base.message), base);
                             ^

Error [RollupError]: Could not resolve "../../node_modules/.pnpm/flexsearch@0.7.21/node_modules/flexsearch/dist/module/lang/latin/advanced.js" from "node_modules/@histoire/app/dist/bundled/components/search/SearchPane.vue2.js"
    at error (file:///home/runner/work/exo/exo/node_modules/rollup/dist/es/shared/node-entry.js:2124:30)
    at ModuleLoader.handleInvalidResolvedId (file:///home/runner/work/exo/exo/node_modules/rollup/dist/es/shared/node-entry.js:23990:24)
    at file:///home/runner/work/exo/exo/node_modules/rollup/dist/es/shared/node-entry.js:23952:26 {
  code: 'UNRESOLVED_IMPORT',
  exporter: '../../node_modules/.pnpm/flexsearch@0.7.21/node_modules/flexsearch/dist/module/lang/latin/advanced.js',
  id: '/home/runner/work/exo/exo/node_modules/@histoire/app/dist/bundled/components/search/SearchPane.vue2.js',

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingciCI Related

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions