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

KeyError in Webpack stats output #12

Closed
mercadocommerce-r303 opened this issue Jun 16, 2016 · 4 comments
Closed

KeyError in Webpack stats output #12

mercadocommerce-r303 opened this issue Jun 16, 2016 · 4 comments

Comments

@mercadocommerce-r303
Copy link

I'm using webpack v 1.13.1 transpiling TypeScript and have webpack-bundle-tracker 0.0.93 which outputs webpack-stats.json such as the following:

{"status":"error","message":"(3,21): error TS2503: Cannot find namespace 'moment'.","publicPath":"/website/js/"}

django-webpack-loader is looking for a key 'error' which isn't present in this output and therefore the page throws a Python KeyError.

@robinelvin
Copy link

Raised this as wrong user and can't delete.

@owais owais closed this as completed Jun 26, 2016
@owais
Copy link
Collaborator

owais commented Jun 26, 2016

@robinelvin re-open if this is still an issue.

@robinelvin
Copy link

@owais Yes, this is still an issue. When Typescript compilation has no errors it works fine but when there are errors the output is as described.

@owais
Copy link
Collaborator

owais commented Jan 8, 2020

Please re-open if this is still an issue in 1.0.0-alpha.0. PRs welcome.

@owais owais closed this as completed Jan 8, 2020
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

3 participants