sql-js / sql-js/sql.js

Error in webpack build

Đang mở
#212 2 bình luận 4 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Ngôn ngữ chính
JavaScript
Star
13.7k
Fork
1.1k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

I'm having the following error return by including when importing the lib (using webpack)

<--- Last few GCs --->

[10376:0000021F7CCE6A80] 91373 ms: Mark-sweep 1403.6 (1471.6) -> 1403.6 (1471.6) MB, 3185.3 / > 0.0 ms allocation failure GC in old space requested
[10376:0000021F7CCE6A80] 94535 ms: Mark-sweep 1403.6 (1471.6) -> 1403.5 (1441.6) MB, 3162.2 / > 0.0 ms last resort gc
[10376:0000021F7CCE6A80] 98458 ms: Mark-sweep 1403.5 (1441.6) -> 1403.5 (1441.6) MB, 3922.3 / > 0.0 ms last resort gc

<--- JS stacktrace --->

==== JS stack trace =========================================

Security context: 000003E47A5C0D59
1: get [C:...\node_modules\babel-traverse\lib\path\index.js:~76] > [pc=000003FB7F207CC0](this=00000398E240A6F1 <JS Function NodePath (SharedFunctionInfo > 0000031798DE04C1)>,_ref=00000181DD2CF4D1 <an Object with map 000001C7B096A2D1>) > 2: node [C:...\node_modules\babel-traverse\lib\index.js:~94] > [pc=000003FB7F1BBFC8](this=000002C01A19F381 <...

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

The report points to a webpack import and stack frames in node_modules/babel-traverse/lib/path/index.js and lib/index.js. Start by reproducing the library import with webpack and confirm whether the JavaScript heap out-of-memory failure still occurs; done means the build completes without that error.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
babel, javascript, webpack
Lĩnh vực
build-system
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
20/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.