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
CLI attempts to replicate the Loco-RS repository to get the template file while creating a project. However, if the firewall blocks the connection to the Github, this process may fail. I was a bit confused because this operation was not clearly documented in the Loco Guide.
Solution
Manually downloading the loco-rs repository
Setting the STARTERS_LOCAL_PATH environment variable to point to your local copy
$env:STARTERS_LOCAL_PATH="C:\Users\{user_name}\Downloads\loco-master\loco-master"
loco new
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
-
When running
loco new -v DEBUG
, I encountered the following error:Root Cause
CLI attempts to replicate the Loco-RS repository to get the template file while creating a project. However, if the firewall blocks the connection to the Github, this process may fail. I was a bit confused because this operation was not clearly documented in the Loco Guide.
Solution
STARTERS_LOCAL_PATH
environment variable to point to your local copyBeta Was this translation helpful? Give feedback.
All reactions