Skip to content

Instantly share code, notes, and snippets.

@r10s
Created April 22, 2024 12:24
Show Gist options
  • Save r10s/96f8677f1f852a76c72b68d2c95061e7 to your computer and use it in GitHub Desktop.
Save r10s/96f8677f1f852a76c72b68d2c95061e7 to your computer and use it in GitHub Desktop.
npm WARN deprecated popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
npm ERR! code 1
npm ERR! path /Users/bpetersen/projects/deltachat-desktop/node_modules/deltachat-node
npm ERR! command failed
npm ERR! command sh -c node node/scripts/install.js
npm ERR! [i] Building rust core & c bindings, if possible use prebuilds
npm ERR! [i] running `npm run install:prebuilds`
npm ERR!
npm ERR! > deltachat-node@1.137.3 install:prebuilds
npm ERR! > cd node && node-gyp-build "npm run build:core" "npm run build:bindings:c:postinstall"
npm ERR!
npm ERR!
npm ERR! > deltachat-node@1.137.3 build:core
npm ERR! > npm run build:core:rust && npm run build:core:constants
npm ERR!
npm ERR!
npm ERR! > deltachat-node@1.137.3 build:core:rust
npm ERR! > node node/scripts/rebuild-core.js
npm ERR!
npm ERR!
npm ERR! > deltachat-node@1.137.3 build:core:constants
npm ERR! > node node/scripts/generate-constants.js
npm ERR!
npm ERR! Generating constants...
npm ERR!
npm ERR! CC(target) Release/obj.target/deltachat/src/module.o
npm ERR! Compiling proc-macro2 v1.0.78
npm ERR! Compiling unicode-ident v1.0.12
npm ERR! Compiling libc v0.2.153
npm ERR! Compiling cfg-if v1.0.0
npm ERR! Compiling version_check v0.9.4
npm ERR! Compiling autocfg v1.1.0
npm ERR! Compiling typenum v1.17.0
npm ERR! Compiling memchr v2.7.1
npm ERR! Compiling syn v1.0.109
npm ERR! Compiling pin-project-lite v0.2.13
npm ERR! Compiling const-oid v0.9.6
npm ERR! Compiling cc v1.0.90
npm ERR! Compiling subtle v2.5.0
npm ERR! Compiling scopeguard v1.2.0
npm ERR! Compiling smallvec v1.13.2
npm ERR! Compiling lock_api v0.4.11
npm ERR! Compiling generic-array v0.14.7
npm ERR! Compiling once_cell v1.19.0
npm ERR! Compiling futures-core v0.3.30
npm ERR! Compiling serde v1.0.197
npm ERR! Compiling bytes v1.5.0
npm ERR! Compiling log v0.4.21
npm ERR! Compiling parking_lot_core v0.9.9
npm ERR! Compiling thiserror v1.0.58
npm ERR! Compiling quote v1.0.35
npm ERR! Compiling syn v2.0.57
npm ERR! Compiling slab v0.4.9
npm ERR! Compiling base64ct v1.6.0
npm ERR! Compiling core-foundation-sys v0.8.6
npm ERR! Compiling futures-sink v0.3.30
npm ERR! Compiling itoa v1.0.10
npm ERR! Compiling libm v0.2.8
npm ERR! Compiling getrandom v0.2.12
npm ERR! Compiling socket2 v0.5.6
npm ERR! Compiling mio v0.8.11
npm ERR! Compiling signal-hook-registry v1.4.1
npm ERR! Compiling num_cpus v1.16.0
npm ERR! Compiling rand_core v0.6.4
npm ERR! Compiling num-traits v0.2.18
npm ERR! Compiling futures-io v0.3.30
npm ERR! Compiling parking_lot v0.12.1
npm ERR! Compiling futures-channel v0.3.30
npm ERR! Compiling tracing-core v0.1.32
npm ERR! Compiling ppv-lite86 v0.2.17
npm ERR! Compiling spin v0.5.2
npm ERR! Compiling futures-task v0.3.30
npm ERR! Compiling pin-utils v0.1.0
npm ERR! Compiling lazy_static v1.4.0
npm ERR! Compiling cpufeatures v0.2.12
npm ERR! Compiling simd-adler32 v0.3.7
npm ERR! Compiling ahash v0.8.11
npm ERR! Compiling bitflags v1.3.2
npm ERR! Compiling adler v1.0.2
npm ERR! Compiling pem-rfc7468 v0.7.0
npm ERR! Compiling miniz_oxide v0.7.2
npm ERR! Compiling ident_case v1.0.1
npm ERR! Compiling zerocopy v0.7.32
npm ERR! Compiling fnv v1.0.7
npm ERR! Compiling strsim v0.10.0
npm ERR! Compiling core-foundation v0.9.4
npm ERR! Compiling proc-macro-error-attr v1.0.4
npm ERR! Compiling bitflags v2.4.2
npm ERR! Compiling allocator-api2 v0.2.16
npm ERR! Compiling tinyvec_macros v0.1.1
npm ERR! Compiling tinyvec v1.6.0
npm ERR! Compiling proc-macro-error v1.0.4
npm ERR! Compiling rustix v0.38.31
npm ERR! Compiling hashbrown v0.14.3
npm ERR! Compiling byteorder v1.5.0
npm ERR! Compiling rand_chacha v0.3.1
npm ERR! Compiling errno v0.3.8
npm ERR! Compiling security-framework-sys v2.9.1
npm ERR! Compiling num-bigint v0.4.4
npm ERR! Compiling minimal-lexical v0.2.1
npm ERR! Compiling getrandom v0.1.16
npm ERR! Compiling security-framework v2.9.2
npm ERR! Compiling rand v0.8.5
npm ERR! Compiling nom v7.1.3
npm ERR! Compiling ring v0.17.8
npm ERR! Compiling unicode-xid v0.2.4
npm ERR! Compiling base64 v0.13.1
npm ERR! Compiling crossbeam-utils v0.8.19
npm ERR! Compiling num-integer v0.1.46
npm ERR! Compiling spin v0.9.8
npm ERR! Compiling backtrace v0.3.71
npm ERR! Compiling aho-corasick v1.1.3
npm ERR! Compiling equivalent v1.0.1
npm ERR! Compiling num-conv v0.1.0
npm ERR! Compiling gimli v0.28.1
npm ERR! Compiling time-core v0.1.2
npm ERR! Compiling regex-syntax v0.8.2
npm ERR! Compiling base64 v0.21.7
npm ERR! Compiling powerfmt v0.2.0
npm ERR! Compiling semver v1.0.22
npm ERR! Compiling deranged v0.3.11
npm ERR! Compiling time-macros v0.2.17
npm ERR! Compiling zeroize_derive v1.4.2
npm ERR! Compiling serde_derive v1.0.197
npm ERR! Compiling tokio-macros v2.2.0
npm ERR! Compiling thiserror-impl v1.0.58
npm ERR! Compiling futures-macro v0.3.30
npm ERR! Compiling zeroize v1.7.0
npm ERR! Compiling tokio v1.37.0
npm ERR! Compiling tracing-attributes v0.1.27
npm ERR! Compiling der v0.7.8
npm ERR! Compiling futures-util v0.3.30
npm ERR! Compiling pin-project-internal v1.1.5
npm ERR! Compiling crypto-common v0.1.6
npm ERR! Compiling block-buffer v0.10.4
npm ERR! Compiling digest v0.10.7
npm ERR! Compiling hmac v0.12.1
npm ERR! Compiling inout v0.1.3
npm ERR! Compiling sha2 v0.10.8
npm ERR! Compiling cipher v0.4.4
npm ERR! Compiling signature v2.2.0
npm ERR! Compiling spki v0.7.3
npm ERR! Compiling addr2line v0.21.0
npm ERR! Compiling regex-automata v0.4.6
npm ERR! Compiling pkcs8 v0.10.2
npm ERR! Compiling indexmap v2.2.5
npm ERR! Compiling pin-project v1.1.5
npm ERR! Compiling rand_core v0.5.1
npm ERR! Compiling tracing v0.1.40
npm ERR! Compiling darling_core v0.14.4
npm ERR! Compiling ff v0.13.0
npm ERR! Compiling object v0.32.2
npm ERR! Compiling pkg-config v0.3.30
npm ERR! Compiling base16ct v0.2.0
npm ERR! Compiling untrusted v0.9.0
npm ERR! Compiling vcpkg v0.2.15
npm ERR! Compiling encoding_index_tests v0.1.4
npm ERR! Compiling crc32fast v1.4.0
npm ERR! Compiling rustc-demangle v0.1.23
npm ERR! Compiling fastrand v2.0.1
npm ERR! Compiling futures-executor v0.3.30
npm ERR! Compiling http v1.1.0
npm ERR! Compiling sec1 v0.7.3
npm ERR! Compiling time v0.3.34
npm ERR! Compiling group v0.13.0
npm ERR! Compiling concurrent-queue v2.4.0
npm ERR! Compiling regex v1.10.4
npm ERR! Compiling hkdf v0.12.4
npm ERR! Compiling crypto-bigint v0.5.5
npm ERR! Compiling tokio-util v0.7.10
npm ERR! Compiling darling_macro v0.14.4
npm ERR! Compiling unicode-normalization v0.1.23
npm ERR! Compiling ring v0.16.20
npm ERR! Compiling openssl-src v300.1.6+3.1.4
npm ERR! Compiling unicode-bidi v0.3.15
npm ERR! Compiling anyhow v1.0.81
npm ERR! Compiling percent-encoding v2.3.1
npm ERR! Compiling openssl-sys v0.9.99
npm ERR! Compiling form_urlencoded v1.2.1
npm ERR! Compiling elliptic-curve v0.13.8
npm ERR! Compiling rustc_version v0.4.0
npm ERR! Compiling darling v0.14.4
npm ERR! Compiling futures v0.3.30
npm ERR! Compiling tempfile v3.10.1
npm ERR! Compiling rand_chacha v0.2.2
npm ERR! Compiling rfc6979 v0.4.0
npm ERR! Compiling der_derive v0.6.1
npm ERR! Compiling rustls-pemfile v1.0.4
npm ERR! Compiling synstructure v0.12.6
npm ERR! Compiling encoding_rs v0.8.33
npm ERR! Compiling platforms v3.3.0
npm ERR! Compiling serde_json v1.0.115
npm ERR! Compiling httparse v1.8.0
npm ERR! Compiling async-trait v0.1.77
npm ERR! Compiling rustls v0.21.10
npm ERR! Compiling system-configuration-sys v0.5.0
npm ERR! Compiling ryu v1.0.17
npm ERR! Compiling native-tls v0.2.11
npm ERR! Compiling untrusted v0.7.1
npm ERR! Compiling asn1-rs-derive v0.4.0
npm ERR! Compiling der v0.6.1
npm ERR! Compiling curve25519-dalek v4.1.2
npm ERR! Compiling rand v0.7.3
npm ERR! Compiling flate2 v1.0.28
npm ERR! Compiling idna v0.5.0
npm ERR! Compiling sct v0.7.1
npm ERR! Compiling rustls-webpki v0.101.7
npm ERR! Compiling http-body v1.0.0
npm ERR! Compiling digest v0.9.0
npm ERR! Compiling asn1-rs-impl v0.1.0
npm ERR! Compiling displaydoc v0.2.4
npm ERR! Compiling rusticata-macros v4.1.0
npm ERR! Compiling iana-time-zone v0.1.60
npm ERR! Compiling event-listener v2.5.3
npm ERR! Compiling data-encoding v2.5.0
npm ERR! Compiling try-lock v0.2.5
npm ERR! Compiling hex v0.4.3
npm ERR! Compiling toml_datetime v0.6.5
npm ERR! Compiling parking v2.2.0
npm ERR! Compiling num-bigint-dig v0.8.4
npm ERR! Compiling winnow v0.5.40
npm ERR! Compiling want v0.3.1
npm ERR! Compiling asn1-rs v0.5.2
npm ERR! Compiling enum-ordinalize v3.1.15
npm ERR! Compiling chrono v0.4.37
npm ERR! Compiling spki v0.6.0
npm ERR! Compiling url v2.5.0
npm ERR! Compiling charset v0.1.3
npm ERR! Compiling toml_edit v0.21.1
npm ERR! Compiling rustls-native-certs v0.6.3
npm ERR! Compiling ecdsa v0.16.9
npm ERR! Compiling h2 v0.4.4
npm ERR! Compiling libsqlite3-sys v0.28.0
npm ERR! Compiling block-buffer v0.9.0
npm ERR! Compiling num-iter v0.1.44
npm ERR! Compiling darling_core v0.13.4
npm ERR! Compiling blake3 v1.5.0
npm ERR! Compiling rustc-hash v1.1.0
npm ERR! Compiling oid-registry v0.6.1
npm ERR! Compiling regex-syntax v0.6.29
npm ERR! Compiling tower-service v0.3.2
npm ERR! Compiling signature v1.6.4
npm ERR! Compiling opaque-debug v0.3.1
npm ERR! Compiling tower-layer v0.3.2
npm ERR! Compiling heck v0.4.1
npm ERR! Compiling match_cfg v0.1.0
npm ERR! Compiling tower v0.4.13
npm ERR! Compiling proc-macro-crate v3.1.0
npm ERR! Compiling hostname v0.3.1
npm ERR! Compiling sha2 v0.9.9
npm ERR! Compiling ed25519 v1.5.3
npm ERR! Compiling quinn-proto v0.10.6
npm ERR! Compiling regex-automata v0.1.10
npm ERR! Compiling darling_macro v0.13.4
npm ERR! Compiling system-configuration v0.5.1
npm ERR! Compiling educe v0.4.23
npm ERR! Compiling pkcs8 v0.9.0
npm ERR! Compiling event-listener v5.2.0
npm ERR! Compiling async-channel v1.9.0
npm ERR! Compiling curve25519-dalek v3.2.0
npm ERR! Compiling derive_builder_core v0.12.0
npm ERR! Compiling hyper v1.2.0
npm ERR! Compiling primeorder v0.13.6
npm ERR! Compiling serde_bytes v0.11.14
npm ERR! Compiling serde_spanned v0.6.5
npm ERR! Compiling bincode v1.3.3
npm ERR! Compiling tokio-stream v0.1.15
npm ERR! Compiling encoding-index-tradchinese v1.20141219.5
npm ERR! Compiling encoding-index-japanese v1.20141219.5
npm ERR! Compiling encoding-index-korean v1.20141219.5
npm ERR! Compiling encoding-index-singlebyte v1.20141219.5
npm ERR! Compiling encoding-index-simpchinese v1.20141219.5
npm ERR! Compiling quinn-udp v0.4.1
npm ERR! Compiling const_format_proc_macros v0.2.32
npm ERR! Compiling nanorand v0.7.0
npm ERR! Compiling pem-rfc7468 v0.6.0
npm ERR! Compiling email v0.0.20 (https://github.com/deltachat/rust-email?branch=master#5179cd68)
npm ERR! Compiling portable-atomic v1.6.0
npm ERR! Compiling ipnet v2.9.0
npm ERR! Compiling ascii_utils v0.9.3
npm ERR! Compiling alloc-no-stdlib v2.0.4
npm ERR! Compiling base64 v0.12.3
npm ERR! Compiling winnow v0.6.5
npm ERR! Compiling arrayvec v0.7.4
npm ERR! Compiling rustversion v1.0.14
npm ERR! Compiling constant_time_eq v0.3.0
npm ERR! Compiling arrayref v0.3.7
npm ERR! Compiling crc24 v0.1.6
npm ERR! Compiling base16ct v0.1.1
npm ERR! Compiling overload v0.1.1
npm ERR! Compiling nu-ansi-term v0.46.0
npm ERR! Compiling const_format v0.2.32
npm ERR! Compiling sec1 v0.3.0
npm ERR! Compiling tokio-serde v0.8.0
npm ERR! Compiling encoded-words v0.2.0 (https://github.com/async-email/encoded-words?branch=master#d55366b3)
npm ERR! Compiling alloc-stdlib v0.2.2
npm ERR! Compiling fast_chemail v0.9.6
npm ERR! Compiling ssh-encoding v0.1.0
npm ERR! Compiling flume v0.11.0
npm ERR! Compiling encoding v0.2.33
npm ERR! Compiling quinn v0.10.2
npm ERR! Compiling derive_builder_macro v0.12.0
npm ERR! Compiling hyper-util v0.1.3
npm ERR! Compiling ed25519-dalek v1.0.1
npm ERR! Compiling event-listener-strategy v0.5.0
npm ERR! Compiling toml_edit v0.22.9
npm ERR! Compiling darling v0.13.4
npm ERR! Compiling num_enum_derive v0.7.2
npm ERR! Compiling matchers v0.1.0
npm ERR! Compiling der-parser v8.2.0
npm ERR! Compiling enum-as-inner v0.6.0
npm ERR! Compiling tokio-native-tls v0.3.1
npm ERR! Compiling http-body-util v0.1.0
npm ERR! Compiling uuid v1.8.0
npm ERR! Compiling idna v0.4.0
npm ERR! Compiling yasna v0.5.2
npm ERR! Compiling pkcs1 v0.7.5
npm ERR! Compiling ed25519 v2.2.3
npm ERR! Compiling postcard-derive v0.1.1
npm ERR! Compiling pem v1.1.1
npm ERR! Compiling hashlink v0.9.0
npm ERR! Compiling serde_derive_internals v0.26.0
npm ERR! Compiling tracing-log v0.2.0
npm ERR! Compiling fdeflate v0.3.4
npm ERR! Compiling keccak v0.1.5
npm ERR! Compiling sharded-slab v0.1.7
npm ERR! Compiling dirs-sys-next v0.1.2
npm ERR! Compiling thread_local v1.1.8
npm ERR! Compiling cobs v0.2.3
npm ERR! Compiling weezl v0.1.8
npm ERR! Compiling quick-error v1.2.3
npm ERR! Compiling schemars v0.8.16
npm ERR! Compiling embedded-io v0.4.0
npm ERR! Compiling base64 v0.11.0
npm ERR! Compiling linked-hash-map v0.5.6
npm ERR! Compiling fallible-streaming-iterator v0.1.9
npm ERR! Compiling same-file v1.0.6
npm ERR! Compiling fallible-iterator v0.3.0
npm ERR! Compiling color_quant v1.1.0
npm ERR! Compiling zune-core v0.4.12
npm ERR! Compiling convert_case v0.4.0
npm ERR! Compiling mime v0.3.17
npm ERR! Compiling gif v0.13.1
npm ERR! Compiling tracing-subscriber v0.3.18
npm ERR! Compiling walkdir v2.5.0
npm ERR! Compiling schemars_derive v0.8.16
npm ERR! Compiling zune-jpeg v0.4.11
npm ERR! Compiling derive_more v0.99.17
npm ERR! Compiling lru-cache v0.1.2
npm ERR! Compiling postcard v1.0.8
npm ERR! Compiling resolv-conf v0.7.0
npm ERR! Compiling png v0.17.13
npm ERR! Compiling sha3 v0.10.8
npm ERR! Compiling dirs-next v2.0.0
npm ERR! Compiling toml v0.8.12
npm ERR! Compiling rcgen v0.10.0
npm ERR! Compiling num_enum v0.7.2
npm ERR! Compiling hickory-proto v0.24.0
npm ERR! Compiling rsa v0.9.6
npm ERR! Compiling ed25519-dalek v2.1.1
npm ERR! Compiling hyper-tls v0.6.0
npm ERR! Compiling x509-parser v0.14.0
npm ERR! Compiling typescript-type-def-derive v0.5.11
npm ERR! Compiling quic-rpc v0.6.2
npm ERR! Compiling ssh-key v0.5.1
npm ERR! Compiling async-channel v2.2.0
npm ERR! Compiling derive_builder v0.12.0
npm ERR! Compiling lettre v0.9.2 (https://github.com/deltachat/lettre?branch=master#2ffdb534)
npm ERR! Compiling brotli-decompressor v4.0.0
npm ERR! Compiling abao v0.2.0
npm ERR! Compiling p256 v0.13.2
npm ERR! Compiling p384 v0.13.0
npm ERR! Compiling stop-token v0.7.0
npm ERR! Compiling x25519-dalek v2.0.1
npm ERR! Compiling default-net v0.14.1
npm ERR! Compiling dsa v0.6.3
npm ERR! Compiling k256 v0.13.3
npm ERR! Compiling async-compression v0.3.15
npm ERR! Compiling serde_urlencoded v0.7.1
npm ERR! Compiling serde-error v0.1.2
npm ERR! Compiling tracing-futures v0.2.5
npm ERR! Compiling idea v0.5.1
npm ERR! Compiling aes v0.8.4
npm ERR! Compiling des v0.8.1
npm ERR! Compiling cfb-mode v0.8.2
npm ERR! Compiling twofish v0.7.1
npm ERR! Compiling cast5 v0.11.1
npm ERR! Compiling camellia v0.1.0
npm ERR! Compiling blowfish v0.9.1
npm ERR! Compiling image-webp v0.1.1
npm ERR! Compiling sha1 v0.10.6
npm ERR! Compiling ripemd v0.1.3
npm ERR! Compiling md-5 v0.10.6
npm ERR! Compiling block-padding v0.3.3
npm ERR! Compiling imap-proto v0.16.4
npm ERR! Compiling xattr v1.3.1
npm ERR! Compiling filetime v0.2.23
npm ERR! Compiling time v0.1.45
npm ERR! Compiling bstr v1.9.1
npm ERR! Compiling buffer-redux v1.0.1
npm ERR! Compiling bytemuck v1.14.3
npm ERR! Compiling convert_case v0.5.0
npm ERR! Compiling quoted_printable v0.5.0
npm ERR! Compiling unicode-width v0.1.11
npm ERR! Compiling self_cell v1.0.3
npm ERR! Compiling mutate_once v0.1.1
npm ERR! Compiling unicode-linebreak v0.1.5
npm ERR! Compiling bitfield v0.14.0
npm ERR! Compiling dyn-clone v1.0.17
npm ERR! Compiling smawk v0.3.2
npm ERR! Compiling iter-read v1.0.1
npm ERR! Compiling sync_wrapper v0.1.2
npm ERR! Compiling entities v1.0.1
npm ERR! Compiling reqwest v0.12.2
npm ERR! Compiling textwrap v0.16.1
npm ERR! Compiling yerpc_derive v0.5.3
npm ERR! Compiling pgp v0.11.0
npm ERR! Compiling async-imap v0.9.7
npm ERR! Compiling escaper v0.1.1
npm ERR! Compiling kamadak-exif v0.5.5
npm ERR! Compiling mailparse v0.14.1
npm ERR! Compiling image v0.25.1
npm ERR! Compiling lettre_email v0.9.2 (https://github.com/deltachat/lettre?branch=master#2ffdb534)
npm ERR! Compiling tokio-tar v0.3.1
npm ERR! Compiling iroh v0.4.2
npm ERR! Compiling async_zip v0.0.12
npm ERR! Compiling hickory-resolver v0.24.0
npm ERR! Compiling brotli v5.0.0
npm ERR! Compiling strum_macros v0.26.2
npm ERR! Compiling typescript-type-def v0.5.11
npm ERR! Compiling fast-socks5 v0.9.6
npm ERR! Compiling async-smtp v0.9.1
npm ERR! Compiling async-native-tls v0.5.0
npm ERR! Compiling futures-lite v2.3.0
npm ERR! Compiling async-mutex v1.4.0
npm ERR! Compiling sanitize-filename v0.5.0
npm ERR! Compiling tokio-io-timeout v1.2.0
npm ERR! Compiling sha-1 v0.10.1
npm ERR! Compiling num-derive v0.4.2
npm ERR! Compiling deltachat_derive v2.0.0 (/Users/bpetersen/projects/deltachat-desktop/node_modules/deltachat-node/deltachat_derive)
npm ERR! Compiling fd-lock v4.0.2
npm ERR! Compiling humansize v2.1.3
npm ERR! Compiling quick-xml v0.31.0
npm ERR! Compiling base64 v0.22.0
npm ERR! Compiling rust-hsluv v0.1.4
npm ERR! Compiling tagger v4.3.5
npm ERR! Compiling format-flowed v1.0.0 (/Users/bpetersen/projects/deltachat-desktop/node_modules/deltachat-node/format-flowed)
npm ERR! Compiling strum v0.26.2
npm ERR! Compiling deltachat-time v1.0.0 (/Users/bpetersen/projects/deltachat-desktop/node_modules/deltachat-node/deltachat-time)
npm ERR! Compiling qrcodegen v1.8.0
npm ERR! Compiling ratelimit v1.0.0 (/Users/bpetersen/projects/deltachat-desktop/node_modules/deltachat-node/deltachat-ratelimit)
npm ERR! Compiling yerpc v0.5.3
npm ERR! Compiling os_info v3.7.0
npm ERR! Compiling deltachat_ffi v1.137.3 (/Users/bpetersen/projects/deltachat-desktop/node_modules/deltachat-node/deltachat-ffi)
npm ERR! Compiling human-panic v1.2.3
npm ERR! Compiling rusqlite v0.31.0
npm ERR! Compiling deltachat-contact-tools v0.1.0 (/Users/bpetersen/projects/deltachat-desktop/node_modules/deltachat-node/deltachat-contact-tools)
npm ERR! Compiling deltachat v1.137.3 (/Users/bpetersen/projects/deltachat-desktop/node_modules/deltachat-node)
npm ERR! Compiling deltachat-jsonrpc v1.137.3 (/Users/bpetersen/projects/deltachat-desktop/node_modules/deltachat-node/deltachat-jsonrpc)
npm ERR! Finished release [optimized] target(s) in 3m 00s
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@10.0.1
npm ERR! gyp info using node@18.20.2 | darwin | arm64
npm ERR! gyp info find Python using Python version 3.10.14 found at "/Users/bpetersen/.venv/bin/python3"
npm ERR! gyp http GET https://nodejs.org/download/release/v18.20.2/node-v18.20.2-headers.tar.gz
npm ERR! gyp http 200 https://nodejs.org/download/release/v18.20.2/node-v18.20.2-headers.tar.gz
npm ERR! gyp http GET https://nodejs.org/download/release/v18.20.2/SHASUMS256.txt
npm ERR! gyp http 200 https://nodejs.org/download/release/v18.20.2/SHASUMS256.txt
npm ERR! gyp info spawn /Users/bpetersen/.venv/bin/python3
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args '/opt/homebrew/Cellar/node@18/18.20.2/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
npm ERR! gyp info spawn args 'binding.gyp',
npm ERR! gyp info spawn args '-f',
npm ERR! gyp info spawn args 'make',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/Users/bpetersen/projects/deltachat-desktop/node_modules/deltachat-node/node/build/config.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/opt/homebrew/Cellar/node@18/18.20.2/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/Users/bpetersen/Library/Caches/node-gyp/18.20.2/include/node/common.gypi',
npm ERR! gyp info spawn args '-Dlibrary=shared_library',
npm ERR! gyp info spawn args '-Dvisibility=default',
npm ERR! gyp info spawn args '-Dnode_root_dir=/Users/bpetersen/Library/Caches/node-gyp/18.20.2',
npm ERR! gyp info spawn args '-Dnode_gyp_dir=/opt/homebrew/Cellar/node@18/18.20.2/lib/node_modules/npm/node_modules/node-gyp',
npm ERR! gyp info spawn args '-Dnode_lib_file=/Users/bpetersen/Library/Caches/node-gyp/18.20.2/<(target_arch)/node.lib',
npm ERR! gyp info spawn args '-Dmodule_root_dir=/Users/bpetersen/projects/deltachat-desktop/node_modules/deltachat-node/node',
npm ERR! gyp info spawn args '-Dnode_engine=v8',
npm ERR! gyp info spawn args '--depth=.',
npm ERR! gyp info spawn args '--no-parallel',
npm ERR! gyp info spawn args '--generator-output',
npm ERR! gyp info spawn args 'build',
npm ERR! gyp info spawn args '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp info spawn make
npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm ERR! ../src/module.c:476:45: error: incompatible function pointer types passing 'void (napi_env, void *, void *)' (aka 'void (struct napi_env__ *, void *, void *)') to parameter of type 'node_api_nogc_finalize' (aka 'void (*)(const struct napi_env__ *, void *, void *)') [-Wincompatible-function-pointer-types]
npm ERR! finalize_lot,
npm ERR! ^~~~~~~~~~~~
npm ERR! ../src/napi-macros-extensions.h:6:8: note: expanded from macro 'NAPI_STATUS_THROWS'
npm ERR! if ((call) != napi_ok) { \
npm ERR! ^~~~
npm ERR! /Users/bpetersen/Library/Caches/node-gyp/18.20.2/include/node/js_native_api.h:329:45: note: passing argument to parameter 'finalize_cb' here
npm ERR! node_api_nogc_finalize finalize_cb,
npm ERR! ^
npm ERR! ../src/module.c:726:56: error: incompatible function pointer types passing 'void (napi_env, void *, void *)' (aka 'void (struct napi_env__ *, void *, void *)') to parameter of type 'node_api_nogc_finalize' (aka 'void (*)(const struct napi_env__ *, void *, void *)') [-Wincompatible-function-pointer-types]
npm ERR! NAPI_STATUS_THROWS(napi_create_external(env, chat, finalize_chat,
npm ERR! ^~~~~~~~~~~~~
npm ERR! ../src/napi-macros-extensions.h:6:8: note: expanded from macro 'NAPI_STATUS_THROWS'
npm ERR! if ((call) != napi_ok) { \
npm ERR! ^~~~
npm ERR! /Users/bpetersen/Library/Caches/node-gyp/18.20.2/include/node/js_native_api.h:329:45: note: passing argument to parameter 'finalize_cb' here
npm ERR! node_api_nogc_finalize finalize_cb,
npm ERR! ^
npm ERR! ../src/module.c:839:43: error: incompatible function pointer types passing 'void (napi_env, void *, void *)' (aka 'void (struct napi_env__ *, void *, void *)') to parameter of type 'node_api_nogc_finalize' (aka 'void (*)(const struct napi_env__ *, void *, void *)') [-Wincompatible-function-pointer-types]
npm ERR! finalize_chatlist,
npm ERR! ^~~~~~~~~~~~~~~~~
npm ERR! ../src/napi-macros-extensions.h:6:8: note: expanded from macro 'NAPI_STATUS_THROWS'
npm ERR! if ((call) != napi_ok) { \
npm ERR! ^~~~
npm ERR! /Users/bpetersen/Library/Caches/node-gyp/18.20.2/include/node/js_native_api.h:329:45: note: passing argument to parameter 'finalize_cb' here
npm ERR! node_api_nogc_finalize finalize_cb,
npm ERR! ^
npm ERR! ../src/module.c:874:45: error: incompatible function pointer types passing 'void (napi_env, void *, void *)' (aka 'void (struct napi_env__ *, void *, void *)') to parameter of type 'node_api_nogc_finalize' (aka 'void (*)(const struct napi_env__ *, void *, void *)') [-Wincompatible-function-pointer-types]
npm ERR! finalize_contact,
npm ERR! ^~~~~~~~~~~~~~~~
npm ERR! ../src/napi-macros-extensions.h:6:8: note: expanded from macro 'NAPI_STATUS_THROWS'
npm ERR! if ((call) != napi_ok) { \
npm ERR! ^~~~
npm ERR! /Users/bpetersen/Library/Caches/node-gyp/18.20.2/include/node/js_native_api.h:329:45: note: passing argument to parameter 'finalize_cb' here
npm ERR! node_api_nogc_finalize finalize_cb,
npm ERR! ^
npm ERR! ../src/module.c:956:57: error: incompatible function pointer types passing 'void (napi_env, void *, void *)' (aka 'void (struct napi_env__ *, void *, void *)') to parameter of type 'node_api_nogc_finalize' (aka 'void (*)(const struct napi_env__ *, void *, void *)') [-Wincompatible-function-pointer-types]
npm ERR! NAPI_STATUS_THROWS(napi_create_external(env, draft, finalize_msg,
npm ERR! ^~~~~~~~~~~~
npm ERR! ../src/napi-macros-extensions.h:6:8: note: expanded from macro 'NAPI_STATUS_THROWS'
npm ERR! if ((call) != napi_ok) { \
npm ERR! ^~~~
npm ERR! /Users/bpetersen/Library/Caches/node-gyp/18.20.2/include/node/js_native_api.h:329:45: note: passing argument to parameter 'finalize_cb' here
npm ERR! node_api_nogc_finalize finalize_cb,
npm ERR! ^
npm ERR! ../src/module.c:1012:55: error: incompatible function pointer types passing 'void (napi_env, void *, void *)' (aka 'void (struct napi_env__ *, void *, void *)') to parameter of type 'node_api_nogc_finalize' (aka 'void (*)(const struct napi_env__ *, void *, void *)') [-Wincompatible-function-pointer-types]
npm ERR! NAPI_STATUS_THROWS(napi_create_external(env, msg, finalize_msg,
npm ERR! ^~~~~~~~~~~~
npm ERR! ../src/napi-macros-extensions.h:6:8: note: expanded from macro 'NAPI_STATUS_THROWS'
npm ERR! if ((call) != napi_ok) { \
npm ERR! ^~~~
npm ERR! /Users/bpetersen/Library/Caches/node-gyp/18.20.2/include/node/js_native_api.h:329:45: note: passing argument to parameter 'finalize_cb' here
npm ERR! node_api_nogc_finalize finalize_cb,
npm ERR! ^
npm ERR! ../src/module.c:1290:53: error: incompatible function pointer types passing 'void (napi_env, void *, void *)' (aka 'void (struct napi_env__ *, void *, void *)') to parameter of type 'node_api_nogc_finalize' (aka 'void (*)(const struct napi_env__ *, void *, void *)') [-Wincompatible-function-pointer-types]
npm ERR! NAPI_STATUS_THROWS(napi_create_external(env, msg, finalize_msg,
npm ERR! ^~~~~~~~~~~~
npm ERR! ../src/napi-macros-extensions.h:6:8: note: expanded from macro 'NAPI_STATUS_THROWS'
npm ERR! if ((call) != napi_ok) { \
npm ERR! ^~~~
npm ERR! /Users/bpetersen/Library/Caches/node-gyp/18.20.2/include/node/js_native_api.h:329:45: note: passing argument to parameter 'finalize_cb' here
npm ERR! node_api_nogc_finalize finalize_cb,
npm ERR! ^
npm ERR! ../src/module.c:1787:45: error: incompatible function pointer types passing 'void (napi_env, void *, void *)' (aka 'void (struct napi_env__ *, void *, void *)') to parameter of type 'node_api_nogc_finalize' (aka 'void (*)(const struct napi_env__ *, void *, void *)') [-Wincompatible-function-pointer-types]
npm ERR! finalize_lot,
npm ERR! ^~~~~~~~~~~~
npm ERR! ../src/napi-macros-extensions.h:6:8: note: expanded from macro 'NAPI_STATUS_THROWS'
npm ERR! if ((call) != napi_ok) { \
npm ERR! ^~~~
npm ERR! /Users/bpetersen/Library/Caches/node-gyp/18.20.2/include/node/js_native_api.h:329:45: note: passing argument to parameter 'finalize_cb' here
npm ERR! node_api_nogc_finalize finalize_cb,
npm ERR! ^
npm ERR! ../src/module.c:1809:45: error: incompatible function pointer types passing 'void (napi_env, void *, void *)' (aka 'void (struct napi_env__ *, void *, void *)') to parameter of type 'node_api_nogc_finalize' (aka 'void (*)(const struct napi_env__ *, void *, void *)') [-Wincompatible-function-pointer-types]
npm ERR! finalize_lot,
npm ERR! ^~~~~~~~~~~~
npm ERR! ../src/napi-macros-extensions.h:6:8: note: expanded from macro 'NAPI_STATUS_THROWS'
npm ERR! if ((call) != napi_ok) { \
npm ERR! ^~~~
npm ERR! /Users/bpetersen/Library/Caches/node-gyp/18.20.2/include/node/js_native_api.h:329:45: note: passing argument to parameter 'finalize_cb' here
npm ERR! node_api_nogc_finalize finalize_cb,
npm ERR! ^
npm ERR! ../src/module.c:2034:55: error: incompatible function pointer types passing 'void (napi_env, void *, void *)' (aka 'void (struct napi_env__ *, void *, void *)') to parameter of type 'node_api_nogc_finalize' (aka 'void (*)(const struct napi_env__ *, void *, void *)') [-Wincompatible-function-pointer-types]
npm ERR! NAPI_STATUS_THROWS(napi_create_external(env, msg, finalize_msg,
npm ERR! ^~~~~~~~~~~~
npm ERR! ../src/napi-macros-extensions.h:6:8: note: expanded from macro 'NAPI_STATUS_THROWS'
npm ERR! if ((call) != napi_ok) { \
npm ERR! ^~~~
npm ERR! /Users/bpetersen/Library/Caches/node-gyp/18.20.2/include/node/js_native_api.h:329:45: note: passing argument to parameter 'finalize_cb' here
npm ERR! node_api_nogc_finalize finalize_cb,
npm ERR! ^
npm ERR! ../src/module.c:2183:55: error: incompatible function pointer types passing 'void (napi_env, void *, void *)' (aka 'void (struct napi_env__ *, void *, void *)') to parameter of type 'node_api_nogc_finalize' (aka 'void (*)(const struct napi_env__ *, void *, void *)') [-Wincompatible-function-pointer-types]
npm ERR! NAPI_STATUS_THROWS(napi_create_external(env, msg, finalize_msg,
npm ERR! ^~~~~~~~~~~~
npm ERR! ../src/napi-macros-extensions.h:6:8: note: expanded from macro 'NAPI_STATUS_THROWS'
npm ERR! if ((call) != napi_ok) { \
npm ERR! ^~~~
npm ERR! /Users/bpetersen/Library/Caches/node-gyp/18.20.2/include/node/js_native_api.h:329:45: note: passing argument to parameter 'finalize_cb' here
npm ERR! node_api_nogc_finalize finalize_cb,
npm ERR! ^
npm ERR! ../src/module.c:2258:43: error: incompatible function pointer types passing 'void (napi_env, void *, void *)' (aka 'void (struct napi_env__ *, void *, void *)') to parameter of type 'node_api_nogc_finalize' (aka 'void (*)(const struct napi_env__ *, void *, void *)') [-Wincompatible-function-pointer-types]
npm ERR! finalize_lot,
npm ERR! ^~~~~~~~~~~~
npm ERR! ../src/napi-macros-extensions.h:6:8: note: expanded from macro 'NAPI_STATUS_THROWS'
npm ERR! if ((call) != napi_ok) { \
npm ERR! ^~~~
npm ERR! /Users/bpetersen/Library/Caches/node-gyp/18.20.2/include/node/js_native_api.h:329:45: note: passing argument to parameter 'finalize_cb' here
npm ERR! node_api_nogc_finalize finalize_cb,
npm ERR! ^
npm ERR! ../src/module.c:2611:43: error: incompatible function pointer types passing 'void (napi_env, void *, void *)' (aka 'void (struct napi_env__ *, void *, void *)') to parameter of type 'node_api_nogc_finalize' (aka 'void (*)(const struct napi_env__ *, void *, void *)') [-Wincompatible-function-pointer-types]
npm ERR! finalize_array,
npm ERR! ^~~~~~~~~~~~~~
npm ERR! ../src/napi-macros-extensions.h:6:8: note: expanded from macro 'NAPI_STATUS_THROWS'
npm ERR! if ((call) != napi_ok) { \
npm ERR! ^~~~
npm ERR! /Users/bpetersen/Library/Caches/node-gyp/18.20.2/include/node/js_native_api.h:329:45: note: passing argument to parameter 'finalize_cb' here
npm ERR! node_api_nogc_finalize finalize_cb,
npm ERR! ^
npm ERR! ../src/module.c:2808:60: error: incompatible function pointer types passing 'void (napi_env, void *, void *)' (aka 'void (struct napi_env__ *, void *, void *)') to parameter of type 'node_api_nogc_finalize' (aka 'void (*)(const struct napi_env__ *, void *, void *)') [-Wincompatible-function-pointer-types]
npm ERR! NAPI_STATUS_THROWS(napi_create_external(env, provider, finalize_provider,
npm ERR! ^~~~~~~~~~~~~~~~~
npm ERR! ../src/napi-macros-extensions.h:6:8: note: expanded from macro 'NAPI_STATUS_THROWS'
npm ERR! if ((call) != napi_ok) { \
npm ERR! ^~~~
npm ERR! /Users/bpetersen/Library/Caches/node-gyp/18.20.2/include/node/js_native_api.h:329:45: note: passing argument to parameter 'finalize_cb' here
npm ERR! node_api_nogc_finalize finalize_cb,
npm ERR! ^
npm ERR! 14 errors generated.
npm ERR! make: *** [Release/obj.target/deltachat/src/module.o] Error 1
npm ERR! gyp ERR! build error
npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
npm ERR! gyp ERR! stack at ChildProcess.<anonymous> (/opt/homebrew/Cellar/node@18/18.20.2/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:209:23)
npm ERR! gyp ERR! System Darwin 23.4.0
npm ERR! gyp ERR! command "/opt/homebrew/Cellar/node@18/18.20.2/bin/node" "/opt/homebrew/Cellar/node@18/18.20.2/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd /Users/bpetersen/projects/deltachat-desktop/node_modules/deltachat-node/node
npm ERR! gyp ERR! node -v v18.20.2
npm ERR! gyp ERR! node-gyp -v v10.0.1
npm ERR! gyp ERR! not ok
npm ERR! node:child_process:965
npm ERR! throw err;
npm ERR! ^
npm ERR!
npm ERR! Error: Command failed: npm run install:prebuilds
npm ERR! at checkExecSyncError (node:child_process:890:11)
npm ERR! at execSync (node:child_process:962:15)
npm ERR! at run (/Users/bpetersen/projects/deltachat-desktop/node_modules/deltachat-node/node/scripts/install.js:7:3)
npm ERR! at Object.<anonymous> (/Users/bpetersen/projects/deltachat-desktop/node_modules/deltachat-node/node/scripts/install.js:16:3)
npm ERR! at Module._compile (node:internal/modules/cjs/loader:1364:14)
npm ERR! at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
npm ERR! at Module.load (node:internal/modules/cjs/loader:1203:32)
npm ERR! at Module._load (node:internal/modules/cjs/loader:1019:12)
npm ERR! at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12) {
npm ERR! status: 1,
npm ERR! signal: null,
npm ERR! output: [ null, null, null ],
npm ERR! pid: 14856,
npm ERR! stdout: null,
npm ERR! stderr: null
npm ERR! }
npm ERR!
npm ERR! Node.js v18.20.2
npm ERR! A complete log of this run can be found in: /Users/bpetersen/.npm/_logs/2024-04-22T12_18_50_278Z-debug-0.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment