I can’t install Brain.js with NPM

I’m trying to install Brain.js in Google Colab but I got this:

⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧npm warn deprecated @npmcli/[email protected]: This functionality has been moved to @npmcli/fs ⠧npm warn deprecated [email protected]: This package is no longer supported. ⠧⠇npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported ⠇npm warn deprecated [email protected]: This package is no longer supported. ⠇npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported ⠇npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. ⠏npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported ⠋npm warn deprecated [email protected]: This package is no longer supported. ⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹npm error code 1 ⠹npm error path /content/node_modules/gl ⠹npm error command failed ⠹npm error command sh -c prebuild-install || node-gyp rebuild ⠹npm error prebuild-install warn install No prebuilt binaries found (target=18.20.5 runtime=node arch=x64 libc= platform=linux) npm error gyp info it worked if it ends with ok npm error gyp info using [email protected] npm error gyp info using [email protected] | linux | x64 npm error gyp info find Python using Python version 3.10.12 found at “/usr/bin/python3” npm error gyp info spawn /usr/bin/python3 npm error gyp info spawn args [ npm error gyp info spawn args ‘/content/node_modules/node-gyp/gyp/gyp_main.py’, npm error gyp info spawn args ‘binding.gyp’, npm error gyp info spawn args ‘-f’, npm error gyp info spawn args ‘make’, npm error gyp info spawn args ‘-I’, npm error gyp info spawn args ‘/content/node_modules/gl/build/config.gypi’, npm error gyp info spawn args ‘-I’, npm error gyp info spawn args ‘/content/node_modules/node-gyp/addon.gypi’, npm error gyp info spawn args ‘-I’, npm error gyp info spawn args ‘/root/.cache/node-gyp/18.20.5/include/node/common.gypi’, npm error gyp info spawn args ‘-Dlibrary=shared_library’, npm error gyp info spawn args ‘-Dvisibility=default’, npm error gyp info spawn args ‘-Dnode_root_dir=/root/.cache/node-gyp/18.20.5’, npm error gyp info spawn args ‘-Dnode_gyp_dir=/content/node_modules/node-gyp’, npm error gyp info spawn args ‘-Dnode_lib_file=/root/.cache/node-gyp/18.20.5/<(target_arch)/node.lib’, npm error gyp info spawn args ‘-Dmodule_root_dir=/content/node_modules/gl’, npm error gyp info spawn args ‘-Dnode_engine=v8’, npm error gyp info spawn args ‘–depth=.’, npm error gyp info spawn args ‘–no-parallel’, npm error gyp info spawn args ‘–generator-output’, npm error gyp info spawn args ‘build’, npm error gyp info spawn args ‘-Goutput_dir=.’ npm error gyp info spawn args ] npm error Package xi was not found in the pkg-config search path. npm error Perhaps you should add the directory containing xi.pc' npm error to the PKG_CONFIG_PATH environment variable npm error Package 'xi', required by 'virtual:world', not found npm error gyp: Call to 'pkg-config --libs-only-L --libs-only-other x11 xi xext' returned exit status 1 while in angle/src/angle.gyp. while loading dependencies of binding.gyp while trying to load binding.gyp npm error gyp ERR! configure error npm error gyp ERR! stack Error: gyp` failed with exit code: 1 npm error gyp ERR! stack at ChildProcess.onCpExit (/content/node_modules/node-gyp/lib/configure.js:325:16) npm error gyp ERR! stack at ChildProcess.emit (node:events:517:28) npm error gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:292:12) npm error gyp ERR! System Linux 6.1.85+ npm error gyp ERR! command “/tools/node/bin/node” “/content/node_modules/.bin/node-gyp” “rebuild” npm error gyp ERR! cwd /content/node_modules/gl npm error gyp ERR! node -v v18.20.5 npm error gyp ERR! node-gyp -v v9.4.1 npm error gyp ERR! not ok ⠹npm error A complete log of this run can be found in: /root/.npm/_logs/2024-12-06T23_09_33_039Z-debug-0.log ⠹

3

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật