Git Product home page Git Product logo

Comments (8)

kalesh13 avatar kalesh13 commented on July 20, 2024 4

@aeschli As you mentioned, I tried npm view on the terminal and this is the result

Screenshot 2024-05-23 at 11 12 08 AM

As you can see, npm is accessible, and npm view can locate the package just fine with all the details. This issue is with VS Code and not with npm because everything was working fine 2-3 weeks back before updating VS Code, and I have not updated node or npm in my system.

Also, I see Loading text when I hover over the packages before the tooltip crashes. So, my guess, something is breaking between Loading and rendering the npm view result.

from vscode.

aeschli avatar aeschli commented on July 20, 2024 3

I'm quite sure that this was caused by a recent change. We longer pass in the full environment when running npm
I fixed it with #213306

from vscode.

SBokutsWA avatar SBokutsWA commented on July 20, 2024

i have the same issue. previously it worked

from vscode.

aeschli avatar aeschli commented on July 20, 2024

We are look for a installed npm command. If we find it, we use it with npm view.

  • can you check that npm is on the PATH? whereis npm (on Linux and Mac) where cmd.cmd (on Windows) should find the command
  • try npm view @yahaal/ecommerce

If npm is not found, we fall back to an online service which can not load private repos

from vscode.

LucasLongarini avatar LucasLongarini commented on July 20, 2024

I am also having the same issue on mac

from vscode.

Timeless0911 avatar Timeless0911 commented on July 20, 2024

I also have the same issue, and previously it worked. npm view can work for private registry packages.

And for more information, my npm is managed by fnm as same as node.

from vscode.

dthomason avatar dthomason commented on July 20, 2024

I just noticed this same issue too. Just last week I was using it fine when updating our private packages. I ran the npm view command with success like @kalesh13

from vscode.

GRA0007 avatar GRA0007 commented on July 20, 2024

This has been happening for me for the past couple of weeks as well, but for all my packages (I don't have any private packages installed). I use yarn so I'm not sure if that's affecting the registry values, but npm view works fine. This feature used to work and I haven't changed anything on my end so it's definitely a regression in VSCode.

from vscode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.