Closed nkyryliuk closed 1 year ago
Quit Zed. Run the following in a terminal of choice:
$ rm -rf ~/Library/Application\ Support/Zed/node
Open Zed and try again. Does that resolve the issue?
I'm willing to bet that the Node extraction was interrupted, go ahead and run the command @hovsater suggested and let us know if that resolves the issue. I intend on us being smarter about this potential case the future
I got this same error for the JSON language server:
Language server error: JSON
failed to run npm info
Caused by:
Permission denied (os error 13)
After running this command and restarting Zed the error didn't appear again
@nkyryliuk did https://github.com/zed-industries/zed/issues/6090 resolve your issue? 🙂
I'm closing this under the assumption that the suggested solution did work.
Check for existing issues
Describe the bug / provide steps to reproduce it
1) Open a project with python files 2) Try to edit a python file
Environment
Zed: v0.80.5 (stable) OS: macOS 13.4.0 Memory: 16 GiB Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature
If applicable, attach your
~/Library/Logs/Zed/Zed.log
file to this issue.If you only need the most recent lines, you can run the
zed: open log
command palette action to see the last 1000.2023-04-06T10:40:15 [INFO] Opening main db 2023-04-06T10:40:15 [ERROR] No path stored for this editor 2023-04-06T10:40:16 [INFO] set environment variables from shell:/bin/zsh, path:/Users/nickolas/.bun/bin:/Users/nickolas/opt/anaconda3/condabin:/Users/nickolas/.poetry/bin:/Users/nickolas/.yarn/bin:/Users/nickolas/.config/yarn/global/node_modules/.bin:/opt/homebrew/opt/mysql-client/bin:/Users/nickolas/.nvm/versions/node/v18.12.0/bin:/Users/nickolas/Library/Application Support/edgedb/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/go/bin:/usr/local/share/dotnet:~/.dotnet/tools:/Library/Apple/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Users/nickolas/.cargo/bin:/Users/nickolas/Library/Application Support/JetBrains/Toolbox/scripts:/Users/nickolas/Library/Android/sdk/emulator:/Users/nickolas/Library/Android/sdk/platform-tools:/Users/nickolas/.cargo/bin:/Users/nickolas/flutter/bin:/usr/local/go/bin:/Users/nickolas/go/bin 2023-04-06T10:40:16 [ERROR] no cached binary 2023-04-06T10:40:16 [ERROR] failed to run npm info