You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I try to build vue3-openlayers. I use vscode. But it has some errors as follow:
after execute "npm install" and "npm run build":
**src/components/animations/index.ts:25:16 - error TS2664: Invalid module name in augmentation, module '@vue/runtime-core' cannot be found.
...**
after "npm install @vue/runtime-core -D" and "npm run build":
**src/components/interaction/OlInteractionClusterselect.vue:35:7 - error TS2322: Type 'StyleFunction | { clone: () => Style; getRenderer: () => RenderFunction | null; setRenderer: (renderer: RenderFunction | null) => void; ... 14
more ...; setZIndex: (zIndex: number | undefined) => void; } | { ...; }[] | null | undefined' is not assignable to type 'StyleLike | null | undefined'.
Type '{ clone: () => Style; getRenderer: () => RenderFunction | null; setRenderer: (renderer: RenderFunction | null) => void; setHitDetectionRenderer: (renderer: RenderFunction | null) => void; ... 13 more ...; setZIndex: (zIndex: number | undefined) => void; }' is not assignable to type 'StyleLike | null | undefined'.
Type '{ clone: () => Style; getRenderer: () => RenderFunction | null; setRenderer: (renderer: RenderFunction | null) => void; setHitDetectionRenderer: (renderer: RenderFunction | null) => void; ... 13 more ...; setZIndex: (zIndex: number | undefined) => void; }' is missing the following properties from type 'Style': geometry_, geometryFunction_, fill_, image_, and 5 more.
...**
nned u help! Thanks!
Beta Was this translation helpful? Give feedback.
All reactions