Comments (8)
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.
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.
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.
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.
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.
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.
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.
Good to mention @cqthanh, it is supposedly only used to get the update you're right :)
from denodb.
Related Issues (20)
- Crashing when deployed to Deno Deploy HOT 2
- TLS connection failed with message: invalid peer certificate contents / PostgresError: no pg_hba.conf entry for host HOT 5
- Foreign key constraint name defaults to the name of the column
- Serialized Model option rather than classes?
- Can't import the latest version 1.0.40 HOT 5
- How to use denodb to connect to multiple postgresql databases having same models
- [Feature] Support SQL `SELECT DISTINCT`
- insert or update
- hash module break! HOT 4
- sqlite v3.1.3 not working on Windows
- Postgres Foreign Key is created with integer type by default HOT 2
- Timestamps
- Postgres connector makes the script unable to exit normally HOT 1
- How to set logging? HOT 2
- Postgresql: Timestamp fields adding hours each time records are updated
- Multiple Primary Key Exists HOT 1
- Some problems in model.ts
- A dependency is broken HOT 15
- Module not found "https://deno.land/std/node/events.ts". HOT 6
- DenoDB Models' fields without Types?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from denodb.