Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update flexsearch client-side dependency #595

Open
terror opened this issue Jul 21, 2024 · 0 comments
Open

Update flexsearch client-side dependency #595

terror opened this issue Jul 21, 2024 · 0 comments
Labels

Comments

@terror
Copy link
Owner

terror commented Jul 21, 2024

Tried to upgrade this in #594

From https://github.com/terror/mcgill.courses/actions/runs/10017418575/job/27691578205

"Index" is not exported by "node_modules/.pnpm/flexsearch@0.7.43/node_modules/flexsearch/dist/flexsearch.bundle.module.min.js", imported by "client/src/lib/searchIndex.ts".
file: /Users/runner/work/mcgill.courses/mcgill.courses/client/src/lib/searchIndex.ts:1:9
1: import { Index } from 'flexsearch';
            ^
2: import _ from 'lodash';
✓ built in 5.[21](https://github.com/terror/mcgill.courses/actions/runs/10017418575/job/27691578205?pr=594#step:6:22)s
error during build:
RollupError: "Index" is not exported by "node_modules/.pnpm/flexsearch@0.7.43/node_modules/flexsearch/dist/flexsearch.bundle.module.min.js", imported by "client/src/lib/searchIndex.ts".
@terror terror added the build label Jul 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant