Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Comments
8
all avatar

TypeError: Module not found "https://esm.town/v/all/TokenDB". can't seem to find this val..

peterqliu avatar

@all ah i had it private. just made it public at https://www.val.town/v/peterqliu/TokenDB try again plz!

peterqliu avatar

hmm the esm.town link is still broken

all avatar

thanks!

all avatar
all(Edited )

looks like generateString unavailable too, there might be one more I think. always unsure if i need to fork or I can import...

peterqliu avatar

ah yes, also just publicized https://www.val.town/v/peterqliu/generateString

you only need to fork if you are interacting directly with your own databases or env tokens (creating/editing tables, etc). i think dbInit is the only one you need to fork

all avatar
all(Edited )

still giving me grief! will try and dive in later , thanks so far!

SyntaxError: The requested module 'https://esm.town/v/all/SQLiteTable' does not provide an export named 'SQLiteTable' at https://esm.town/v/all/TokenDB?v=1:2:10
    at async Object.fetch (file:///opt/render/project/src/guest/index.ts:628:15)
    at async ext:deno_http/00_serve.ts:364:18 {
  code: "ERR_MODULE_NOT_FOUND"
}

image.png

peterqliu avatar

thanks for trying! just made that one visible too

i thought i had made all those public by now, but alas i hadn't. sorry for the griefin

Updated: October 11, 2024