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

Error building template #12

Closed
deoliveiraedu opened this issue Jul 17, 2024 · 1 comment
Closed

Error building template #12

deoliveiraedu opened this issue Jul 17, 2024 · 1 comment

Comments

@deoliveiraedu
Copy link

Hello guys,

After the last updates the template run as dev but doesn't build, with the following errors.

Thanks,

npm run build

> bim-app@0.0.0 build
> tsc && vite build

src/components/Panels/Sections/Groupings.ts:48:5 - error TS2739: Type 'FragmentIdMap' is missing the following properties from type '{ map: FragmentIdMap; name: string; id: number | null; }': map, name, id

48     classifier.list.CustomSelections[groupNameInput.value] =
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

src/components/Tables/CustomSelections.ts:32:51 - error TS2345: Argument of type '{ map: FragmentIdMap; name: string; id: number | null; }' is not assignable to parameter of type 'FragmentIdMap'.
  Property 'map' is incompatible with index signature.
    Type 'FragmentIdMap' is missing the following properties from type 'Set<number>': add, clear, delete, forEach, and 7 more.

32             fragmentIdMap: serializeFragmentIdMap(fragmentIdMap),
                                                     ~~~~~~~~~~~~~


Found 2 errors in 2 files.

Errors  Files
     1  src/components/Panels/Sections/Groupings.ts:48
     1  src/components/Tables/CustomSelections.ts:32
@HoyosJuan
Copy link
Member

Hey @deoliveiraedu! This has been already solved in version 2.1.3. Another npm create bim-app@latest will get you the fixed version. Closing this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants