On bundle exec rake assets:precompile, this error occurs:
ExecJS::ProgramError: Unexpected token: operator (<) (line: 1, col: 0, pos: 0)
As per https://github.com/galetahub/ckeditor/issues/551, the problem is that the JS parser is not able to parse HTML snippet. So the solution is to remove the HTML tags, and rename the files from .html to .js
Error details:
On
bundle exec rake assets:precompile
, this error occurs:ExecJS::ProgramError: Unexpected token: operator (<) (line: 1, col: 0, pos: 0)
As per https://github.com/galetahub/ckeditor/issues/551, the problem is that the JS parser is not able to parse HTML snippet. So the solution is to remove the HTML tags, and rename the files from .html to .js