@@ -78,11 +78,11 @@ function Test-AndLaunchCopilot {
7878 Test-AndLaunchCopilot $Arguments
7979 return
8080 } else {
81- Read-Host " Installation failed. Please check your npm configuration and try again."
81+ Read-Host " Installation failed. Please check your npm configuration and try again (or run: npm install -g @github/copilot) ."
8282 return
8383 }
8484 } catch {
85- Read-Host " Installation failed. Please check your npm configuration and try again."
85+ Read-Host " Installation failed. Please check your npm configuration and try again (or run: npm install -g @github/copilot) ."
8686 return
8787 }
8888 } else {
@@ -103,11 +103,11 @@ function Test-AndLaunchCopilot {
103103 Test-AndLaunchCopilot $Arguments
104104 return
105105 } else {
106- Read-Host " Reinstallation failed. Please check your npm configuration and try again."
106+ Read-Host " Reinstallation failed. Please check your npm configuration and try again (or run: npm install -g @github/copilot) ."
107107 return
108108 }
109109 } catch {
110- Read-Host " Reinstallation failed. Please check your npm configuration and try again."
110+ Read-Host " Reinstallation failed. Please check your npm configuration and try again (or run: npm install -g @github/copilot) ."
111111 return
112112 }
113113 } else {
@@ -130,11 +130,11 @@ function Test-AndLaunchCopilot {
130130 Test-AndLaunchCopilot $Arguments
131131 return
132132 } else {
133- Read-Host " Reinstallation failed. Please check your npm configuration and try again."
133+ Read-Host " Reinstallation failed. Please check your npm configuration and try again (or run: npm install -g @github/copilot) ."
134134 return
135135 }
136136 } catch {
137- Read-Host " Reinstallation failed. Please check your npm configuration and try again."
137+ Read-Host " Reinstallation failed. Please check your npm configuration and try again (or run: npm install -g @github/copilot) ."
138138 return
139139 }
140140 } else {
@@ -164,11 +164,11 @@ function Test-AndLaunchCopilot {
164164 Test-AndLaunchCopilot $Arguments
165165 return
166166 } else {
167- Read-Host " Reinstallation failed. Please check your npm configuration and try again."
167+ Read-Host " Reinstallation failed. Please check your npm configuration and try again (or run: npm install -g @github/copilot) ."
168168 return
169169 }
170170 } catch {
171- Read-Host " Reinstallation failed. Please check your npm configuration and try again."
171+ Read-Host " Reinstallation failed. Please check your npm configuration and try again (or run: npm install -g @github/copilot) ."
172172 return
173173 }
174174 } else {
@@ -187,11 +187,11 @@ function Test-AndLaunchCopilot {
187187 Test-AndLaunchCopilot $Arguments
188188 return
189189 } else {
190- Read-Host " Update failed. Please check your npm configuration and try again."
190+ Read-Host " Update failed. Please check your npm configuration and try again (or run: npm update -g @github/copilot) ."
191191 return
192192 }
193193 } catch {
194- Read-Host " Update failed. Please check your npm configuration and try again."
194+ Read-Host " Update failed. Please check your npm configuration and try again (or run: npm update -g @github/copilot) ."
195195 return
196196 }
197197 } else {
0 commit comments