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
PROBLEM
Currently, the react-slingshot README section "Get Started" provides instruction details which assumes the user to be utilizing NPM as their preferred package-manager for Node. However, if the user follows the instructions as written, but utilizes YARN instead of NPM, then it is not immediately obvious what to do, and more importantly, the final step in the process fails. YARN does not recognize the -s flag to enable silent mode as NPM does, and instead requires a different flag of --silent to successfully enable silent mode on script run. See ADDITIONAL CONTEXT for broader explanation as to why this is a relevant problem that should be fixed.
SOLUTION
Update README section "Get Started" to include the the NPM equivalent YARN scripts alongside the already provided NPM scripts listed.
ALTERNATIVES
Seems like this is pretty straight forward.
ADDITIONAL CONTEXT
React-Slingshot supports YARN already. Can't see why this wasn't just included when support was added.
See: #319 and #292
The text was updated successfully, but these errors were encountered:
PROBLEM
Currently, the react-slingshot README section "Get Started" provides instruction details which assumes the user to be utilizing NPM as their preferred package-manager for Node. However, if the user follows the instructions as written, but utilizes YARN instead of NPM, then it is not immediately obvious what to do, and more importantly, the final step in the process fails. YARN does not recognize the
-s
flag to enable silent mode as NPM does, and instead requires a different flag of--silent
to successfully enable silent mode on script run. See ADDITIONAL CONTEXT for broader explanation as to why this is a relevant problem that should be fixed.SOLUTION
Update README section "Get Started" to include the the NPM equivalent YARN scripts alongside the already provided NPM scripts listed.
ALTERNATIVES
Seems like this is pretty straight forward.
ADDITIONAL CONTEXT
React-Slingshot supports YARN already. Can't see why this wasn't just included when support was added.
See: #319 and #292
The text was updated successfully, but these errors were encountered: