Brotli compiled Page does not work #197

Closed
opened 2026-01-29 20:39:41 +00:00 by claunia · 1 comment
Owner

Originally created by @jogibear9988 on GitHub (Sep 24, 2017).

I'm having a webpacke wich is created viaia the polymer-cli tool. The Page works fine if I use the result HTML uncompressed or via gzip. But when I use Brotli, I got the following error in Chrome Console:

Uncaught SyntaxError: Invalid regular expression: /:((?:\\.|[\w-]|[^�-\xa0])+)(?:\((('((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)")|((?:\\.|[^\\()[\]]|\[[\x20\t\r\n\f]*((?:\\.|[\w-]|[^�-\xa0])+)(?:[\x20\t\r\n\f]*([*^$|!~]?=)[\x20\t\r\n\f]*(?:'((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)"|((?:\\.|[\w-]|[^�-\xa0])+))|)[\x20\t\r\n\f]*\])*)|.*)\)|)/: Range out of order in character class
at 127.0.0.1/:33
at 127.0.0.1/:33
at 127.0.0.1/:33
at 127.0.0.1/:33

Uncaught ReferenceError: jQuery is not defined
at 127.0.0.1/:33
at 127.0.0.1/:33

127.0.0.1/:33 Uncaught Error: Bootstrap's JavaScript requires jQuery
at 127.0.0.1/:33

127.0.0.1/:33 Uncaught TypeError: Cannot read property 'fn' of undefined
at 127.0.0.1/:33
at 127.0.0.1/:33
at 127.0.0.1/:33

127.0.0.1/:597 Uncaught ReferenceError: jQuery is not defined
at 127.0.0.1/:597
Originally created by @jogibear9988 on GitHub (Sep 24, 2017). I'm having a webpacke wich is created viaia the polymer-cli tool. The Page works fine if I use the result HTML uncompressed or via gzip. But when I use Brotli, I got the following error in Chrome Console: Uncaught SyntaxError: Invalid regular expression: /:((?:\\.|[\w-]|[^�-\xa0])+)(?:\((('((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)")|((?:\\.|[^\\()[\]]|\[[\x20\t\r\n\f]*((?:\\.|[\w-]|[^�-\xa0])+)(?:[\x20\t\r\n\f]*([*^$|!~]?=)[\x20\t\r\n\f]*(?:'((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)"|((?:\\.|[\w-]|[^�-\xa0])+))|)[\x20\t\r\n\f]*\])*)|.*)\)|)/: Range out of order in character class at 127.0.0.1/:33 at 127.0.0.1/:33 at 127.0.0.1/:33 at 127.0.0.1/:33 Uncaught ReferenceError: jQuery is not defined at 127.0.0.1/:33 at 127.0.0.1/:33 127.0.0.1/:33 Uncaught Error: Bootstrap's JavaScript requires jQuery at 127.0.0.1/:33 127.0.0.1/:33 Uncaught TypeError: Cannot read property 'fn' of undefined at 127.0.0.1/:33 at 127.0.0.1/:33 at 127.0.0.1/:33 127.0.0.1/:597 Uncaught ReferenceError: jQuery is not defined at 127.0.0.1/:597
Author
Owner

@jogibear9988 commented on GitHub (Sep 24, 2017):

Was my fault. Also the source file has the error

@jogibear9988 commented on GitHub (Sep 24, 2017): Was my fault. Also the source file has the error
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#197