Invalid asm.js: Undefined global variable warning
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 13.7k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
I'm using sql.js version 0.5.0 in a react.js application and I have a warning in my browser that points to sql.js line 7, saying:
Invalid asm.js: Undefined global variable
But since the code is minified I'm not able to see why.
Any ideas how I can get rid of that warning ?
Contributor guide
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
The report points to sql.js line 7 in the minified browser bundle; start by reproducing the warning with sql.js 0.5.0 in a React.js application and inspecting that generated line. Done means identifying the undefined global reported by the browser and establishing a verified change or configuration that removes the warning without breaking the library.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, sqlite
- Domain
- databases, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100