Chrome extension hint.js & ngHintModules

后端 未结 6 797
梦谈多话
梦谈多话 2020-12-08 18:37

Our angular app sometime does not load on chrome canary (Version 41.0.2237.0 canary (64-bit)) saying

Failed to instantiate module ngHintModules due to

6条回答
  •  感动是毒
    2020-12-08 18:39

    This issue is opened on the Batarang Github here: https://github.com/angular/angularjs-batarang/issues/156

    You can load the prior version of Batarang from this zip file: https://github.com/angular/angularjs-batarang/archive/v0.4.3.zip

    1. Open More Tools->Extensions in Chrome
    2. Locate AngularJS Batarang and click on the trash can to remove the extension
    3. Download the .zip
    4. Extract the file
    5. Open More Tools->Extensions in Chrome
    6. Check Developer Mode at the top
    7. Click 'Load unpacked extension'
    8. Select the directory where you extracted the zip
    9. If you get an error about the manifest file, then you probably selected one directory level too high. Make sure that you select the bottom level angularjs-batarang-0.4.3 directory
    10. Load up an AngularJS page and use Batarang again with Inspector just like before

    This will restore the previous version which while having issues does have some mostly working features like Performance profiling, scope inspector, options, and a help tab which are gone from the latest version. The 0.7.1 version fixes the major breakage of apps, but it only provides the scope tree (no inspector) and the new angular-hint functionality.

提交回复
热议问题