We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db0683b commit 83c6481Copy full SHA for 83c6481
bin/package-manager-completion.ts
@@ -30,6 +30,8 @@ function runCompletionCommand(
30
31
// Windows: npm may only produce a .ps1 shim; spawnSync won't resolve .ps1 via PATHEXT.
32
// Fallback: invoke through PowerShell so .ps1 shims (e.g. nuxt.ps1) are discoverable.
33
+ // TODO(AMIR): This is a hack to get the completion working on Windows.
34
+ // We should find a better way to do this. as this is not a good solution. and slows down the completion.
35
if (
36
result.error &&
37
(result.error as { code?: string }).code === 'ENOENT' &&
0 commit comments