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

why it failed? #2

Open
ywandy opened this issue Jul 20, 2018 · 0 comments
Open

why it failed? #2

ywandy opened this issue Jul 20, 2018 · 0 comments

Comments

@ywandy
Copy link

ywandy commented Jul 20, 2018

yewei @ yeweivps1 in ~/code/composer-proj/xinou-app [7:42:07] C:130

$ composer-rest-server -c admin@collectable-penguin-network -p 3001 -m
Discovering types from business network definition ...
Discovered types from business network definition
Generating schemas for all types in business network definition ...
Registering named query: availablePenguins
Registering named query: myPenguins
Generated schemas for all types in business network definition
Adding schemas for all types to Loopback ...
Swagger: skipping unknown type "org.collectable.penguin.Penguin".
Swagger: skipping unknown type "org.collectable.penguin.Penguin".
Swagger: skipping unknown type "org.collectable.penguin.Penguin".
Swagger: skipping unknown type "org.collectable.penguin.Penguin".
Swagger: skipping unknown type "org.collectable.penguin.Penguin".
Swagger: skipping unknown type "org.collectable.penguin.Penguin".
Swagger: skipping unknown type "org.collectable.penguin.Penguin".
Swagger: skipping unknown type "org.collectable.penguin.Penguin".
Added schemas for all types to Loopback
SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at Promise.then (/home/yewei/.nvm/versions/node/v8.11.3/lib/node_modules/composer-rest-server/server/server.js:141:34)
at
at process._tickCallback (internal/process/next_tick.js:188:7)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant