Jump to content

Compiling bjs source


Recommended Posts

I'd like to do some PRs, but at the moment I'm unable to compile bjs source so I'm having a hard time testing my changes.


I cloned bjs locally via GitHub, I'm trying to compile the root folder in vscode using tsc:



> Executing task: tsc  -p "d:\GitHub\Babylon.js\src\tsconfig.json" <

Collisions/babylon.collisionWorker.ts(264,17): error TS2304: Cannot find name 'importScripts'.
Collisions/babylon.collisionWorker.ts(265,17): error TS2304: Cannot find name 'importScripts'.
Collisions/babylon.collisionWorker.ts(266,17): error TS2304: Cannot find name 'importScripts'.
The terminal process terminated with exit code: 1

Terminal will be reused by tasks, press any key to close it.



When commenting these problematic lines and trying to compile again I see this:



> Executing task: tsc  -p "d:\GitHub\Babylon.js\src\tsconfig.json" <

Terminal will be reused by tasks, press any key to close it.



No errors, but it seems like nothing is being compiled.

What am I missing?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...