Note that there are some explanatory texts on larger screens.

plurals
  1. POnpm is installing dependencies in a weird recursive way
    primarykey
    data
    text
    <p>I used <code>npm install --dev</code> to install the dependencies listed in a <code>package.json</code> file and it seems that rather than installing all the packages in a flat structure, it is installing the dependencies of each module inside the module's directory.</p> <p>I had to cancel it because it was taking a lot, because many dependencies should have been already satisfied but it had to re-download them in a different nested directory (and I hope that there are not loops and it would have eventually finished)...</p> <p>Using the tree command this is an example of what I am getting:</p> <pre><code>├── grunt-cli │   └── node_modules │   ├── findup-sync │   │   └── node_modules │   │   ├── glob │   │   │   └── node_modules │   │   │   ├── minimatch │   │   │   │   └── node_modules │   │   │   │   ├── lru-cache │   │   │   │   │   └── node_modules │   │   │   │   │   └── weak │   │   │   │   │   └── node_modules │   │   │   │   │   └── mocha │   │   │   │   │   └── node_modules │   │   │   │   │   ├── coffee-script │   │   │   │   │   │   └── node_modules │   │   │   │   │   │   └── jison │   │   │   │   │   │   └── node_modules │   │   │   │   │   │   └── browserify │   │   │   │   │   │   └── node_modules │   │   │   │   │   │   ├── browser-resolve │   │   │   │   │   │   │   └── example </code></pre> <p>Any ideas why this might be happening?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload