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

Unexpected token: ILLEGAL #49

Open
gimre opened this issue Feb 11, 2016 · 2 comments
Open

Unexpected token: ILLEGAL #49

gimre opened this issue Feb 11, 2016 · 2 comments

Comments

@gimre
Copy link

gimre commented Feb 11, 2016

Does anyone else get this error, in-browser, from the report generated with disc?

Uncaught SyntaxError: Unexpected token ILLEGAL | dist.html:19
@RamIdeas
Copy link

Yes. Just using this for the first time.

There seem to be loads of random characters in the javascript.

The first one Chrome barfs over is ¤ 😕

I'm on Windows 10 x64, using Node v4.2.4

@ghost
Copy link

ghost commented Dec 13, 2017

don't try to open the disc.html file directly => the "invalid character" error will occur

best is to add an "-O" at the end of the statement (discify bundle.js > disc.html -O), then you'll see the html will get served by a little webserver (localhost:12999) and everything will work (npm-version 1.6.0) :)

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

2 participants