Uncaught ReferenceError: define is not defined typescript

Here your TypeScript has compiled happily, to code that will work in a requireJS environment (technically, an AMD environment). That means it generates output that assumes that define/require etc all already exist. The overall answer is that you need to include RequireJS before you depend on your compiled code. Notably the error suggests you’ve made … Read more