sql-js / sql-js/sql.js

using with angular 6

オープン
#243 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
JavaScript
スター
13.7k
フォーク
1.1k
PR マージ指標
30日以内にマージされた PR はありません

説明

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'

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
angular, javascript, sqlite
領域
database, frontend
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。