Ayes
I can't seem to get the recursive flag to run
I'm using a workspace setup. This is my root
deno.json
:
And this would be inside of modules/thought/deno.json
:
Then I'm trying to run deno task -r dev
, which results in:
Which is true considering there's no task in my root json. but that's not the goal here...4 replies
Import declarations may only appear at top level of a module
Hello fellow dino's
I'm currently trying to tip my toes into ML and decided to try out tensorflow-js. But it seems I can't get the depdency to import correctly.
at first I just used a script tag that imported the module via cdn, which worked. and then as I wanted to avoid using cdn's I decided to add the dependency to my project and use it that way.
But apparently I'm receiving this error:
At this location:
This code there is the "compiled" version the browser is running. The actual ts doesn't differ too much but for the sake of being able to look at it... Here you go:
I've tried both "inline install" (so via
import foo from "npm:bar";
) and via deno.json install. Both yielded the same result. I just started looking into deno today and maybe I configured something wrong? I decided to try and build a monorepo as I want to do multiple things with this ML project.
Here's my Root deno.json
And of course the one for my module
1 replies