Trex not installing dependencies from import_map.json
See original GitHub issueDescribe the bug
After running trex install
it does not cache the following dependencies:
{
"imports": {
"./": "./",
"/": "./",
"dayjs": "https://cdn.skypack.dev/dayjs@1.10.5?dts",
"dayjs/plugin/": "https://cdn.skypack.dev/dayjs@1.10.5/plugin/",
"flags/": "https://deno.land/std@0.93.0/flags/",
"fs/": "https://deno.land/std@0.95.0/fs/",
"neverthrow": "https://cdn.skypack.dev/neverthrow@4.2.1?dts",
"path/": "https://deno.land/std@0.93.0/path/"
}
}
To Reproduce Steps to reproduce the behavior:
- Execute
trex install > info.txt
with an import_map.json following the structure above - See this message in the first line of the file
"import_map.json file not found"
Expected behavior Should download and cache the dependencies from the import_map.json file
Screenshots
Desktop (please complete the following information):
- OS: Fedora 33 with KDE
Thank you!
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Trex/README.md at master · crewdevio/Trex - GitHub
When you work with import maps trex by default will handle everything using an import_map.json file, but what if I want to use...
Read more >Trex: A Package Manager for Deno - Morioh
What is Trex?Trex is a Package management for Deno similar to npm but maintaining the deno philosophy. packages are cached and only one...
Read more >Trex | nest.land
Trex imports. This is a version that does not use import maps as a central hub, it can be used to handle dependencies...
Read more >Import Maps - Eik
Import maps map "bare" imports in your code to common dependencies at published URLs ... If we create an import map JSON file...
Read more >Rethinking the way we handle dependency imports in deno
I've been using deno for a while and I must say I love it, using typescript without compiling it first, using import /...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I could already reproduce the bug, I will be working in the next few days to solve it
this is already fixed