Inconsistent behavior between adonis/cli and npm


#1

Hello, I noticed that there is a discrepancy in the structure of my node_modules directory between npm install and adonis install. For example:

1:
npm install @adonisjs/vow

vs.

2:
adonis install @adonisjs/vow

In the first case I end up with 10 or so modules in my node_modules directory. In the second case I end up with closer to 80.

So I suppose my question is, what exactly is the adonis install command doing that npm install is not?


#2

@adonis install just runs npm install under the hood. The only extra thing it does it run the instructions file for the installed addon.


#3

Thanks for the response. Seems that there was some inconsistent behavior in our build process.