-
Notifications
You must be signed in to change notification settings - Fork 93
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
Uncaught SyntaxError: Unexpected token p #6
Comments
@adjavaherian Can get your stats.json output and share that? (I can't execute your webpack config without the whole app, so I'm not sure what's going on). |
I was receiving a similar error, but was able to work around it by changing: |
@Dean177 Can you possibly share your stats.json output? |
Here is the html file output: stats.html.txt And webpacks stats.json: buildstats.json.txt The generated json does work if I drop it on: But the generated html file throws: (For some reason github doesn't allow upload of .json files, hence the .txt extension) |
Fix: remove unnecessary JSON parsing which caused issues with some stats.json files Fixes #6
Verified that this works now! Thanks. |
Any idea what might be causing this?
All I see in the chrome console is this when I load the stats.html
Uncaught SyntaxError: Unexpected token p(anonymous function) @ stats.html:165
Output looks pretty normal, but I do have a very complex config.
The text was updated successfully, but these errors were encountered: