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
It would be nice to indeed improve the error handling but there might be other reasons (such as network error or private packages or package manager fault) that packages cannot be installed. I suggest to instead, use a confirmation prompt either continuing the addition to the config or cancel operation when install is failing.
pi0
changed the title
[module add] Quit the process if cannot install the dependency
improve error handling experience for nuxi module add when install fails
Aug 31, 2023
Also likning unjs/nypm#89, i am thinking when package manager cannot be detected, to also make nypm behavior more "gentle" and only update package.json (using manual npm resolution to make sure package is still valid)
Example of installing an npm package that does not exist:
The text was updated successfully, but these errors were encountered: