I’d appreciate for your kindly support.
I tried to develop BJS environment locally on my MacBook Pro according to the post : Start Contributing to Babylon.js - Babylon.js Documentation
But I got the following error.
[21:14:59] Starting 'buildMin'... ℹ ｢atl｣: Using firstname.lastname@example.org from typescript ℹ ｢atl｣: Using tsconfig.json from /Users/<folder>/Babylon/loaders/tsconfig.json ℹ ｢atl｣: Checking started in a separate process... ✖ ｢atl｣: Checking finished with 2 errors [21:15:05] 'buildMin' errored after 5.33 s [21:15:05] Error in plugin "webpack-stream" Message: [at-loader] ../../loaders/src/glTF/1.0/glTFLoader.ts:703:18 TS2352: Conversion of type 'Int32Array' to type 'Float32Array' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. Types of property '[Symbol.toStringTag]' are incompatible. Type '"Int32Array"' is not comparable to type '"Float32Array"'. [at-loader] ../../loaders/src/OBJ/objFileLoader.ts:1092:13 TS2322: Type 'FloatArray' is not assignable to type 'Nullable<IndicesArray>'. Type 'Float32Array' is not assignable to type 'Nullable<IndicesArray>'. Type 'Float32Array' is not assignable to type 'Uint16Array'. Types of property '[Symbol.toStringTag]' are incompatible. Type '"Float32Array"' is not assignable to type '"Uint16Array"'. Details: domainEmitter: [object Object] domain: [object Object] domainThrown: false [21:15:05] 'loaders' errored after 5.34 s [21:15:05] 'typescript-libraries' errored after 1.77 min [21:15:05] 'typescript-all' errored after 1.77 min [21:15:05] 'default' errored after 2.2 min
What should I do for build?
My operation is the following:
$ cd <to Babylon/Tools/Gulp> $ npm install -g npm@latest $ npm install -g typescript $ npm install -g email@example.com $ npm install $ npm run build
$ node -v v11.1.0 $ npm -v 6.8.0 $ gulp -v CLI version 2.0.1 Local version 4.0.0
Any help will be useful for me.