PostList

2018년 8월 5일 일요일

Error: Can't find end of central directory : is this a zip file ? If it is, see http://stuk.github.io/jszip/documentation/howto/read_zip.html

Problem:

Error: Can't find end of central directory : is this a zip file ? If it is, see http://stuk.github.io/jszip/documentation/howto/read_zip.html


Solution:
1. Go to .composer/cards  directory. In my case (MacOS) /Users/haanmo/.composer/cards.
2. Delete all hiddle files in the folder..
   e.g.,
   rm .DS_Store

this is a bug with the underlying NodeJS readdir function, its list everything in the folder even the hidden files.in your case just go to the ./compser/cards folder in your home directory and delete the hidden files in that folder

Ref:
https://stackoverflow.com/questions/50084707/about-hyperledger-fabric-composer-error-when-execute-cmd-composer-card-list

댓글 없음:

댓글 쓰기