RunestoneInteractive / RunestoneInteractive/rs
SQL ActiveCode won't run in a local build
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 69
- Forks
- 117
- Avg merge
- 6d 4h
- Merged PRs (30d)
- 24
Description
An ActiveCode with language=sql and a new database attribute won't run outside of Runestone (i.e. off a local version).
Culprit seems to be that the Web Assembly file for running SQL is not available in this situation. Error report visible in a Chrome console, but not so obvious with Firefox.
Example for testing will very soon (15 minutes) be at the very bottom of:
https://pretextbook.org/examples/sample-book/structural/html/activecode.html
Tags at Andrew's suggestion: @ascholerChemeketa @bjones1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the SQL ActiveCode example at the bottom of the linked sample book in a local build, using Chrome first so the console error is visible. Compare the local build with the Runestone-hosted version and trace why the SQL WebAssembly file is unavailable. Done means an ActiveCode using language=sql and the database attribute runs locally.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- sql, typescript, wasm
- Domain
- build-system, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100