Composer-playground not working in firefox

2019-07-14 06:07发布

问题:

The composer playground web app doesn't work correctly in Firefox. It gives

Error: Object with ID 'undefined' in collection with ID 'chaincodes' does not exist

in Firefox, but it works perfectly in chrome. Any ideas?

回答1:

I've got the same problem locally, so the solution as suggested is to delete your cookies and browser storage. If you use this locally delete the cookies for localhost



回答2:

I was having this problem which I solved by using the following commands

  1. First stop the Fabrics and then composer by going to its development folder

    $cd fabric-dev-servers
    

    and then

    $ ./stopFabric.sh
    
    $ pkill composer-playground
    
  2. Remove the .composer folder

    $ rm -rf ~/.composer
    
  3. run the following command

    fabric-dev-servers/teardownFabric.sh

Afterwards re-run the ./startFabrics.sh and composer-playground commands, everything will work fine.