Вопрос

I'm trying to build a project, but I keep getting compiler errors which say

Unable to resolve external module and Module cannot be aliased to a non-module type.

I have header file which contains all the typing reference path, but even when I try to reference the path in the same file, it still doesn't resolve the problem.

Это было полезно?

Решение

I ran into this error when I shouldn't have due to a bug with TypeScript 1.0.0, but was able to resolve it by upgrading to 1.0.1. Try doing that. If you still get the error, it's probably a bug in your code.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top