Skip to content
This repository was archived by the owner on Dec 1, 2019. It is now read-only.

"TypeError: Path must be a string" on nodejs 6 with no tsconfig #134

Closed
Heymdall opened this issue May 11, 2016 · 2 comments
Closed

"TypeError: Path must be a string" on nodejs 6 with no tsconfig #134

Heymdall opened this issue May 11, 2016 · 2 comments

Comments

@Heymdall
Copy link

For projects without tsconfig file awesome-typescript-loader is broken on nodejs 6. Seems like it trying to find correct outdir using config file path. But when there is no config path.dirname(undefined) will return '.' on node 5 and throw an error on node 6. It can be fixed by adding default value here

s-panferov added a commit that referenced this issue May 13, 2016
@s-panferov
Copy link
Owner

Fixed in v0.18.0, please try.

@Heymdall
Copy link
Author

Thanks, it's working!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants