Lunarequest
Lunarequest
DDeno
Created by Lunarequest on 11/23/2023 in #help
using flexsearch
I ended up rewriting and using lunr which does work out of the box so yeah it seems flexsearch is undergoing a big rewrite and they aren't really maintaing it properly :/
7 replies
DDeno
Created by Lunarequest on 11/23/2023 in #help
using flexsearch
it looks like deno's typehecker understands everything but deno_emit doesn't bundle flexsearch correctly could someone point me in the right direction on how to fix it?
7 replies
DDeno
Created by Lunarequest on 11/23/2023 in #help
using flexsearch
well i now have more issues? deno_emit seems to not like flexsearch's document class since it converts it to a instance of the dom document idk how to fix it
7 replies
DDeno
Created by Lunarequest on 11/23/2023 in #help
using flexsearch
it did thanks!
7 replies
DDeno
Created by Lunarequest on 9/14/2023 in #help
deno behaving differently in local dev env and production docker builds
in the end I had to specifically delete the node_modules & deno.lock
6 replies
DDeno
Created by Lunarequest on 9/14/2023 in #help
deno behaving differently in local dev env and production docker builds
:warning: x86_64 | Require stack:
:warning: x86_64 | - /home/build/static_src/node_modules/.deno/tailwindcss@3.3.3/node_modules/tailwindcss/lib/lib/setupTrackingContext.js
:warning: x86_64 | - /home/build/static_src/node_modules/.deno/tailwindcss@3.3.3/node_modules/tailwindcss/lib/plugin.js
:warning: x86_64 | - /home/build/static_src/node_modules/.deno/tailwindcss@3.3.3/node_modules/tailwindcss/lib/index.js
:warning: x86_64 | - /home/build/static_src/node_modules/.deno/tailwindcss@3.3.3/node_modules/tailwindcss/lib/index.js
:warning: x86_64 | at Function.Module._resolveFilename (node:module:624:15)
:warning: x86_64 | at Function.Module._load (node:module:502:27)
:warning: x86_64 | at Module.require (node:module:677:19)
:warning: x86_64 | at require (node:module:791:16)
:warning: x86_64 | at Object.<anonymous> (file:///home/build/static_src/node_modules/.deno/tailwindcss@3.3.3/node_modules/tailwindcss/lib/lib/setupTrackingContext.js:17:58)
:warning: x86_64 | at Object.<anonymous> (file:///home/build/static_src/node_modules/.deno/tailwindcss@3.3.3/node_modules/tailwindcss/lib/lib/setupTrackingContext.js:168:4)
:warning: x86_64 | at Module._compile (node:module:733:34)
:warning: x86_64 | at Object.Module._extensions..js (node:module:747:10)
:warning: x86_64 | at Module.load (node:module:658:32)
:warning: x86_64 | at Function.Module._load (node:module:539:12)
2023/09/14 11:24:22 ERROR: failed to build package. the build environment has been preserved:
:information_source: x86_64 | workspace dir: /tmp/melange-workspace-678298445
:information_source: x86_64 | guest dir: /tmp/melange-guest-866380308
2023/09/14 11:24:22 error during command execution: failed to build package: unable to run pipeline: exit status 1
:warning: x86_64 | Require stack:
:warning: x86_64 | - /home/build/static_src/node_modules/.deno/tailwindcss@3.3.3/node_modules/tailwindcss/lib/lib/setupTrackingContext.js
:warning: x86_64 | - /home/build/static_src/node_modules/.deno/tailwindcss@3.3.3/node_modules/tailwindcss/lib/plugin.js
:warning: x86_64 | - /home/build/static_src/node_modules/.deno/tailwindcss@3.3.3/node_modules/tailwindcss/lib/index.js
:warning: x86_64 | - /home/build/static_src/node_modules/.deno/tailwindcss@3.3.3/node_modules/tailwindcss/lib/index.js
:warning: x86_64 | at Function.Module._resolveFilename (node:module:624:15)
:warning: x86_64 | at Function.Module._load (node:module:502:27)
:warning: x86_64 | at Module.require (node:module:677:19)
:warning: x86_64 | at require (node:module:791:16)
:warning: x86_64 | at Object.<anonymous> (file:///home/build/static_src/node_modules/.deno/tailwindcss@3.3.3/node_modules/tailwindcss/lib/lib/setupTrackingContext.js:17:58)
:warning: x86_64 | at Object.<anonymous> (file:///home/build/static_src/node_modules/.deno/tailwindcss@3.3.3/node_modules/tailwindcss/lib/lib/setupTrackingContext.js:168:4)
:warning: x86_64 | at Module._compile (node:module:733:34)
:warning: x86_64 | at Object.Module._extensions..js (node:module:747:10)
:warning: x86_64 | at Module.load (node:module:658:32)
:warning: x86_64 | at Function.Module._load (node:module:539:12)
2023/09/14 11:24:22 ERROR: failed to build package. the build environment has been preserved:
:information_source: x86_64 | workspace dir: /tmp/melange-workspace-678298445
:information_source: x86_64 | guest dir: /tmp/melange-guest-866380308
2023/09/14 11:24:22 error during command execution: failed to build package: unable to run pipeline: exit status 1
6 replies
DDeno
Created by Lunarequest on 9/14/2023 in #help
deno behaving differently in local dev env and production docker builds
see the issue isn't with npm deps directly but rather with deps of npm deps. for example I use tailwindcss as a postcss plugin, but it can't find @alloc/quick-lru and so on, I'm a bit confused to as why it works with some deps eg chalk works just fine but not others the full error output is here. I'm using a tool called melange to build my container. hence the :warning: x86_64 | bits
6 replies