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

not compatible with loopback-boot@3 #272

Open
ernie58 opened this issue Jul 11, 2017 · 2 comments
Open

not compatible with loopback-boot@3 #272

ernie58 opened this issue Jul 11, 2017 · 2 comments

Comments

@ernie58
Copy link

ernie58 commented Jul 11, 2017

Description/Steps to reproduce

Install a LB 3 application with loopback boot 3.
Add a lot of models and boot scripts
run lb-ng server/server.js client/js/services/lb-services.js

Expected result

A client side representation of all the models in lb-services.js

Actual result is an lb-services.js file without any model

Additional information

I'm guessing it has something to do with loopback-boot3 booting async, and the sdk not waiting for the configs and models till their fully parsed?

@fmtoffolo
Copy link

Were you able to get it to work? I'm having a similar problem.

@bajtos
Copy link
Member

bajtos commented Dec 15, 2017

Hello, thank you for reporting the issue. Is it possible that loopback-boot@3 is not setting booting property and emitting booted event? Here is the code responsible for loading the app from a file and running the generator:

https://github.com/strongloop/loopback-sdk-angular-cli/blob/4360183c7541336608315e38f054451f1c104960/bin/lb-ng.js#L36-L44

I am afraid I don't have time to investigate this myself, but I am happy to help you if you decide to contribute a fix for this issue yourself.

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

No branches or pull requests

3 participants