using with angular 6
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 13.7k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
Hi
I want to use this package with angular 6
I added the types and also sql
npm install --save @types/sql.js
npm install --save sql.js
but i get the following error:
[ng] Module not found: Error: Can't resolve 'crypto' in 'D:\current_projects\android Quran 2\ionic\Quran\node_modules\sql.js\js'
[ng] ERROR in ./node_modules/sql.js/js/sql.js
[ng] Module not found: Error: Can't resolve 'fs' in 'D:\current_projects\android Quran 2\ionic\Quran\node_modules\sql.js\js'
[ng] ERROR in ./node_modules/sql.js/js/sql.js
[ng] Module not found: Error: Can't resolve 'path' in 'D:\current_projects\android Quran 2\ionic\Quran\node_modules\sql.js\js'
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
Reproduce the Angular 6 build after installing @types/sql.js and sql.js, using the reported errors from node_modules/sql.js/js/sql.js as the starting point. Check whether the package can be resolved in that environment; done means the build no longer reports missing crypto, fs, and path modules.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, javascript, sqlite
- Domain
- database, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100