We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Zed is putting an additional D;/ string in the path of every node modules extension
Steps to trigger the problem: 1.Install Zed for windows 10 with scoop 2. Install an extension like emmet
Actual Behavior:
Language server error: emmet-language-server
oneshot canceled -- stderr-- node:internal/modules/cjs/loader:1228 throw err; ^
Error: Cannot find module 'D:\C:\Users\pibli\AppData\Local\Zed\extensions\work\emmet\node_modules.bin\emmet-language-server' at Module._resolveFilename (node:internal/modules/cjs/loader:1225:15) at Module._load (node:internal/modules/cjs/loader:1051:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12) at node:internal/main/run_main_module:28:49 { code: 'MODULE_NOT_FOUND', requireStack: [] }
Node.js v20.17.0
Expected Behavior:
It should've found the module in the correct path "C:\Users\pibli\AppData\Local\Zed\extensions\work\emmet\node_modules.bin\emmet-language-server"
Zed: v0.173.0 (Zed Dev 1dd2bbe) OS: Windows 10.0.19045 Memory: 8 GiB Architecture: x86_64 GPU: NVIDIA GeForce GTX 1050 || NVIDIA || 566.03
The text was updated successfully, but these errors were encountered:
My current project is located in the D drive, so maybe the path string starts with \ and this leads to the additional "D:\"?
Sorry, something went wrong.
Thanks for the report!
This appears to be a duplicate of #20559.
No branches or pull requests
Summary
Zed is putting an additional D;/ string in the path of every node modules extension
Steps to trigger the problem:
1.Install Zed for windows 10 with scoop
2. Install an extension like emmet
Actual Behavior:
Language server error: emmet-language-server
oneshot canceled
-- stderr--
node:internal/modules/cjs/loader:1228
throw err;
^
Error: Cannot find module 'D:\C:\Users\pibli\AppData\Local\Zed\extensions\work\emmet\node_modules.bin\emmet-language-server'
at Module._resolveFilename (node:internal/modules/cjs/loader:1225:15)
at Module._load (node:internal/modules/cjs/loader:1051:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12)
at node:internal/main/run_main_module:28:49 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Node.js v20.17.0
Expected Behavior:
It should've found the module in the correct path "C:\Users\pibli\AppData\Local\Zed\extensions\work\emmet\node_modules.bin\emmet-language-server"
Zed Version and System Specs
Zed: v0.173.0 (Zed Dev 1dd2bbe)
OS: Windows 10.0.19045
Memory: 8 GiB
Architecture: x86_64
GPU: NVIDIA GeForce GTX 1050 || NVIDIA || 566.03
The text was updated successfully, but these errors were encountered: