문제

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