@xaidenlabs/uso 1.1.89 → 1.1.91
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/platforms/wsl.js +9 -1
package/package.json
CHANGED
package/src/platforms/wsl.js
CHANGED
|
@@ -204,8 +204,16 @@ const installWsl = async () => {
|
|
|
204
204
|
silent: true,
|
|
205
205
|
});
|
|
206
206
|
if (verifyInstall.code !== 0) {
|
|
207
|
+
const rawError = (verifyInstall.stderr || verifyInstall.stdout || "")
|
|
208
|
+
.replace(/\x00/g, "")
|
|
209
|
+
.trim();
|
|
210
|
+
|
|
211
|
+
log.warn(`⚠️ ${WSL_DISTRO} is not ready yet.`);
|
|
212
|
+
if (rawError) {
|
|
213
|
+
console.log(chalk.red(`\nWSL Error Details:\n${rawError}\n`));
|
|
214
|
+
}
|
|
207
215
|
log.warn(
|
|
208
|
-
|
|
216
|
+
"👉 WSL installation usually needs a full system reboot, OR you need to enable 'Virtual Machine Platform' / 'Virtualization' in your BIOS.",
|
|
209
217
|
);
|
|
210
218
|
log.warn(
|
|
211
219
|
"👉 Restart Windows, then run 'uso install' again to continue the setup.",
|