Giter Site home page Giter Site logo

Comments (7)

nayeemrmn avatar nayeemrmn commented on September 22, 2024 1

I believe this was the same issue as denoland/deno#24293. Ensure the part of your program using hono doesn't include or import any code importing react, and have them in different deno.json scopes. You can now move your deno.json into server/deno.json to achieve this. Closing for now, please update here if this works.

from vscode_deno.

nayeemrmn avatar nayeemrmn commented on September 22, 2024

Try removing deno.enablePaths and having a top-level deno.json with the following:

{
  "compilerOptions": {
    "target": "esnext",
    "lib": ["dom", "dom.iterable", "dom.asynciterable", "deno.ns"]
  }
}

from vscode_deno.

ds315 avatar ds315 commented on September 22, 2024

Thank's much ! But now i have a problem:

error

How to solve it ?

from vscode_deno.

nayeemrmn avatar nayeemrmn commented on September 22, 2024

Try adding the following to your deno.json and then restarting the language server:

"unstable": ["byonm"]

from vscode_deno.

ds315 avatar ds315 commented on September 22, 2024

Doesn't helps

Situation same as before, - some types are 'any' - Hono<any, any, any> and deno-ts(2344)

I can publish test projects (Hono RPC and tRPC), if it helps

from vscode_deno.

nayeemrmn avatar nayeemrmn commented on September 22, 2024

@ds315 You'll have to push to a repo or create a smaller reproduction that I can pull so I can figure out what's wrong.

from vscode_deno.

ds315 avatar ds315 commented on September 22, 2024

I'd published both Hono RPC and tRPC - https://github.com/ds315/trpc and https://github.com/ds315/hono

Both works good, only problem with types in Client in VS Code

from vscode_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.