Yarn build / npm build error after export

Followed this manual:
https://doc.babylonjs.com/resources/explaining_workflow#verify-basic-project-scaffold

after step 4.4.2 (I used yarn also), the project should build successfully. But I found many build errors, like:

1 declare module “babylonjs/types” {


node_modules/babylonjs/babylon.module.d.ts:1:1
  1 declare module "babylonjs/types" {
    ~~~~~~~
  Conflicts are in this file.

node_modules/babylonjs-editor/node_modules/babylonjs/babylon.module.d.ts:6644:9
- error TS2374: Duplicate string index signature.

6644         [name: string]: ICameraInput<TCamera>;
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

node_modules/babylonjs-editor/node_modules/babylonjs/babylon.module.d.ts:6648:9
- error TS2375: Duplicate number index signature.

6648         [idx: number]: ICameraInput<TCamera>;
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

node_modules/babylonjs-editor/node_modules/babylonjs/babylon.module.d.ts:7048:9
- error TS2416: Property 'isInFrustum' in type 'BoundingBox' is not assignable t
o the same property in base type 'ICullable'.
Type '(frustumPlanes: DeepImmutableObject<Plane>[]) => boolean' is not assigna
ble to type '{ (frustumPlanes: Plane[]): boolean; (frustumPlanes: Plane[]): bool
ean; }'.
  Types of parameters 'frustumPlanes' and 'frustumPlanes' are incompatible.
    Type 'Plane[]' is not assignable to type 'DeepImmutableObject<Plane>[]'.
      Type 'Plane' is not assignable to type 'DeepImmutableObject<Plane>'.
        Types of property 'normal' are incompatible.
          Type 'Vector3' is not assignable to type 'DeepImmutableObject<Vector
3>'.
            Types of property 'toArray' are incompatible.
              Type '(array: number[] | Float32Array, index?: number) => import
("babylonjs/Maths/math").Vector3' is not assignable to type '(array: number[] |
Float32Array, index?: number) => import("babylonjs/Maths/math.vector").Vector3'.
                Type 'import("babylonjs/Maths/math").Vector3' is not assignabl
e to type 'import("babylonjs/Maths/math.vector").Vector3'.

7048         isInFrustum(frustumPlanes: Array<DeepImmutable<Plane>>): boolean;
           ~~~~~~~~~~~

node_modules/babylonjs-editor/node_modules/babylonjs/babylon.module.d.ts:7054:9
- error TS2416: Property 'isCompletelyInFrustum' in type 'BoundingBox' is not as
signable to the same property in base type 'ICullable'.
Type '(frustumPlanes: DeepImmutableObject<Plane>[]) => boolean' is not assigna
ble to type '{ (frustumPlanes: Plane[]): boolean; (frustumPlanes: Plane[]): bool
ean; }'.
  Types of parameters 'frustumPlanes' and 'frustumPlanes' are incompatible.
    Type 'Plane[]' is not assignable to type 'DeepImmutableObject<Plane>[]'.

7054         isCompletelyInFrustum(frustumPlanes: Array<DeepImmutable<Plane>>):
boolean;
           ~~~~~~~~~~~~~~~~~~~~~
...
Found 261 errors.

npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! babylonjs-editor-generated-template@0.0.1 compile: `tsc -p .`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the babylonjs-editor-generated-template@0.0.1 compile script.
npm ERR! This is probably not a problem with npm. There is likely additional log
ging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\HanIT\AppData\Roaming\npm-cache\_logs\2019-11-19T03_20_15_
323Z-debug.log
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

My Environment:
1、Windows 10
2、Babylon.js Editor 3.1.3
3、node-v12.13.0-x64
4、yarn 1.19.1
5、default project and scene in Babylon.js Editor.

Pinging @julien-moreau who is the owner of the Editor

Hey @joeshro
Unfortunately it is a known bug and can be fixed by adding the « skipLibCheck »: true option in the tsconfig.
I’m releasing a fix ASAP available in the incoming version 3.2.0

@joeshro, releasing this evening, you’ll be notified the next time you open the editor :slight_smile:

Released :slight_smile: