Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Can't use 'Experimental Features for Vite' on Windows #1073

Closed
Dragon-GCS opened this issue Mar 19, 2022 · 0 comments · Fixed by #1074
Closed

Bug: Can't use 'Experimental Features for Vite' on Windows #1073

Dragon-GCS opened this issue Mar 19, 2022 · 0 comments · Fixed by #1074
Labels
bug Something isn't working

Comments

@Dragon-GCS
Copy link
Contributor

When use 'Experimental Features for Vite' on Windows, this extension will display this on new-opened terminal

E:\ProjectFiles\Js\vue-netdisk\node_modules\.bin\vite:2
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
          ^^^^^^^

SyntaxError: missing ) after argument list
    at wrapSafe (internal/modules/cjs/loader.js:1001:16)
    at Module._compile (internal/modules/cjs/loader.js:1049:27)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
    at Module.load (internal/modules/cjs/loader.js:950:32)
    at Function.Module._load (internal/modules/cjs/loader.js:790:12)
    at Module.require (internal/modules/cjs/loader.js:974:19)
    at require (internal/modules/cjs/helpers.js:93:18)
    at Object.<anonymous> (c:\Users\Dragon\.vscode\extensions\johnsoncodehk.volar-0.33.2\bin\vite.js:261:1)
    at Module._compile (internal/modules/cjs/loader.js:1085:14)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)

I have tried on Linux, it performance well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants