0

I'm trying to use Asciidoctor.js Live Preview on Google Chrome, but isntead of my doc i see

Error
TypeError : Cannot read property 'join' of null

It also raises an JS error:

Denying load of chrome-extension://iaalpfgpbocpdfblpnhhgllgbdbchmia/js/jquery-2.0.3.min.map. 
Resources must be listed in the web_accessible_resources manifest key in order to be loaded by pages outside the extension.

Probably i need to add sth to manifest.js file, but I have no idea what.

I cannot figure out how to fix this issue. Any advice would be appreciated.

johnatann
  • 145
  • 11

1 Answers1

0

There's an open issue on Github for this: https://github.com/asciidoctor/asciidoctor-chrome-extension/issues/32

Are you using Windows 8.1 ?

The two JS errors are not related:

Denying load of chrome-extension://iaalpfgpbocpdfblpnhhgllgbdbchmia/js/jquery-2.0.3.min.map. 

See jQuery's jquery-1.10.2.min.map is triggering a 404 (Not Found)

Resources must be listed in the web_accessible_resources manifest key in order to be loaded by pages outside the extension.

The second one is just the consequence of the first one because jquery-2.0.3.min.map is not declared in the manifest.

Community
  • 1
  • 1
Mogztter
  • 421
  • 3
  • 3
  • Yes, i have this problem on Windows 8.1. Is it true that theese two JS errors are irrevelant to my problem? – johnatann May 13 '14 at 10:29
  • This issue is now solved. If you are using version 1.5.5.110 (or greater) of the Chrome extension, it should work fine. – Mogztter Nov 12 '17 at 17:39