Unable to run with Typescript

Hey guys, Recently started using BabylonJS with Typescript but seems to have stuck with runtime errors related to exports keyword. I guess this is typescript issue with some dependacy missing though some people recommened me using “module”=“amd” though it throws “babylon module not found” compile time error.

Can you share more? Babylon.js is written in TS so it should just work :slight_smile:

how are you referencing BJS?

I downloded the package using npm and linked babylon.js in the index.html file.

(Here is the repo for the project GitHub - saurabhstc/view)

Seems to issue with tsconfig.json, fixed with the help of Typescript Gitter community!
“target”: “es2015”,
“module”: “system”,
“moduleResolution”: “node”