You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 11, 2022. It is now read-only.
Read the current tree of installed packages. Mark each of these as already existing.
Walk this tree checking the dependencies of each node.
For each missing dep, fetch the package data and create a "phantom" node at its point in the tree. Then, repeat step 2 for the new phantom nodes.
De-duplicate all phantom nodes (leaving extant nodes in place)
Now we have a de-duplicated list of packages. Fetch them all to cache. (All networking happens here.)
BFS-walk the tree, unpacking into phantom nodes, making them real. (If there is any error at this point or beyond, abort and rimraf all phantom nodes.)
BFS-walk the tree, running "preinstall" scripts on each newly installed node.
BFS-walk the tree, running "install" scripts on each newly installed node.
BFS-walk the tree, running "postinstall" scripts on each newly installed node.
When the user types
npm install