Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

should have required property 'x-type' #88

Closed
erikvaningen opened this issue Apr 30, 2018 · 4 comments
Closed

should have required property 'x-type' #88

erikvaningen opened this issue Apr 30, 2018 · 4 comments
Assignees
Labels

Comments

@erikvaningen
Copy link

erikvaningen commented Apr 30, 2018

./update_card.sh
works fine and generates an updated card and the original.

The command
composer card import -f admin.card
goes wrong with this message:
Failed to import the business network card
message: should have required property 'x-type'

I am using:

  • composer --version v0.19.2
  • nvm --version 0.33.2
  • nodejs --version v8.11.1

What could be the cause of this problem?

@KeanuTomatoMomotaro
Copy link

Correct me if I'm wrong, but I think the scripts provided here would install a version 0.16.2 composer playground with fabric 1.0.3. A 0.16 card cannot be imported to a version 0.19 cli. If that is the case, try uninstalling the composer cli and reinstall the 0.16 version npm install -g composer-cli@0.16.6. And finally, try again.

@lesleyannjordan
Copy link
Collaborator

@erikvaningen please indicate the scripts or tutorial you are following and which version of fabric you are running on top of please.

@erikvaningen
Copy link
Author

My Playground is v0.16.2. I tried to uninstall composer-cli, it did not work well.

I believe the
https://ibm-blockchain.github.io/setup/
should indicate to install also the composer-cli v0.16.6 because now it would install the latest version ( v0.19.2).

For now I am giving up on this route and will follow
https://github.com/IBM/hyperledger-fabric-on-linux-one

But thanks for this clarification, now at least my problem is clear!

InflatibleYoshi added a commit to InflatibleYoshi/ibm-container-service that referenced this issue May 25, 2018
@sstone1
Copy link
Contributor

sstone1 commented Oct 8, 2018

Looks resolved; if not, Composer support has been removed anyway.

@sstone1 sstone1 closed this as completed Oct 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants