Skip to content

Conversation

@nabdelgadir
Copy link
Contributor

Resolves #3104.

Checklist

👉 Read and sign the CLA (Contributor License Agreement) 👈

  • npm test passes on your machine
  • New tests added or existing tests modified to cover all changes
  • Code conforms with the style guide
  • API Documentation in code was updated
  • Documentation in /docs/site was updated
  • Affected artifact templates in packages/cli were updated
  • Affected example projects in examples/* were updated

👉 Check out how to submit a PR 👈

@nabdelgadir
Copy link
Contributor Author

It works with loopback-boot@2.x but since it's EOL that's why I only mentioned loopback-boot@3.x.

@nabdelgadir nabdelgadir changed the title fix: mention required loopback-boot versions for mounting a lb3 app fix: mention required loopback-boot version for mounting a lb3 app Jun 12, 2019
debug('Loading LB3 app from', this.appPath);
const lb3App = require(this.appPath);

debug('Make sure loopback-boot@3.2.1 or higher is installed');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As a user seeing this message, I think I would be confused. If I am already using supported loopback-boot version, then why am I being told to use it?

Are you trying to offer advice for users that may observe that application never finishes to boot because they are using an old versions of loopback-boot? If that's the case, then I am proposing a slightly different message.

Suggested change
debug('Make sure loopback-boot@3.2.1 or higher is installed');
debug('If your LB3 app does not boot correctly then make sure it is using loopback-boot version 3.2.1 or higher.');

Thoughts?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I agree this is better. I'll make the change. 👍

@nabdelgadir nabdelgadir merged commit d76ad45 into master Jun 13, 2019
@delete-merged-branch delete-merged-branch bot deleted the loopback-boot-doc branch June 13, 2019 17:05
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

Successfully merging this pull request may close these issues.

docs should contain which versions of LB3 packages are required to mount into LB4

6 participants