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
constinstallForSpecifiedVersion=`Yes, setup for v${sPFxCheck.version} SPFx version`;
107
+
constinstallForSpecifiedVersion=`Yes, setup for SPFx v${sPFxCheck.version}`;
108
108
constabortOption='No';
109
109
110
110
Notifications.warning(
111
-
`Your Node version is not supported for v${sPFxCheck.version} SPFx version. Do you want to set up your environment for the v${sPFxCheck.version} SPFx version?`,
111
+
`Your Node.js version is not compatible with SPFx v${sPFxCheck.version}. Do you want to set up your environment for SPFx v${sPFxCheck.version}?`,
112
112
installForSpecifiedVersion,
113
113
abortOption
114
114
).then(selectedOption=>{
@@ -123,11 +123,11 @@ export class CliActions {
123
123
return;
124
124
}
125
125
126
-
constinstallForSpecifiedVersion=`Yes, setup for v${sPFxCheck.version} SPFx version`;
126
+
constinstallForSpecifiedVersion=`Yes, setup for SPFx v${sPFxCheck.version}`;
127
127
constabortOption='No';
128
128
129
129
Notifications.warning(
130
-
`The following dependencies are not set up correctly: ${notPassedChecks.map(c=>c.check).join(', ')}. Do you want to set up your environment for the v${sPFxCheck.version} SPFx version?`,
130
+
`The following dependencies are not set up correctly: ${notPassedChecks.map(c=>c.check).join(', ')}. Do you want to set up your environment for SPFx v${sPFxCheck.version}?`,
useNodeVersionOption=`nvs add ${requiredNodeVersionToInstall} && nvs use ${requiredNodeVersionToInstall}`;
216
214
}
217
215
218
-
constabortOption='I will handle it myself';
216
+
constabortOption='I will handle it manually';
217
+
constswitchVersionButton='Switch to compatible Node.js version';
219
218
constoutput=Notifications.warning(
220
-
`Your Node.js version is not supported with SPFx development. Make sure you are using version: v${requiredNodeVersions}.
221
-
It looks like you are using ${nodeVersionManager===NodeVersionManagers.nvm ? 'NVM' : 'NVS'}. You can use the command '${useNodeVersionOption}' to set the correct Node.js version for SPFx development.
222
-
Please select one of the options below to get help on installing or updating your Node.js version.`,
223
-
useNodeVersionOption,
219
+
`Node.js ${currentNodeVersion} is incompatible with SPFx v${spfxVersion}. Need Node.js ${requiredNodeVersions}.`,
0 commit comments