Code Monkey home page Code Monkey logo

Comments (6)

KyleJune avatar KyleJune commented on June 30, 2024

In case it is relevant, here is my .vscode/settings.json file.

{
  "deno.enable": true,
  "deno.lint": true,
  "deno.unstable": false,
  "deno.config": "./deno.jsonc",
  "deno.suggest.imports.hosts": {
    "https://deno.land": true
  },
  "files.associations": {
    "*.css": "tailwindcss"
  },
  "editor.formatOnSave": true,
  "editor.defaultFormatter": "denoland.vscode-deno",
  "editor.quickSuggestions": {
    "strings": true
  }
}

from deno.

bartlomieju avatar bartlomieju commented on June 30, 2024

CC @nayeemrmn please take a look

from deno.

KyleJune avatar KyleJune commented on June 30, 2024

I just checked out the latest commit 67dcd6d for the other issue I linked to. I've verified that it doesn't resolve this issue. I used the following command: deno upgrade --canary --version 67dcd6db518446574d3a1e33f4ce536fcdc4fd25 to check it out then reloaded my window.

I'm going to stick with 1.44.2 until this issue is resolved.

from deno.

nayeemrmn avatar nayeemrmn commented on June 30, 2024

I reproduced this, it's because the react-helmet-async package as used here is depending on the import map entry for react, but the scope tracking I wrote for remote libs doesn't work for globally cached npm packages (it would work if you had "nodeModulesDir": true). Looking into it.

from deno.

KyleJune avatar KyleJune commented on June 30, 2024

I reproduced this, it's because the react-helmet-async package as used here is depending on the import map entry for react, but the scope tracking I wrote for remote libs doesn't work for globally cached npm packages (it would work if you had "nodeModulesDir": true). Looking into it.

Should I have that enabled if I am using npm packages via npm specifiers? Just asking because I'm not sure the reasons to or not to use the nodeModulesDir setting.

from deno.

nayeemrmn avatar nayeemrmn commented on June 30, 2024

You should use it if you find that a package you're using depends on node_modules being there, and doesn't work otherwise. In this case though it's a mendable regression in the LSP.

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.