sql-js / sql-js/sql.js

using with angular 6

Offen
#243 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Vorherrschende Sprache
JavaScript
Sterne
13.7k
Forks
1.1k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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'

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
angular, javascript, sqlite
Bereich
database, frontend
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.