Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests failing showing error TS5009: Cannot find the common subdirectory path for the input files. #807

Closed
Ashniu123 opened this issue Sep 23, 2018 · 7 comments

Comments

@Ashniu123
Copy link
Contributor

Ashniu123 commented Sep 23, 2018

I ran into this error when running python .\tools\test.py

E:\Workspace\Github\deno\out\debug\deno.exe E:\Workspace\Github\deno\tests\003_relative_import.ts --reload
E:\Workspace\Github\deno\out\debug\deno.exe E:\Workspace\Github\deno\tests\004_set_timeout.ts --reload
E:\Workspace\Github\deno\out\debug\deno.exe E:\Workspace\Github\deno\tests\005_more_imports.ts --reload
E:\Workspace\Github\deno\out\debug\deno.exe E:\Workspace\Github\deno\tests\006_url_imports.ts --reload
127.0.0.1 - - [23/Sep/2018 20:32:26] "GET /tests/subdir/mod2.ts HTTP/1.1" 200 -
127.0.0.1 - - [23/Sep/2018 20:32:27] "GET /tests/subdir/print_hello.ts HTTP/1.1" 200 -
Expected success but got error. Output:
Downloading http://localhost:4545/tests/subdir/mod2.ts
Downloading http://localhost:4545/tests/subdir/print_hello.ts
error TS5009: Cannot find the common subdirectory path for the input files.

OS: Windows 10 x64
Node version: v8.12.0
NPM version: v6.4.1

How to solve this issue?

P.S. Similar issue was faced here and here not sure if both are relevent but I can't figure it out still.

@hlege
Copy link

hlege commented Sep 26, 2018

It is because deno try to compile the typescript sources that are located in two different partition (c:\~\.deno\.., e:\... )

My solution right now is:
put your test file somewhere to c: partition.

@Ashniu123
Copy link
Contributor Author

Thanks a bunch. I think collaborators should find a way around this, because it could be a very common issue soon.

@hstarorg
Copy link

Evevyone, would you tell me when will release this feature? It's very important for get IDE intellisense.

@kitsonk
Copy link
Contributor

kitsonk commented Jan 10, 2019

This is a duplicate of #1383 (which is still open @hstarorg)

@hstarorg
Copy link

@kitsonk Very thanks. So I can tracking the status.

@HairyRabbit
Copy link

Any update here? looks like still not work.

deno: 0.3.4
v8: 7.4.238
typescript: 3.3.3333
os: Windows 10 x64

use with different partition and set DENO_DIR also not work.

@ry ry reopened this Mar 25, 2019
@ry
Copy link
Member

ry commented Mar 25, 2019

See #1383

@ry ry closed this as completed Mar 25, 2019
hardfist pushed a commit to hardfist/deno that referenced this issue Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants