- 
                Notifications
    
You must be signed in to change notification settings  - Fork 66
 
Description
I have git cloned this and ran npm install , npm install @labelbee/lb-annotation
npm install @labelbee/lb-components but receiving error when running npm start
error: > [email protected] start
lerna run build:type && lerna run --parallel --stream start
lerna notice cli v4.0.0
lerna info versioning independent
lerna info Executing command in 3 packages: "npm run build:type"
lerna info run Ran npm script 'build:type' in '@labelbee/lb-utils' in 1.1s:
@labelbee/[email protected] build:type
tsc --emitDeclarationOnly --resolveJsonModule
lerna ERR! npm run build:type exited 2 in '@labelbee/lb-annotation'
lerna ERR! npm run build:type stdout:
@labelbee/[email protected] build:type
tsc --emitDeclarationOnly
src/core/pointCloud/index.ts(8,24): error TS7016: Could not find a declaration file for module 'three'. '/home/sadaf/Downloads/labelbee--labelbee-lb-components-1.24.0-alpha.39/node_modules/three/build/three.cjs' implicitly has an 'any' type.
Try npm i --save-dev @types/three if it exists or add a new declaration (.d.ts) file containing declare module 'three';
src/core/pointCloud/index.ts(24,72): error TS7016: Could not find a declaration file for module 'three'. '/home/sadaf/Downloads/labelbee--labelbee-lb-components-1.24.0-alpha.39/node_modules/three/build/three.cjs' implicitly has an 'any' type.
Try npm i --save-dev @types/three if it exists or add a new declaration (.d.ts) file containing declare module 'three';
src/core/pointCloud/index.ts(237,19): error TS2339: Property 'addEventListener' does not exist on type 'OrbitControls'.
src/core/pointCloud/index.ts(237,51): error TS7006: Parameter 'event' implicitly has an 'any' type.
src/core/pointCloud/index.ts(246,36): error TS7006: Parameter 'child' implicitly has an 'any' type.
src/core/pointCloud/index.ts(248,33): error TS7006: Parameter 'grandson' implicitly has an 'any' type.
src/core/pointCloud/index.ts(260,40): error TS7006: Parameter 'child' implicitly has an 'any' type.
src/core/pointCloud/index.ts(273,34): error TS7006: Parameter 'child' implicitly has an 'any' type.
src/core/pointCloud/index.ts(276,31): error TS7006: Parameter 'grandson' implicitly has an 'any' type.
src/core/pointCloud/index.ts(297,19): error TS2339: Property 'addEventListener' does not exist on type 'OrbitControls'.
src/core/pointCloud/index.ts(298,19): error TS2339: Property 'addEventListener' does not exist on type 'OrbitControls'.
src/core/pointCloud/index.ts(299,19): error TS2339: Property 'addEventListener' does not exist on type 'OrbitControls'.
src/core/pointCloud/index.ts(503,14): error TS2339: Property 'addEventListener' does not exist on type 'OrbitControls'.
src/core/pointCloud/index.ts(513,14): error TS2339: Property 'addEventListener' does not exist on type 'OrbitControls'.
src/core/pointCloud/index.ts(1410,34): error TS7006: Parameter 'v' implicitly has an 'any' type.
src/core/pointCloud/index.ts(1412,29): error TS7006: Parameter 'object' implicitly has an 'any' type.
src/core/pointCloud/index.ts(1660,46): error TS7006: Parameter 'i' implicitly has an 'any' type.
src/core/pointCloud/index.ts(2135,64): error TS7006: Parameter 'i' implicitly has an 'any' type.
src/core/pointCloud/matrix.ts(5,24): error TS7016: Could not find a declaration file for module 'three'. '/home/sadaf/Downloads/labelbee--labelbee-lb-components-1.24.0-alpha.39/node_modules/three/build/three.cjs' implicitly has an 'any' type.
Try npm i --save-dev @types/three if it exists or add a new declaration (.d.ts) file containing declare module 'three';
src/core/pointCloud/render/index.ts(6,24): error TS7016: Could not find a declaration file for module 'three'. '/home/sadaf/Downloads/labelbee--labelbee-lb-components-1.24.0-alpha.39/node_modules/three/build/three.cjs' implicitly has an 'any' type.
Try npm i --save-dev @types/three if it exists or add a new declaration (.d.ts) file containing declare module 'three';
src/core/pointCloud/store/index.ts(7,24): error TS7016: Could not find a declaration file for module 'three'. '/home/sadaf/Downloads/labelbee--labelbee-lb-components-1.24.0-alpha.39/node_modules/three/build/three.cjs' implicitly has an 'any' type.
Try npm i --save-dev @types/three if it exists or add a new declaration (.d.ts) file containing declare module 'three';
src/core/pointCloud/store/index.ts(160,8): error TS7006: Parameter 'v' implicitly has an 'any' type.
src/core/toolOperation/LineToolOperation.ts(7,15): error TS7016: Could not find a declaration file for module 'lodash'. '/home/sadaf/Downloads/labelbee--labelbee-lb-components-1.24.0-alpha.39/node_modules/lodash/lodash.js' implicitly has an 'any' type.
Try npm i --save-dev @types/lodash if it exists or add a new declaration (.d.ts) file containing declare module 'lodash';
src/core/toolOperation/LineToolOperation.ts(76,20): error TS7006: Parameter 'line' implicitly has an 'any' type.
src/core/toolOperation/LineToolOperation.ts(78,46): error TS7006: Parameter 'point' implicitly has an 'any' type.
src/core/toolOperation/LineToolOperation.ts(851,16): error TS7031: Binding element 'pointList' implicitly has an 'any' type.
src/core/toolOperation/LineToolOperation.ts(878,19): error TS7031: Binding element 'pointList' implicitly has an 'any' type.
src/core/toolOperation/LineToolOperation.ts(878,30): error TS7031: Binding element 'id' implicitly has an 'any' type.
src/core/toolOperation/Selection.ts(7,15): error TS7016: Could not find a declaration file for module 'lodash'. '/home/sadaf/Downloads/labelbee--labelbee-lb-components-1.24.0-alpha.39/node_modules/lodash/lodash.js' implicitly has an 'any' type.
Try npm i --save-dev @types/lodash if it exists or add a new declaration (.d.ts) file containing declare module 'lodash';
src/core/toolOperation/ViewOperation.ts(19,15): error TS7016: Could not find a declaration file for module 'lodash'. '/home/sadaf/Downloads/labelbee--labelbee-lb-components-1.24.0-alpha.39/node_modules/lodash/lodash.js' implicitly has an 'any' type.
Try npm i --save-dev @types/lodash if it exists or add a new declaration (.d.ts) file containing declare module 'lodash';
src/core/toolOperation/ViewOperation.ts(461,31): error TS7006: Parameter 'annotationList' implicitly has an 'any' type.
src/core/toolOperation/ViewOperation.ts(462,47): error TS7006: Parameter 'item' implicitly has an 'any' type.
src/core/toolOperation/basicToolOperation.ts(2,26): error TS7016: Could not find a declaration file for module 'lodash'. '/home/sadaf/Downloads/labelbee--labelbee-lb-components-1.24.0-alpha.39/node_modules/lodash/lodash.js' implicitly has an 'any' type.
Try npm i --save-dev @types/lodash if it exists or add a new declaration (.d.ts) file containing declare module 'lodash';
src/core/toolOperation/checkOperation.ts(5,27): error TS7016: Could not find a declaration file for module 'lodash'. '/home/sadaf/Downloads/labelbee--labelbee-lb-components-1.24.0-alpha.39/node_modules/lodash/lodash.js' implicitly has an 'any' type.
Try npm i --save-dev @types/lodash if it exists or add a new declaration (.d.ts) file containing declare module 'lodash';
src/core/toolOperation/pointCloud2dOperation.ts(8,29): error TS7016: Could not find a declaration file for module 'lodash'. '/home/sadaf/Downloads/labelbee--labelbee-lb-components-1.24.0-alpha.39/node_modules/lodash/lodash.js' implicitly has an 'any' type.
Try npm i --save-dev @types/lodash if it exists or add a new declaration (.d.ts) file containing declare module 'lodash';
src/core/toolOperation/pointCloud2dOperation.ts(257,43): error TS18048: 'polygon.trackID' is possibly 'undefined'.
src/core/toolOperation/pointCloud2dOperation.ts(296,51): error TS18048: 'selectedPolygon.trackID' is possibly 'undefined'.
src/core/toolOperation/pointOperation.ts(1,15): error TS7016: Could not find a declaration file for module 'lodash'. '/home/sadaf/Downloads/labelbee--labelbee-lb-components-1.24.0-alpha.39/node_modules/lodash/lodash.js' implicitly has an 'any' type.
Try npm i --save-dev @types/lodash if it exists or add a new declaration (.d.ts) file containing declare module 'lodash';
src/core/toolOperation/polygonOperation.ts(1,15): error TS7016: Could not find a declaration file for module 'lodash'. '/home/sadaf/Downloads/labelbee--labelbee-lb-components-1.24.0-alpha.39/node_modules/lodash/lodash.js' implicitly has an 'any' type.
Try npm i --save-dev @types/lodash if it exists or add a new declaration (.d.ts) file containing declare module 'lodash';
src/core/toolOperation/rectOperation.ts(1,15): error TS7016: Could not find a declaration file for module 'lodash'. '/home/sadaf/Downloads/labelbee--labelbee-lb-components-1.24.0-alpha.39/node_modules/lodash/lodash.js' implicitly has an 'any' type.
Try npm i --save-dev @types/lodash if it exists or add a new declaration (.d.ts) file containing declare module 'lodash';
src/core/toolOperation/rectOperation.ts(580,51): error TS7006: Parameter 'i' implicitly has an 'any' type.
src/core/toolOperation/textAttributeClass.ts(1,25): error TS7016: Could not find a declaration file for module 'lodash'. '/home/sadaf/Downloads/labelbee--labelbee-lb-components-1.24.0-alpha.39/node_modules/lodash/lodash.js' implicitly has an 'any' type.
Try npm i --save-dev @types/lodash if it exists or add a new declaration (.d.ts) file containing declare module 'lodash';
src/utils/ActionsHistory.ts(1,15): error TS7016: Could not find a declaration file for module 'lodash'. '/home/sadaf/Downloads/labelbee--labelbee-lb-components-1.24.0-alpha.39/node_modules/lodash/lodash.js' implicitly has an 'any' type.
Try npm i --save-dev @types/lodash if it exists or add a new declaration (.d.ts) file containing declare module 'lodash';
src/utils/tool/AttributeUtils.ts(1,26): error TS7016: Could not find a declaration file for module 'lodash'. '/home/sadaf/Downloads/labelbee--labelbee-lb-components-1.24.0-alpha.39/node_modules/lodash/lodash.js' implicitly has an 'any' type.
Try npm i --save-dev @types/lodash if it exists or add a new declaration (.d.ts) file containing declare module 'lodash';
src/utils/tool/CommonToolUtils.ts(1,26): error TS7016: Could not find a declaration file for module 'lodash'. '/home/sadaf/Downloads/labelbee--labelbee-lb-components-1.24.0-alpha.39/node_modules/lodash/lodash.js' implicitly has an 'any' type.
Try npm i --save-dev @types/lodash if it exists or add a new declaration (.d.ts) file containing declare module 'lodash';
src/utils/tool/CuboidUtils.ts(1,27): error TS7016: Could not find a declaration file for module 'lodash'. '/home/sadaf/Downloads/labelbee--labelbee-lb-components-1.24.0-alpha.39/node_modules/lodash/lodash.js' implicitly has an 'any' type.
Try npm i --save-dev @types/lodash if it exists or add a new declaration (.d.ts) file containing declare module 'lodash';
src/utils/tool/MarkerUtils.ts(1,27): error TS7016: Could not find a declaration file for module 'lodash'. '/home/sadaf/Downloads/labelbee--labelbee-lb-components-1.24.0-alpha.39/node_modules/lodash/lodash.js' implicitly has an 'any' type.
Try npm i --save-dev @types/lodash if it exists or add a new declaration (.d.ts) file containing declare module 'lodash';
src/utils/tool/MarkerUtils.ts(37,36): error TS7006: Parameter 'element' implicitly has an 'any' type.
src/utils/tool/MarkerUtils.ts(38,50): error TS7006: Parameter 'i' implicitly has an 'any' type.
src/utils/tool/polygonTool.ts(136,21): error TS2550: Property 'flatMap' does not exist on type 'IPolygonPoint[]'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2019' or later.
src/utils/tool/polygonTool.ts(136,30): error TS7006: Parameter 'point' implicitly has an 'any' type.
lerna ERR! npm run build:type exited 2 in '@labelbee/lb-annotation'.
Can you help me to make this up and running in my system.
node version - v22.14.0