Skip to content

loopback-connector not installed when creating lb app #487

@dhmlau

Description

@dhmlau

Description/Steps to reproduce

When using lb cmd to create a lb3 app, there is a warning saying the loopback-connector is not installed.

npm WARN loopback-datasource-juggler@3.5.5 requires a peer of loopback-connector@^4.0.0 but none was installed.

To reproduce:

? What's the name of your application? diana-test
? Enter name of the directory to contain the project: diana-test
   create diana-test/
     info change the working directory to diana-test

? Which version of LoopBack would you like to use? 3.x (current)
? What kind of application do you have in mind? hello-world (A project containing a controller, including a single vanilla Message and
 a single remote method)

I'm using master (http://apiconnect01.rchland.ibm.com:4873) as sl-registry. Problem doesn't exists if I use default (https://registry.npmjs.org/).
If I remember correctly, this problem only appears today (April 19).

Expected result

  • No warning message after creating a lb app
  • loopback-connector@4 is installed

This is true if I'm using https://registry.npmjs.org/

cc @loay

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions