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

Investigate on ESBuild error on Pages Deploy #2

Open
LeoBorai opened this issue Jun 4, 2023 · 0 comments
Open

Investigate on ESBuild error on Pages Deploy #2

LeoBorai opened this issue Jun 4, 2023 · 0 comments
Labels
bug Something isn't working ci CI Related

Comments

@LeoBorai
Copy link
Contributor

LeoBorai commented Jun 4, 2023

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',
@LeoBorai LeoBorai added bug Something isn't working ci CI Related labels Jun 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working ci CI Related
Projects
None yet
Development

No branches or pull requests

1 participant