Giter Club home page Giter Club logo

Comments (8)

dyedgreen avatar dyedgreen commented on May 13, 2024 1

This looks like an issue with and old/ outdated dependency. Can you try re-running your script with the --reload flag to check if that's the issue. (@blogwy)

If that doesn't help could you provide a minimal example code which reproduces the error?

from denodb.

cqthanh avatar cqthanh commented on May 13, 2024 1

Don't always add --reload flag on every run because https://deno.land/ has a limit of requests per hour. After you exceed that limit, you will get a 404 error!

from denodb.

eveningkid avatar eveningkid commented on May 13, 2024

Hey, not so sure what might be the issue there.

@dyedgreen, would you have some input on this?

Not so sure if the issue comes from the user or from the library.
I am personally facing no issue.

from denodb.

blogwy avatar blogwy commented on May 13, 2024

Hey, not so sure what might be the issue there.

@dyedgreen, would you have some input on this?

Not so sure if the issue comes from the user or from the library.
I am personally facing no issue.

my code:
deno run --allow-net --reload mysql.ts

import { DATA_TYPES, Database, Model } from 'https://deno.land/x/denodb/mod.ts';
console.log(Database);

error: No such file or directory (os error 2)

from denodb.

blogwy avatar blogwy commented on May 13, 2024

Download https://deno.land/x/denodb/mod.ts
Download https://deno.land/x/denodb/lib/data-types.ts
Download https://deno.land/x/denodb/lib/database.ts
...
Compile file:///Users/wangyu/Desktop/workspace/deno-demo/mysql.ts
error: No such file or directory (os error 2)

from denodb.

eveningkid avatar eveningkid commented on May 13, 2024

Hello again,

I just tried myself and it works all fine. I even tried to reload all the librairies and there is no issue.

Try running (and add all the required --allow-* flags):

deno run --reload mysql.ts

If you are still facing an issue, I will need you to copy the entire mysql.ts file here.

Keep in touch

from denodb.

eveningkid avatar eveningkid commented on May 13, 2024

Since there was no follow-up and this seems to be a SQLite/denoDB non-related error, I will close this for now.

Feel free to reopen if the issue persists, and that you are sure the error comes from denoDB.

Thank you!

from denodb.

eveningkid avatar eveningkid commented on May 13, 2024

Good to mention @cqthanh, it is supposedly only used to get the update you're right :)

from denodb.

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.