zed icon indicating copy to clipboard operation
zed copied to clipboard

"Typescript-language-server" failed to execute npm install

Open nermalcat69 opened this issue 1 year ago • 2 comments

Check for existing issues

  • [X] Completed

Describe the bug / provide steps to reproduce it

Language server error: TSX

failed to execute npm install subcommand:
stdout: ""
stderr: "npm ERR! code E404\nnpm ERR! 404 Not Found - GET https://registry.npmjs.org/nermal-cli-starter/-/nermal-cli-starter-0.0.1.tgz - Not found\nnpm ERR! 404 \nnpm ERR! 404  'nermal-cli-starter@https://registry.npmjs.org/nermal-cli-starter/-/nermal-cli-starter-0.0.1.tgz' is not in this registry.\nnpm ERR! 404 \nnpm ERR! 404 Note that you can also install from a\nnpm ERR! 404 tarball, folder, http url, or git url.\n\nnpm ERR! A complete log of this run can be found in:\nnpm ERR!     /Users/arjunaditya/Library/Application Support/Zed/node/node-v18.15.0-darwin-x64/cache/_logs/2024-02-05T10_27_51_458Z-debug-0.log\n"

To Reproduce

  1. cmd + shift + p and install cli and check the taskbar

Environment

Zed: v0.120.6 (Zed) OS: macOS 13.6.1 Memory: 16 GiB Architecture: x86_64

If applicable, add mockups / screenshots to help explain present your vision of the feature

image

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.

image

nermalcat69 avatar Feb 05 '24 10:02 nermalcat69

me too

Dlutermade avatar Feb 05 '24 10:02 Dlutermade

Hey! Please check whether you have any stray package.json or *.lock files in your home directory. Removing them should solve the issue

LilDojd avatar Feb 05 '24 11:02 LilDojd

Hey @nermalcat69 and @Dlutermade, can you download preview and see if your issues persists?

https://zed.dev/releases/preview

Thanks

JosephTLyons avatar Feb 06 '24 22:02 JosephTLyons

Hey @JosephTLyons, for suree thanks imma let you know

nermalcat69 avatar Feb 08 '24 21:02 nermalcat69

Going through some old issues.

@nermalcat69 @Dlutermade are either of you still seeing this issue or is it ok to close?

notpeter avatar Jun 13 '24 18:06 notpeter

Going through some old issues.

@nermalcat69 @Dlutermade are either of you still seeing this issue or is it ok to close?

Hey i'll get back to you asap

nermalcat69 avatar Jun 13 '24 23:06 nermalcat69

I'm going to close. Feel free to reopen if the issue persists. Thanks

notpeter avatar Jun 24 '24 14:06 notpeter