Git Product home page Git Product logo

Comments (7)

dsherret avatar dsherret commented on June 4, 2024

Are you talking about in the LSP? This is probably a duplicate of #23659

It is probably fixed in deno upgrade --canary and will be released later today.

from deno.

guy-borderless avatar guy-borderless commented on June 4, 2024

indeed

from deno.

guy-borderless avatar guy-borderless commented on June 4, 2024

Actually, having deleted the deno.lock, seems the problem is still there ( just changed to lock:false before and forgot to delete deno.lock)
image

from deno.

dsherret avatar dsherret commented on June 4, 2024

What happens after you cache the dependencies by running "Deno: Cache dependencies" from the vscode command pallete?

By the way, I wouldn't recommend using lock: false with npm packages. It causes everything to be much slower because it doesn't cache the npm resolution in the lockfile.

from deno.

guy-borderless avatar guy-borderless commented on June 4, 2024

What happens after you cache the dependencies by running "Deno: Cache dependencies" from the vscode command pallete?

By the way, I wouldn't recommend using lock: false with npm packages. It causes everything to be much slower because it doesn't cache the npm resolution in the lockfile.

image

from deno.

dsherret avatar dsherret commented on June 4, 2024

What happens when you go to https://registry.npmjs.org/@types/node? Sometimes the npm registry is flaky. It looks like it's attempting to download then the connection is closed (the error on the last line is just what occurs after caching was attempted). You may need to try caching a few times.

If that doesn't work, do you have a repo that we could try reproducing in?

from deno.

guy-borderless avatar guy-borderless commented on June 4, 2024

What happens when you go to https://registry.npmjs.org/@types/node? Sometimes the npm registry is flaky. It looks like it's attempting to download then the connection is closed (the error on the last line is just what occurs after caching was attempted). You may need to try caching a few times.

If that doesn't work, do you have a repo that we could try reproducing

I tried that, the url always works.

from deno.

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.