Zicklag
Zicklag
DDeno
Created by Zicklag on 5/1/2025 in #help
I have a JSR Package: Can I Import it From My Filesystem Instead of jsr.io?
Thanks folks!
17 replies
DDeno
Created by Zicklag on 5/1/2025 in #help
I have a JSR Package: Can I Import it From My Filesystem Instead of jsr.io?
Finally it works!
17 replies
DDeno
Created by Zicklag on 5/1/2025 in #help
I have a JSR Package: Can I Import it From My Filesystem Instead of jsr.io?
Ahhh, just figured it out, I need to also set the nodeModulesDir setting to "auto".
17 replies
DDeno
Created by Zicklag on 5/1/2025 in #help
I have a JSR Package: Can I Import it From My Filesystem Instead of jsr.io?
It appears that it's not installing the npm package that is depended on by the library I'm patching.
17 replies
DDeno
Created by Zicklag on 5/1/2025 in #help
I have a JSR Package: Can I Import it From My Filesystem Instead of jsr.io?
error: Could not find "loro-crdt" in a node_modules folder. Deno expects the node_modules/ directory to be up to date. Did you forget to run `deno install`?
at file:///home/zicklag/git/muni-town/leaf/packages/leaf/index.ts:22:15
error: Could not find "loro-crdt" in a node_modules folder. Deno expects the node_modules/ directory to be up to date. Did you forget to run `deno install`?
at file:///home/zicklag/git/muni-town/leaf/packages/leaf/index.ts:22:15
17 replies
DDeno
Created by Zicklag on 5/1/2025 in #help
I have a JSR Package: Can I Import it From My Filesystem Instead of jsr.io?
Trying that it tells me that it requires an unstable npm-patch flag because the lib I'm patching depends on an NPM package, and then if I add that flag and try to run the project it says:
17 replies
DDeno
Created by Zicklag on 5/1/2025 in #help
I have a JSR Package: Can I Import it From My Filesystem Instead of jsr.io?
Yeah, the workspace worked really nice for the repo with a bunch of libraries in it, but it doesn't work when I have code in two different Git repos.
17 replies
DDeno
Created by Zicklag on 5/1/2025 in #help
I have a JSR Package: Can I Import it From My Filesystem Instead of jsr.io?
I.e. there's no way for me to add another package on my local filesystem as a dependency by specifying, for example, it's jsr.json file or deno.json file, so that it properly handles the module exports, and import maps.
17 replies
DDeno
Created by Zicklag on 5/1/2025 in #help
I have a JSR Package: Can I Import it From My Filesystem Instead of jsr.io?
I've tried just switching my imports map in the Roomy SDK to specify the index.ts of the package it's trying to import, the issue is that index.ts imports loro-crdt which is in its import map, and the import maps are not merged.
17 replies