Loopback-next: CLI packages not upgraded

Created on 23 Apr 2020  ยท  2Comments  ยท  Source: strongloop/loopback-next

I am getting below warning message when creating the model.

lb4 model
The project was originally generated by @loopback/cli@<unknown>.
The following dependencies are incompatible with @loopback/[email protected]:
- @types/node: ^13.13.2 (cli ^10.17.21)
? How do you want to proceed? (Use arrow keys)
โฏ Abort now 
  Upgrade project dependencies 
  Skip upgrading project dependencies
bug

Most helpful comment

We still use @types/node: ^10.17.21 for maximum compatibility with Node 10.x. Feel free to upgrade the project dependency as prompted. It's a one-time thing since you use a newer version CLI.

All 2 comments

Hi @rahulrkr08
Try editing package.json and set @types/node: ^10.17.21. There may have been a release that changed the version to ^13 in error.

We still use @types/node: ^10.17.21 for maximum compatibility with Node 10.x. Feel free to upgrade the project dependency as prompted. It's a one-time thing since you use a newer version CLI.

Was this page helpful?
0 / 5 - 0 ratings