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

Warning "Cannot read property 'exports' of undefined" when running with type checking #66

Closed
Vinnl opened this issue Mar 19, 2017 · 4 comments
Labels

Comments

@Vinnl
Copy link

Vinnl commented Mar 19, 2017

When I enable typeCheck: true, in my tslint-loader configuration, Webpack suddenly outputs

Warning: Cannot read property 'exports' of undefined

I'm not running into this when I simply run tslint --project tsconfig.json --type-check.

Unfortunately, there's not much more info, but if there's any relevant debugging information I can gather, let me know.

@sonicoder86
Copy link
Collaborator

@Vinnl do you have any stacktrace?

@Vinnl
Copy link
Author

Vinnl commented May 2, 2017

@BlackSonic No, this was the only output. Do you happen to know if and how I can enable more verbose debug output?

@sonicoder86
Copy link
Collaborator

No idea, but can you make an example repository?

@Vinnl
Copy link
Author

Vinnl commented May 28, 2017

That's a bit too much work for me, especially given that I've no idea what specifically could've caused this and thus what would need to be in such a repo. If there's any way I can gather more information from my existing setup I'm willing to try, but otherwise I'm closing this.

(Unless @jdolle still wants to try, given that they've given this issue a +1.)

@Vinnl Vinnl closed this as completed May 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants