I have created root folder as "TypescriptProgramming" in which my tsconfig.json resides. There is another folder called "chapter1" containing another folder named "minfunction". The minfunction folder contains "minfunction.ts". I'm working with typescript version 1.8.10 and nodejs version 6.5.0 on Ubuntu 16.04.
我创建了根文件夹作为我的tsconfig.json所在的“TypescriptProgramming”。另一个名为“chapter1”的文件夹包含另一个名为“minfunction”的文件夹。 minfunction文件夹包含“minfunction.ts”。我在Ubuntu 16.04上使用的是typescript版本1.8.10和nodejs版本6.5.0。
The project structure is as below(tsconfig is outside chapter1 folder):
项目结构如下(tsconfig在chapter1文件夹之外):
When I'm compiling project, it's giving me error error TS6053: "chapter1/minfunction/minfunction.ts" not found. Can anyone please let me know where I am going wrong? And what I am missing?
当我正在编译项目时,它给出了错误错误TS6053:找不到“chapter1 / minfunction / minfunction.ts”。谁能告诉我哪里出错了?而我错过了什么?
1 个解决方案
#1
0
The operating system you are using has a case-sensitive file system and the case in your file/directory names is not consistent: MinFunction
is spelled Minfunction
in the tsconfig.json
.
您使用的操作系统具有区分大小写的文件系统,并且文件/目录名称中的大小写不一致:MinFunction拼写为tsconfig.json中的Minfunction。
#1
0
The operating system you are using has a case-sensitive file system and the case in your file/directory names is not consistent: MinFunction
is spelled Minfunction
in the tsconfig.json
.
您使用的操作系统具有区分大小写的文件系统,并且文件/目录名称中的大小写不一致:MinFunction拼写为tsconfig.json中的Minfunction。