yoggyd
yoggyd
Explore posts from servers
DDeno
Created by yoggyd on 9/4/2024 in #help
how to disable no-window rule
dang it, thx
3 replies
DDeno
Created by yoggyd on 9/4/2024 in #help
any reason against using the deps.ts approach?
I see, so this is pretty much a non issue with small dependency trees or trees that you fully control. Thanks 🙂
7 replies
DDeno
Created by yoggyd on 10/4/2023 in #help
subpackage imports with npm specifiers
ah, adding .ts is not allowed, but .js is. Kinda makes sense, so the solution is import colors from "npm:tailwindcss/colors.js"
7 replies
DDeno
Created by yoggyd on 10/4/2023 in #help
subpackage imports with npm specifiers
@lino-levan that package does not exist. I'm not talking about a "full" package in another scope but a submodule from an existing package. The types can also be resolved, but colors.js is not being imported
7 replies
DDeno
Created by yoggyd on 10/4/2023 in #help
subpackage imports with npm specifiers
sorry, I actually have tailwindcss in the code that's not working, I'll fix the original question
7 replies
DDeno
Created by yoggyd on 10/2/2023 in #help
deno doc: error: fp-ts
hey sorry I was cut off, just wanted to say thank you instead of just leaving like that 🙂
36 replies
DDeno
Created by yoggyd on 10/2/2023 in #help
deno doc: error: fp-ts
that looks like subpackage imports would build wrong file urls? error: Unable to load /home/hesxenon/projects/andale/node_modules/.deno/[email protected]/node_modules/fp-ts/lib/function imported from file:///home/hesxenon/projects/andale/Server.ts
36 replies
DDeno
Created by yoggyd on 10/2/2023 in #help
deno doc: error: fp-ts
hmmm, can you give me an example? With npm://[email protected]/ I get an error for subpackage imports
36 replies
DDeno
Created by yoggyd on 10/2/2023 in #help
deno doc: error: fp-ts
thx 🙂 (slight OT but how do I actually update the lock file after changing the specifiers 🤔 , nvm, I used write-lock instead of lock-write )
36 replies
DDeno
Created by yoggyd on 10/2/2023 in #help
deno doc: error: fp-ts
hmmm, I'll try to use them in the importmap
36 replies
DDeno
Created by yoggyd on 10/2/2023 in #help
deno doc: error: fp-ts
hmmm, but it should work without them as long as you have the specifiers defined in the importmap, right?
36 replies
DDeno
Created by yoggyd on 10/2/2023 in #help
deno doc: error: fp-ts
thanks 🙂
36 replies
DDeno
Created by yoggyd on 10/2/2023 in #help
deno doc: error: fp-ts
the last few lines seem unremarkable to me:
DEBUG RS - deno::file_fetcher:254 - FileFetcher::fetch_cached - specifier: https://esm.sh/v132/[email protected]/lib/Comonad.d.ts
DEBUG RS - import_map:1102 - Specifier "https://esm.sh/v132/[email protected]/lib/Extend.d.ts" was not mapped in import map.
DEBUG RS - import_map:1102 - Specifier "https://esm.sh/v132/[email protected]/lib/HKT/HKT.d.ts" was not mapped in import map.
DEBUG RS - deno::file_fetcher:550 - FileFetcher::fetch() - specifier: https://esm.sh/v132/[email protected]/lib/JoinSemilattice.d.ts
DEBUG RS - deno_runtime::permissions:87 - ⚠️️ Granted net access to "esm.sh"
DEBUG RS - deno::file_fetcher:344 - FileFetcher::fetch_remote() - specifier: https://esm.sh/v132/[email protected]/lib/JoinSemilattice
.d.ts
DEBUG RS - deno_runtime::permissions:87 - ⚠️️ Granted net access to "esm.sh"
DEBUG RS - deno::file_fetcher:254 - FileFetcher::fetch_cached - specifier: https://esm.sh/v132/[email protected]/lib/JoinSemilattice.d
.ts
DEBUG RS - deno::file_fetcher:550 - FileFetcher::fetch() - specifier: https://esm.sh/v132/[email protected]/lib/MeetSemilattice.d.ts
DEBUG RS - deno_runtime::permissions:87 - ⚠️️ Granted net access to "esm.sh"
DEBUG RS - deno::file_fetcher:344 - FileFetcher::fetch_remote() - specifier: https://esm.sh/v132/[email protected]/lib/MeetSemilattice
.d.ts
DEBUG RS - deno_runtime::permissions:87 - ⚠️️ Granted net access to "esm.sh"
DEBUG RS - deno::file_fetcher:254 - FileFetcher::fetch_cached - specifier: https://esm.sh/v132/[email protected]/lib/MeetSemilattice.d
.ts
DEBUG RS - deno::npm::resolution:318 - Snapshot already up to date. Skipping pending resolution.
TRACE RS - deno::cache::cache_db:102 - Cleaned up SQLite connection at /home/hesxenon/.cache/deno/dep_analysis_cache_v1
TRACE RS - mio::poll:662 - deregistering event source from poller
error: fp-ts
DEBUG RS - deno::file_fetcher:254 - FileFetcher::fetch_cached - specifier: https://esm.sh/v132/[email protected]/lib/Comonad.d.ts
DEBUG RS - import_map:1102 - Specifier "https://esm.sh/v132/[email protected]/lib/Extend.d.ts" was not mapped in import map.
DEBUG RS - import_map:1102 - Specifier "https://esm.sh/v132/[email protected]/lib/HKT/HKT.d.ts" was not mapped in import map.
DEBUG RS - deno::file_fetcher:550 - FileFetcher::fetch() - specifier: https://esm.sh/v132/[email protected]/lib/JoinSemilattice.d.ts
DEBUG RS - deno_runtime::permissions:87 - ⚠️️ Granted net access to "esm.sh"
DEBUG RS - deno::file_fetcher:344 - FileFetcher::fetch_remote() - specifier: https://esm.sh/v132/[email protected]/lib/JoinSemilattice
.d.ts
DEBUG RS - deno_runtime::permissions:87 - ⚠️️ Granted net access to "esm.sh"
DEBUG RS - deno::file_fetcher:254 - FileFetcher::fetch_cached - specifier: https://esm.sh/v132/[email protected]/lib/JoinSemilattice.d
.ts
DEBUG RS - deno::file_fetcher:550 - FileFetcher::fetch() - specifier: https://esm.sh/v132/[email protected]/lib/MeetSemilattice.d.ts
DEBUG RS - deno_runtime::permissions:87 - ⚠️️ Granted net access to "esm.sh"
DEBUG RS - deno::file_fetcher:344 - FileFetcher::fetch_remote() - specifier: https://esm.sh/v132/[email protected]/lib/MeetSemilattice
.d.ts
DEBUG RS - deno_runtime::permissions:87 - ⚠️️ Granted net access to "esm.sh"
DEBUG RS - deno::file_fetcher:254 - FileFetcher::fetch_cached - specifier: https://esm.sh/v132/[email protected]/lib/MeetSemilattice.d
.ts
DEBUG RS - deno::npm::resolution:318 - Snapshot already up to date. Skipping pending resolution.
TRACE RS - deno::cache::cache_db:102 - Cleaned up SQLite connection at /home/hesxenon/.cache/deno/dep_analysis_cache_v1
TRACE RS - mio::poll:662 - deregistering event source from poller
error: fp-ts
am I missing something?
36 replies
DDeno
Created by yoggyd on 10/2/2023 in #help
deno doc: error: fp-ts
but it is mapped?
36 replies
DDeno
Created by yoggyd on 10/2/2023 in #help
deno doc: error: fp-ts
DEBUG RS - import_map:1102 - Specifier "fp-ts" was not mapped in import map.
DEBUG RS - import_map:1102 - Specifier "fast-querystring" was not mapped in import map.
DEBUG RS - import_map:1102 - Specifier "cookie" was not mapped in import map.
DEBUG RS - import_map:1102 - Specifier "@types/cookie" was not mapped in import map.
DEBUG RS - import_map:1102 - Specifier "rxjs" was not mapped in import map.
DEBUG RS - import_map:1102 - Specifier "fp-ts" was not mapped in import map.
DEBUG RS - import_map:1102 - Specifier "fast-querystring" was not mapped in import map.
DEBUG RS - import_map:1102 - Specifier "cookie" was not mapped in import map.
DEBUG RS - import_map:1102 - Specifier "@types/cookie" was not mapped in import map.
DEBUG RS - import_map:1102 - Specifier "rxjs" was not mapped in import map.
36 replies
DDeno
Created by yoggyd on 10/2/2023 in #help
deno doc: error: fp-ts
yeah but it's quite repetitive... didn't see anything out of the ordinary though, a few net permissions and oddly enough: fp-ts isn't mapped in importmaps (along with every other dependency)
36 replies
DDeno
Created by yoggyd on 10/2/2023 in #help
deno doc: error: fp-ts
❤️ I'll do that rn
36 replies
DDeno
Created by yoggyd on 10/2/2023 in #help
deno doc: error: fp-ts
basically I've just moved from bun to deno and while it's not exactly been easy I could always find a solution - not for this one though :/
36 replies
DDeno
Created by yoggyd on 10/2/2023 in #help
deno doc: error: fp-ts
36 replies
DDeno
Created by yoggyd on 10/2/2023 in #help
deno doc: error: fp-ts
and the repo only contains two files with Server.ts being the "main" file
36 replies