Git Product home page Git Product logo

Comments (6)

jerichosiahaya avatar jerichosiahaya commented on September 27, 2024 2

Duplicate of #379

from denodb.

CrispenGari avatar CrispenGari commented on September 27, 2024 2

I solved this issue by opening the deno.json and modify it to look as follows:

{
  "tasks": {
    "start": "deno run --watch --allow-sys --allow-net --allow-read --allow-env  src/index.ts"
  },
  "scopes": {
    "https://raw.githubusercontent.com/Zhomart/dex/": {
      "https://deno.land/std/": "https://deno.land/[email protected]/"
    }
  },
  "compilerOptions": {
    "allowJs": true,
    "lib": ["deno.window"],
    "strict": true
  }
}

I just added the "scopes" property which is this guy right here 👇 :

  "scopes": {
    "https://raw.githubusercontent.com/Zhomart/dex/": {
      "https://deno.land/std/": "https://deno.land/[email protected]/"
    }
  }

from denodb.

matthewmorek avatar matthewmorek commented on September 27, 2024 1

I have exactly the same issue, though since I'm trying to use DenoDB with Deno Fresh, I have no control over dependencies (that I know of; there's no deps.ts file), so I can't move forward with the build.

from denodb.

myatease avatar myatease commented on September 27, 2024 1

最近尝试使用fresh,import denodb时出错,查看std版本发现178 移除了node

from denodb.

CrispenGari avatar CrispenGari commented on September 27, 2024

I also believe that the error is raise because of the deps.ts file that is in the test folder which is using the [email protected] which is not the latest version.

If it can be changed to:

export { assertEquals } from "https://deno.land/[email protected]/testing/asserts.ts";

to:

export { assertEquals } from "https://deno.land/[email protected]/testing/asserts.ts";

It can work, as std/node was removed starting from version: 0.178.0 as mentioned deno_std - 0.178.0

from denodb.

cesarmarinhorj avatar cesarmarinhorj commented on September 27, 2024

same issue. cant use denodb...

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.