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
Currently when npm attempts to install an optional dependency and that installation fails for one reason or another, the output and messaging can often lead users into thinking that the installation of the parent/main/original package was not installed (properly).
Even though npm does include language like "SKIPPING OPTIONAL DEPENDENCY" at the very end of the output, I think the end user just sees a bunch of output containing an abundance of words and phrases like "ERR!", "error", and "not ok" and immediately thinks that the parent/main/original package wasn't installed.
It would be great if the output surrounding these optional dependency installations could be improved somehow to reduce these misunderstandings. I don't have any concrete ideas at the moment though.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Currently when npm attempts to install an optional dependency and that installation fails for one reason or another, the output and messaging can often lead users into thinking that the installation of the parent/main/original package was not installed (properly).
Even though npm does include language like "SKIPPING OPTIONAL DEPENDENCY" at the very end of the output, I think the end user just sees a bunch of output containing an abundance of words and phrases like "ERR!", "error", and "not ok" and immediately thinks that the parent/main/original package wasn't installed.
It would be great if the output surrounding these optional dependency installations could be improved somehow to reduce these misunderstandings. I don't have any concrete ideas at the moment though.
Beta Was this translation helpful? Give feedback.
All reactions