-
Describe the bug $ node desktop --custom-desktop-release
node:internal/modules/esm/resolve:204
const resolvedOption = FSLegacyMainResolve(pkgPath, packageConfig.main, baseStringified);
^
Error: Cannot find package '/Users/srm/Documents/srm/dev/tutanota/node_modules/@tutao/tuta-wasm-loader/dist/index.js' imported from /Users/srm/Documents/srm/dev/tutanota/buildSrc/buildWebapp.js
at legacyMainResolve (node:internal/modules/esm/resolve:204:26)
at packageResolve (node:internal/modules/esm/resolve:778:12)
at moduleResolve (node:internal/modules/esm/resolve:854:18)
at defaultResolve (node:internal/modules/esm/resolve:984:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:780:12)
at #cachedDefaultResolve (node:internal/modules/esm/loader:704:25)
at ModuleLoader.resolve (node:internal/modules/esm/loader:687:38)
at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:305:38)
at ModuleJob._link (node:internal/modules/esm/module_job:175:49) {
code: 'ERR_MODULE_NOT_FOUND'
}
Node.js v22.17.0 All pre-requisites were satisfied including:
git clone --recurse-submodules -j8 git+ssh://[email protected]/sr-murthy/tutanota
git version 2.39.5 (Apple Git-154)
$ node -v && nvm -v && npm -v
v22.17.0
0.40.3
10.9.2 To Reproduce Expected behavior Screenshots Desktop (please complete the following information):
Additional context |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Did |
Beta Was this translation helpful? Give feedback.
-
$ npm run build-packages
> [email protected] build-packages
> node buildSrc/buildPackages.js all
Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
Blocking waiting for file lock on build directory
Compiling proc-macro2 v1.0.95
Compiling unicode-ident v1.0.18
Compiling libc v0.2.172
Compiling cfg-if v1.0.0
Compiling version_check v0.9.5
Compiling autocfg v1.4.0
Compiling typenum v1.18.0
Compiling shlex v1.3.0
error[E0463]: can't find crate for `core`
|
= note: the `x86_64-apple-darwin` target may not be installed
= help: consider downloading the target with `rustup target add x86_64-apple-darwin`
For more information about this error, try `rustc --explain E0463`.
error: could not compile `cfg-if` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
file:///Users/srm/Documents/srm/dev/tutanota/node_modules/@napi-rs/cli/dist/api/build.js:188
reject(new Error(`Build failed with exit code ${code}`));
^
Error: Build failed with exit code 101
at ChildProcess.<anonymous> (file:///Users/srm/Documents/srm/dev/tutanota/node_modules/@napi-rs/cli/dist/api/build.js:188:28)
at Object.onceWrapper (node:events:633:26)
at ChildProcess.emit (node:events:530:35)
at ChildProcess._handle.onexit (node:internal/child_process:293:12)
Node.js v22.17.0
npm error Lifecycle script `build` failed with error:
npm error code 1
npm error path /Users/srm/Documents/srm/dev/tutanota/packages/node-mimimi
npm error workspace @tutao/[email protected]
npm error location /Users/srm/Documents/srm/dev/tutanota/packages/node-mimimi
npm error command failed
npm error command sh -c node make
Compiling proc-macro2 v1.0.95
Compiling cfg-if v1.0.0
Compiling libc v0.2.172
Compiling typenum v1.18.0
Compiling generic-array v0.14.7
Compiling serde v1.0.219
Compiling subtle v2.6.1
Compiling const-oid v0.9.6
Compiling dunce v1.0.5
Compiling bytes v1.10.1
Compiling pin-project-lite v0.2.16
Compiling memchr v2.7.4
Compiling quote v1.0.40
Compiling jobserver v0.1.33
Compiling getrandom v0.2.16
Compiling once_cell v1.21.3
Compiling futures-core v0.3.31
Compiling syn v2.0.101
Compiling fs_extra v1.3.0
Compiling rand_core v0.6.4
Compiling cc v1.2.25
Compiling slab v0.4.9
Compiling semver v1.0.26
Compiling futures-sink v0.3.31
Compiling socket2 v0.5.10
Compiling mio v1.0.4
Compiling crypto-common v0.1.6
Compiling block-buffer v0.10.4
Compiling aho-corasick v1.1.3
Compiling itoa v1.0.15
Compiling digest v0.10.7
Compiling base64ct v1.7.3
Compiling regex-syntax v0.8.5
Compiling cmake v0.1.54
Compiling thiserror v1.0.69
Compiling anyhow v1.0.98
Compiling libm v0.2.15
Compiling aws-lc-rs v1.13.1
Compiling zerocopy v0.8.25
Compiling fnv v1.0.7
Compiling http v1.3.1
Compiling futures-channel v0.3.31
Compiling num-traits v0.2.19
Compiling futures-task v0.3.31
Compiling siphasher v1.0.1
Compiling futures-io v0.3.31
Compiling pin-utils v0.1.0
Compiling phf_shared v0.11.3
Compiling rand v0.8.5
Compiling aws-lc-sys v0.29.0
Compiling ring v0.17.14
Compiling regex-automata v0.4.9
Compiling pem-rfc7468 v0.7.0
Compiling tracing-core v0.1.33
Compiling cpufeatures v0.2.17
Compiling equivalent v1.0.2
Compiling hashbrown v0.15.3
Compiling core-foundation-sys v0.8.7
Compiling untrusted v0.9.0
Compiling smallvec v1.15.0
Compiling httparse v1.10.1
Compiling log v0.4.27
Compiling indexmap v2.9.0
Compiling tracing v0.1.41
Compiling ppv-lite86 v0.2.21
Compiling phf_generator v0.11.3
Compiling pqcrypto-internals v0.2.10
Compiling http-body v1.0.1
Compiling regex v1.11.1
Compiling block-padding v0.3.3
Compiling fs-err v2.11.0
Compiling camino v1.1.10
Compiling winnow v0.7.10
Compiling bitflags v2.9.1
Compiling paste v1.0.15
Compiling rustls v0.23.27
Compiling toml_datetime v0.6.9
Compiling try-lock v0.2.5
Compiling atomic-waker v1.1.2
Compiling xml-rs v0.8.26
Compiling want v0.3.1
Compiling inout v0.1.4
Compiling parse-zoneinfo v0.3.1
Compiling serde_derive v1.0.219
Compiling zeroize_derive v1.4.2
Compiling tokio-macros v2.5.0
Compiling futures-macro v0.3.31
Compiling thiserror-impl v1.0.69
Compiling toml_edit v0.22.26
Compiling zeroize v1.8.1
Compiling tokio v1.45.1
Compiling futures-util v0.3.31
Compiling rustls-pki-types v1.12.0
Compiling der v0.7.10
Compiling uniffi_checksum_derive v0.27.1 (https://github.com/mozilla/uniffi-rs.git?rev=13a1c559cb3708eeca40dcf95dc8b3ccccf3b88c#13a1c559)
Compiling num-integer v0.1.46
Compiling spki v0.7.3
Compiling phf_codegen v0.11.3
Compiling rand_chacha v0.3.1
Compiling core-foundation v0.10.1
Compiling security-framework-sys v2.14.0
Compiling signature v2.2.0
Compiling num-conv v0.1.0
Compiling powerfmt v0.2.0
Compiling siphasher v0.3.11
Compiling spin v0.9.8
Compiling num-bigint-dig v0.8.4
Compiling glob v0.3.2
Compiling time-core v0.1.4
Compiling httpdate v1.0.3
Compiling time-macros v0.2.22
Compiling tokio-util v0.7.15
Compiling pqcrypto-mlkem v0.1.0
Compiling uniffi_meta v0.27.1 (https://github.com/mozilla/uniffi-rs.git?rev=13a1c559cb3708eeca40dcf95dc8b3ccccf3b88c#13a1c559)
Compiling h2 v0.4.10
Compiling lazy_static v1.5.0
Compiling security-framework v3.2.0
Compiling pkcs8 v0.10.2
Compiling serde-xml-rs v0.5.1
Compiling bincode v1.3.3
Compiling rustc_version v0.4.1
Compiling deranged v0.4.0
Compiling time-tz v2.0.0
Compiling toml v0.5.11
Compiling num-iter v0.1.45
Compiling curve25519-dalek v4.1.3
Compiling proc-macro-crate v3.3.0
Compiling cipher v0.4.4
Compiling num_threads v0.1.7
Compiling hyper v1.6.0
Compiling byteorder v1.5.0
Compiling minimal-lexical v0.2.1
Compiling static_assertions v1.1.0
Compiling minicbor v0.25.1
Compiling serde_json v1.0.140
Compiling tower-service v0.3.3
Compiling thiserror v2.0.12
Compiling unicode-segmentation v1.12.0
Compiling uniffi_macros v0.27.1 (https://github.com/mozilla/uniffi-rs.git?rev=13a1c559cb3708eeca40dcf95dc8b3ccccf3b88c#13a1c559)
Compiling convert_case v0.6.0
Compiling time v0.3.41
Compiling hyper-util v0.1.13
Compiling nom v7.1.3
Compiling uniffi_core v0.27.1 (https://github.com/mozilla/uniffi-rs.git?rev=13a1c559cb3708eeca40dcf95dc8b3ccccf3b88c#13a1c559)
Compiling num_enum_derive v0.7.3
Compiling pkcs1 v0.7.5
Compiling rustls-native-certs v0.8.1
Compiling phf v0.11.3
Compiling ed25519 v2.2.3
Compiling futures-executor v0.3.31
Compiling thiserror-impl v2.0.12
Compiling sha2 v0.10.9
Compiling keccak v0.1.5
Compiling password-hash v0.5.0
Compiling blake2 v0.10.6
Compiling hmac v0.12.1
Compiling percent-encoding v2.3.1
Compiling napi-build v2.2.0
Compiling pqcrypto-traits v0.3.5
Compiling ryu v1.0.20
Compiling tutao_node-mimimi v296.250708.0 (/Users/srm/Documents/srm/dev/tutanota/packages/node-mimimi)
Compiling form_urlencoded v1.2.1
Compiling hkdf v0.12.4
Compiling argon2 v0.5.3
Compiling uniffi v0.27.1 (https://github.com/mozilla/uniffi-rs.git?rev=13a1c559cb3708eeca40dcf95dc8b3ccccf3b88c#13a1c559)
Compiling sha3 v0.10.8
Compiling ed25519-dalek v2.1.1
Compiling futures v0.3.31
Compiling num_enum v0.7.3
Compiling rsa v0.9.8
Compiling napi-derive-backend v1.0.75
Compiling aes v0.8.4
Compiling cbc v0.1.2
Compiling serde_bytes v0.11.17
Compiling const-hex v1.14.1
Compiling hashify v0.2.6
Compiling async-trait v0.1.88
Compiling ctor v0.2.9
Compiling http-body-util v0.1.3
Compiling encoding_rs v0.8.35
Compiling napi-sys v2.4.0
Compiling base64 v0.22.1
Compiling lz4_flex v0.11.3
Compiling napi v2.16.17
Compiling mail-parser v0.10.2
Compiling napi-derive v2.16.13
Compiling rustls-webpki v0.103.3
Compiling tokio-rustls v0.26.2
Compiling hyper-rustls v0.27.6
^[[B Compiling tuta-sdk v296.250708.0 (/Users/srm/Documents/srm/dev/tutanota/tuta-sdk/rust/sdk)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 04s
/Users/srm/Documents/srm/dev/tutanota/node_modules/zx/build/core.cjs:250
const output = new ProcessOutput(
^
ProcessOutput [Error]: Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
Blocking waiting for file lock on build directory
Compiling proc-macro2 v1.0.95
Compiling unicode-ident v1.0.18
Compiling libc v0.2.172
Compiling cfg-if v1.0.0
Compiling version_check v0.9.5
Compiling autocfg v1.4.0
Compiling typenum v1.18.0
Compiling shlex v1.3.0
error[E0463]: can't find crate for `core`
|
= note: the `x86_64-apple-darwin` target may not be installed
= help: consider downloading the target with `rustup target add x86_64-apple-darwin`
For more information about this error, try `rustc --explain E0463`.
error: could not compile `cfg-if` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
file:///Users/srm/Documents/srm/dev/tutanota/node_modules/@napi-rs/cli/dist/api/build.js:188
reject(new Error(`Build failed with exit code ${code}`));
^
Error: Build failed with exit code 101
at ChildProcess.<anonymous> (file:///Users/srm/Documents/srm/dev/tutanota/node_modules/@napi-rs/cli/dist/api/build.js:188:28)
at Object.onceWrapper (node:events:633:26)
at ChildProcess.emit (node:events:530:35)
at ChildProcess._handle.onexit (node:internal/child_process:293:12)
Node.js v22.17.0
npm error Lifecycle script `build` failed with error:
npm error code 1
npm error path /Users/srm/Documents/srm/dev/tutanota/packages/node-mimimi
npm error workspace @tutao/[email protected]
npm error location /Users/srm/Documents/srm/dev/tutanota/packages/node-mimimi
npm error command failed
npm error command sh -c node make
Compiling proc-macro2 v1.0.95
Compiling cfg-if v1.0.0
Compiling libc v0.2.172
Compiling typenum v1.18.0
Compiling generic-array v0.14.7
Compiling serde v1.0.219
Compiling subtle v2.6.1
Compiling const-oid v0.9.6
Compiling dunce v1.0.5
Compiling bytes v1.10.1
Compiling pin-project-lite v0.2.16
Compiling memchr v2.7.4
Compiling quote v1.0.40
Compiling jobserver v0.1.33
Compiling getrandom v0.2.16
Compiling once_cell v1.21.3
Compiling futures-core v0.3.31
Compiling syn v2.0.101
Compiling fs_extra v1.3.0
Compiling rand_core v0.6.4
Compiling cc v1.2.25
Compiling slab v0.4.9
Compiling semver v1.0.26
Compiling futures-sink v0.3.31
Compiling socket2 v0.5.10
Compiling mio v1.0.4
Compiling crypto-common v0.1.6
Compiling block-buffer v0.10.4
Compiling aho-corasick v1.1.3
Compiling itoa v1.0.15
Compiling digest v0.10.7
Compiling base64ct v1.7.3
Compiling regex-syntax v0.8.5
Compiling cmake v0.1.54
Compiling thiserror v1.0.69
Compiling anyhow v1.0.98
Compiling libm v0.2.15
Compiling aws-lc-rs v1.13.1
Compiling zerocopy v0.8.25
Compiling fnv v1.0.7
Compiling http v1.3.1
Compiling futures-channel v0.3.31
Compiling num-traits v0.2.19
Compiling futures-task v0.3.31
Compiling siphasher v1.0.1
Compiling futures-io v0.3.31
Compiling pin-utils v0.1.0
Compiling phf_shared v0.11.3
Compiling rand v0.8.5
Compiling aws-lc-sys v0.29.0
Compiling ring v0.17.14
Compiling regex-automata v0.4.9
Compiling pem-rfc7468 v0.7.0
Compiling tracing-core v0.1.33
Compiling cpufeatures v0.2.17
Compiling equivalent v1.0.2
Compiling hashbrown v0.15.3
Compiling core-foundation-sys v0.8.7
Compiling untrusted v0.9.0
Compiling smallvec v1.15.0
Compiling httparse v1.10.1
Compiling log v0.4.27
Compiling indexmap v2.9.0
Compiling tracing v0.1.41
Compiling ppv-lite86 v0.2.21
Compiling phf_generator v0.11.3
Compiling pqcrypto-internals v0.2.10
Compiling http-body v1.0.1
Compiling regex v1.11.1
Compiling block-padding v0.3.3
Compiling fs-err v2.11.0
Compiling camino v1.1.10
Compiling winnow v0.7.10
Compiling bitflags v2.9.1
Compiling paste v1.0.15
Compiling rustls v0.23.27
Compiling toml_datetime v0.6.9
Compiling try-lock v0.2.5
Compiling atomic-waker v1.1.2
Compiling xml-rs v0.8.26
Compiling want v0.3.1
Compiling inout v0.1.4
Compiling parse-zoneinfo v0.3.1
Compiling serde_derive v1.0.219
Compiling zeroize_derive v1.4.2
Compiling tokio-macros v2.5.0
Compiling futures-macro v0.3.31
Compiling thiserror-impl v1.0.69
Compiling toml_edit v0.22.26
Compiling zeroize v1.8.1
Compiling tokio v1.45.1
Compiling futures-util v0.3.31
Compiling rustls-pki-types v1.12.0
Compiling der v0.7.10
Compiling uniffi_checksum_derive v0.27.1 (https://github.com/mozilla/uniffi-rs.git?rev=13a1c559cb3708eeca40dcf95dc8b3ccccf3b88c#13a1c559)
Compiling num-integer v0.1.46
Compiling spki v0.7.3
Compiling phf_codegen v0.11.3
Compiling rand_chacha v0.3.1
Compiling core-foundation v0.10.1
Compiling security-framework-sys v2.14.0
Compiling signature v2.2.0
Compiling num-conv v0.1.0
Compiling powerfmt v0.2.0
Compiling siphasher v0.3.11
Compiling spin v0.9.8
Compiling num-bigint-dig v0.8.4
Compiling glob v0.3.2
Compiling time-core v0.1.4
Compiling httpdate v1.0.3
Compiling time-macros v0.2.22
Compiling tokio-util v0.7.15
Compiling pqcrypto-mlkem v0.1.0
Compiling uniffi_meta v0.27.1 (https://github.com/mozilla/uniffi-rs.git?rev=13a1c559cb3708eeca40dcf95dc8b3ccccf3b88c#13a1c559)
Compiling h2 v0.4.10
Compiling lazy_static v1.5.0
Compiling security-framework v3.2.0
Compiling pkcs8 v0.10.2
Compiling serde-xml-rs v0.5.1
Compiling bincode v1.3.3
Compiling rustc_version v0.4.1
Compiling deranged v0.4.0
Compiling time-tz v2.0.0
Compiling toml v0.5.11
Compiling num-iter v0.1.45
Compiling curve25519-dalek v4.1.3
Compiling proc-macro-crate v3.3.0
Compiling cipher v0.4.4
Compiling num_threads v0.1.7
Compiling hyper v1.6.0
Compiling byteorder v1.5.0
Compiling minimal-lexical v0.2.1
Compiling static_assertions v1.1.0
Compiling minicbor v0.25.1
Compiling serde_json v1.0.140
Compiling tower-service v0.3.3
Compiling thiserror v2.0.12
Compiling unicode-segmentation v1.12.0
Compiling uniffi_macros v0.27.1 (https://github.com/mozilla/uniffi-rs.git?rev=13a1c559cb3708eeca40dcf95dc8b3ccccf3b88c#13a1c559)
Compiling convert_case v0.6.0
Compiling time v0.3.41
Compiling hyper-util v0.1.13
Compiling nom v7.1.3
Compiling uniffi_core v0.27.1 (https://github.com/mozilla/uniffi-rs.git?rev=13a1c559cb3708eeca40dcf95dc8b3ccccf3b88c#13a1c559)
Compiling num_enum_derive v0.7.3
Compiling pkcs1 v0.7.5
Compiling rustls-native-certs v0.8.1
Compiling phf v0.11.3
Compiling ed25519 v2.2.3
Compiling futures-executor v0.3.31
Compiling thiserror-impl v2.0.12
Compiling sha2 v0.10.9
Compiling keccak v0.1.5
Compiling password-hash v0.5.0
Compiling blake2 v0.10.6
Compiling hmac v0.12.1
Compiling percent-encoding v2.3.1
Compiling napi-build v2.2.0
Compiling pqcrypto-traits v0.3.5
Compiling ryu v1.0.20
Compiling tutao_node-mimimi v296.250708.0 (/Users/srm/Documents/srm/dev/tutanota/packages/node-mimimi)
Compiling form_urlencoded v1.2.1
Compiling hkdf v0.12.4
Compiling argon2 v0.5.3
Compiling uniffi v0.27.1 (https://github.com/mozilla/uniffi-rs.git?rev=13a1c559cb3708eeca40dcf95dc8b3ccccf3b88c#13a1c559)
Compiling sha3 v0.10.8
Compiling ed25519-dalek v2.1.1
Compiling futures v0.3.31
Compiling num_enum v0.7.3
Compiling rsa v0.9.8
Compiling napi-derive-backend v1.0.75
Compiling aes v0.8.4
Compiling cbc v0.1.2
Compiling serde_bytes v0.11.17
Compiling const-hex v1.14.1
Compiling hashify v0.2.6
Compiling async-trait v0.1.88
Compiling ctor v0.2.9
Compiling http-body-util v0.1.3
Compiling encoding_rs v0.8.35
Compiling napi-sys v2.4.0
Compiling base64 v0.22.1
Compiling lz4_flex v0.11.3
Compiling napi v2.16.17
Compiling mail-parser v0.10.2
Compiling napi-derive v2.16.13
Compiling rustls-webpki v0.103.3
Compiling tokio-rustls v0.26.2
Compiling hyper-rustls v0.27.6
Compiling tuta-sdk v296.250708.0 (/Users/srm/Documents/srm/dev/tutanota/tuta-sdk/rust/sdk)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 04s
at buildPackages (file:///Users/srm/Documents/srm/dev/tutanota/buildSrc/packageBuilderFunctions.js:47:11)
exit code: 1
at EventEmitter.end (/Users/srm/Documents/srm/dev/tutanota/node_modules/zx/build/core.cjs:250:28)
at EventEmitter.emit (node:events:518:28)
at ChildProcess.<anonymous> (/Users/srm/Documents/srm/dev/tutanota/node_modules/zx/build/vendor-core.cjs:450:16)
at ChildProcess.emit (node:events:518:28)
at maybeClose (node:internal/child_process:1101:16)
at Socket.<anonymous> (node:internal/child_process:456:11)
at Socket.emit (node:events:518:28)
at Pipe.<anonymous> (node:net:346:12) {
_code: 1,
_signal: null,
_stdout: '\n> @tutao/[email protected] build\n> node make\n\n',
_stderr: ' Blocking waiting for file lock on package cache\n' +
' Blocking waiting for file lock on package cache\n' +
' Blocking waiting for file lock on package cache\n' +
' Blocking waiting for file lock on package cache\n' +
' Blocking waiting for file lock on package cache\n' +
' Blocking waiting for file lock on package cache\n' +
' Blocking waiting for file lock on build directory\n' +
' Compiling proc-macro2 v1.0.95\n' +
' Compiling unicode-ident v1.0.18\n' +
' Compiling libc v0.2.172\n' +
' Compiling cfg-if v1.0.0\n' +
' Compiling version_check v0.9.5\n' +
' Compiling autocfg v1.4.0\n' +
' Compiling typenum v1.18.0\n' +
' Compiling shlex v1.3.0\n' +
"error[E0463]: can't find crate for `core`\n" +
' |\n' +
' = note: the `x86_64-apple-darwin` target may not be installed\n' +
' = help: consider downloading the target with `rustup target add x86_64-apple-darwin`\n' +
'\n' +
'For more information about this error, try `rustc --explain E0463`.\n' +
'error: could not compile `cfg-if` (lib) due to 1 previous error\n' +
'warning: build failed, waiting for other jobs to finish...\n' +
'file:///Users/srm/Documents/srm/dev/tutanota/node_modules/@napi-rs/cli/dist/api/build.js:188\n' +
' reject(new Error(`Build failed with exit code ${code}`));\n' +
' ^\n' +
'\n' +
'Error: Build failed with exit code 101\n' +
' at ChildProcess.<anonymous> (file:///Users/srm/Documents/srm/dev/tutanota/node_modules/@napi-rs/cli/dist/api/build.js:188:28)\n' +
' at Object.onceWrapper (node:events:633:26)\n' +
' at ChildProcess.emit (node:events:530:35)\n' +
' at ChildProcess._handle.onexit (node:internal/child_process:293:12)\n' +
'\n' +
'Node.js v22.17.0\n' +
'npm error Lifecycle script `build` failed with error:\n' +
'npm error code 1\n' +
'npm error path /Users/srm/Documents/srm/dev/tutanota/packages/node-mimimi\n' +
'npm error workspace @tutao/[email protected]\n' +
'npm error location /Users/srm/Documents/srm/dev/tutanota/packages/node-mimimi\n' +
'npm error command failed\n' +
'npm error command sh -c node make\n' +
' Compiling proc-macro2 v1.0.95\n' +
' Compiling cfg-if v1.0.0\n' +
' Compiling libc v0.2.172\n' +
' Compiling typenum v1.18.0\n' +
' Compiling generic-array v0.14.7\n' +
' Compiling serde v1.0.219\n' +
' Compiling subtle v2.6.1\n' +
' Compiling const-oid v0.9.6\n' +
' Compiling dunce v1.0.5\n' +
' Compiling bytes v1.10.1\n' +
' Compiling pin-project-lite v0.2.16\n' +
' Compiling memchr v2.7.4\n' +
' Compiling quote v1.0.40\n' +
' Compiling jobserver v0.1.33\n' +
' Compiling getrandom v0.2.16\n' +
' Compiling once_cell v1.21.3\n' +
' Compiling futures-core v0.3.31\n' +
' Compiling syn v2.0.101\n' +
' Compiling fs_extra v1.3.0\n' +
' Compiling rand_core v0.6.4\n' +
' Compiling cc v1.2.25\n' +
' Compiling slab v0.4.9\n' +
' Compiling semver v1.0.26\n' +
' Compiling futures-sink v0.3.31\n' +
' Compiling socket2 v0.5.10\n' +
' Compiling mio v1.0.4\n' +
' Compiling crypto-common v0.1.6\n' +
' Compiling block-buffer v0.10.4\n' +
' Compiling aho-corasick v1.1.3\n' +
' Compiling itoa v1.0.15\n' +
' Compiling digest v0.10.7\n' +
' Compiling base64ct v1.7.3\n' +
' Compiling regex-syntax v0.8.5\n' +
' Compiling cmake v0.1.54\n' +
' Compiling thiserror v1.0.69\n' +
' Compiling anyhow v1.0.98\n' +
' Compiling libm v0.2.15\n' +
' Compiling aws-lc-rs v1.13.1\n' +
' Compiling zerocopy v0.8.25\n' +
' Compiling fnv v1.0.7\n' +
' Compiling http v1.3.1\n' +
' Compiling futures-channel v0.3.31\n' +
' Compiling num-traits v0.2.19\n' +
' Compiling futures-task v0.3.31\n' +
' Compiling siphasher v1.0.1\n' +
' Compiling futures-io v0.3.31\n' +
' Compiling pin-utils v0.1.0\n' +
' Compiling phf_shared v0.11.3\n' +
' Compiling rand v0.8.5\n' +
' Compiling aws-lc-sys v0.29.0\n' +
' Compiling ring v0.17.14\n' +
' Compiling regex-automata v0.4.9\n' +
' Compiling pem-rfc7468 v0.7.0\n' +
' Compiling tracing-core v0.1.33\n' +
' Compiling cpufeatures v0.2.17\n' +
' Compiling equivalent v1.0.2\n' +
' Compiling hashbrown v0.15.3\n' +
' Compiling core-foundation-sys v0.8.7\n' +
' Compiling untrusted v0.9.0\n' +
' Compiling smallvec v1.15.0\n' +
' Compiling httparse v1.10.1\n' +
' Compiling log v0.4.27\n' +
' Compiling indexmap v2.9.0\n' +
' Compiling tracing v0.1.41\n' +
' Compiling ppv-lite86 v0.2.21\n' +
' Compiling phf_generator v0.11.3\n' +
' Compiling pqcrypto-internals v0.2.10\n' +
' Compiling http-body v1.0.1\n' +
' Compiling regex v1.11.1\n' +
' Compiling block-padding v0.3.3\n' +
' Compiling fs-err v2.11.0\n' +
' Compiling camino v1.1.10\n' +
' Compiling winnow v0.7.10\n' +
' Compiling bitflags v2.9.1\n' +
' Compiling paste v1.0.15\n' +
' Compiling rustls v0.23.27\n' +
' Compiling toml_datetime v0.6.9\n' +
' Compiling try-lock v0.2.5\n' +
' Compiling atomic-waker v1.1.2\n' +
' Compiling xml-rs v0.8.26\n' +
' Compiling want v0.3.1\n' +
' Compiling inout v0.1.4\n' +
' Compiling parse-zoneinfo v0.3.1\n' +
' Compiling serde_derive v1.0.219\n' +
' Compiling zeroize_derive v1.4.2\n' +
' Compiling tokio-macros v2.5.0\n' +
' Compiling futures-macro v0.3.31\n' +
' Compiling thiserror-impl v1.0.69\n' +
' Compiling toml_edit v0.22.26\n' +
' Compiling zeroize v1.8.1\n' +
' Compiling tokio v1.45.1\n' +
' Compiling futures-util v0.3.31\n' +
' Compiling rustls-pki-types v1.12.0\n' +
' Compiling der v0.7.10\n' +
' Compiling uniffi_checksum_derive v0.27.1 (https://github.com/mozilla/uniffi-rs.git?rev=13a1c559cb3708eeca40dcf95dc8b3ccccf3b88c#13a1c559)\n' +
' Compiling num-integer v0.1.46\n' +
' Compiling spki v0.7.3\n' +
' Compiling phf_codegen v0.11.3\n' +
' Compiling rand_chacha v0.3.1\n' +
' Compiling core-foundation v0.10.1\n' +
' Compiling security-framework-sys v2.14.0\n' +
' Compiling signature v2.2.0\n' +
' Compiling num-conv v0.1.0\n' +
' Compiling powerfmt v0.2.0\n' +
' Compiling siphasher v0.3.11\n' +
' Compiling spin v0.9.8\n' +
' Compiling num-bigint-dig v0.8.4\n' +
' Compiling glob v0.3.2\n' +
' Compiling time-core v0.1.4\n' +
' Compiling httpdate v1.0.3\n' +
' Compiling time-macros v0.2.22\n' +
' Compiling tokio-util v0.7.15\n' +
' Compiling pqcrypto-mlkem v0.1.0\n' +
' Compiling uniffi_meta v0.27.1 (https://github.com/mozilla/uniffi-rs.git?rev=13a1c559cb3708eeca40dcf95dc8b3ccccf3b88c#13a1c559)\n' +
' Compiling h2 v0.4.10\n' +
' Compiling lazy_static v1.5.0\n' +
' Compiling security-framework v3.2.0\n' +
' Compiling pkcs8 v0.10.2\n' +
' Compiling serde-xml-rs v0.5.1\n' +
' Compiling bincode v1.3.3\n' +
' Compiling rustc_version v0.4.1\n' +
' Compiling deranged v0.4.0\n' +
' Compiling time-tz v2.0.0\n' +
' Compiling toml v0.5.11\n' +
' Compiling num-iter v0.1.45\n' +
' Compiling curve25519-dalek v4.1.3\n' +
' Compiling proc-macro-crate v3.3.0\n' +
' Compiling cipher v0.4.4\n' +
' Compiling num_threads v0.1.7\n' +
' Compiling hyper v1.6.0\n' +
' Compiling byteorder v1.5.0\n' +
' Compiling minimal-lexical v0.2.1\n' +
' Compiling static_assertions v1.1.0\n' +
' Compiling minicbor v0.25.1\n' +
' Compiling serde_json v1.0.140\n' +
' Compiling tower-service v0.3.3\n' +
' Compiling thiserror v2.0.12\n' +
' Compiling unicode-segmentation v1.12.0\n' +
' Compiling uniffi_macros v0.27.1 (https://github.com/mozilla/uniffi-rs.git?rev=13a1c559cb3708eeca40dcf95dc8b3ccccf3b88c#13a1c559)\n' +
' Compiling convert_case v0.6.0\n' +
' Compiling time v0.3.41\n' +
' Compiling hyper-util v0.1.13\n' +
' Compiling nom v7.1.3\n' +
' Compiling uniffi_core v0.27.1 (https://github.com/mozilla/uniffi-rs.git?rev=13a1c559cb3708eeca40dcf95dc8b3ccccf3b88c#13a1c559)\n' +
' Compiling num_enum_derive v0.7.3\n' +
' Compiling pkcs1 v0.7.5\n' +
' Compiling rustls-native-certs v0.8.1\n' +
' Compiling phf v0.11.3\n' +
' Compiling ed25519 v2.2.3\n' +
' Compiling futures-executor v0.3.31\n' +
' Compiling thiserror-impl v2.0.12\n' +
' Compiling sha2 v0.10.9\n' +
' Compiling keccak v0.1.5\n' +
' Compiling password-hash v0.5.0\n' +
' Compiling blake2 v0.10.6\n' +
' Compiling hmac v0.12.1\n' +
' Compiling percent-encoding v2.3.1\n' +
' Compiling napi-build v2.2.0\n' +
' Compiling pqcrypto-traits v0.3.5\n' +
' Compiling ryu v1.0.20\n' +
' Compiling tutao_node-mimimi v296.250708.0 (/Users/srm/Documents/srm/dev/tutanota/packages/node-mimimi)\n' +
' Compiling form_urlencoded v1.2.1\n' +
' Compiling hkdf v0.12.4\n' +
' Compiling argon2 v0.5.3\n' +
' Compiling uniffi v0.27.1 (https://github.com/mozilla/uniffi-rs.git?rev=13a1c559cb3708eeca40dcf95dc8b3ccccf3b88c#13a1c559)\n' +
' Compiling sha3 v0.10.8\n' +
' Compiling ed25519-dalek v2.1.1\n' +
' Compiling futures v0.3.31\n' +
' Compiling num_enum v0.7.3\n' +
' Compiling rsa v0.9.8\n' +
' Compiling napi-derive-backend v1.0.75\n' +
' Compiling aes v0.8.4\n' +
' Compiling cbc v0.1.2\n' +
' Compiling serde_bytes v0.11.17\n' +
' Compiling const-hex v1.14.1\n' +
' Compiling hashify v0.2.6\n' +
' Compiling async-trait v0.1.88\n' +
' Compiling ctor v0.2.9\n' +
' Compiling http-body-util v0.1.3\n' +
' Compiling encoding_rs v0.8.35\n' +
' Compiling napi-sys v2.4.0\n' +
' Compiling base64 v0.22.1\n' +
' Compiling lz4_flex v0.11.3\n' +
' Compiling napi v2.16.17\n' +
' Compiling mail-parser v0.10.2\n' +
' Compiling napi-derive v2.16.13\n' +
' Compiling rustls-webpki v0.103.3\n' +
' Compiling tokio-rustls v0.26.2\n' +
' Compiling hyper-rustls v0.27.6\n' +
' Compiling tuta-sdk v296.250708.0 (/Users/srm/Documents/srm/dev/tutanota/tuta-sdk/rust/sdk)\n' +
' Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 04s\n',
_combined: '\n' +
'> @tutao/[email protected] build\n' +
'> node make\n' +
'\n' +
' Blocking waiting for file lock on package cache\n' +
' Blocking waiting for file lock on package cache\n' +
' Blocking waiting for file lock on package cache\n' +
' Blocking waiting for file lock on package cache\n' +
' Blocking waiting for file lock on package cache\n' +
' Blocking waiting for file lock on package cache\n' +
' Blocking waiting for file lock on build directory\n' +
' Compiling proc-macro2 v1.0.95\n' +
' Compiling unicode-ident v1.0.18\n' +
' Compiling libc v0.2.172\n' +
' Compiling cfg-if v1.0.0\n' +
' Compiling version_check v0.9.5\n' +
' Compiling autocfg v1.4.0\n' +
' Compiling typenum v1.18.0\n' +
' Compiling shlex v1.3.0\n' +
"error[E0463]: can't find crate for `core`\n" +
' |\n' +
' = note: the `x86_64-apple-darwin` target may not be installed\n' +
' = help: consider downloading the target with `rustup target add x86_64-apple-darwin`\n' +
'\n' +
'For more information about this error, try `rustc --explain E0463`.\n' +
'error: could not compile `cfg-if` (lib) due to 1 previous error\n' +
'warning: build failed, waiting for other jobs to finish...\n' +
'file:///Users/srm/Documents/srm/dev/tutanota/node_modules/@napi-rs/cli/dist/api/build.js:188\n' +
' reject(new Error(`Build failed with exit code ${code}`));\n' +
' ^\n' +
'\n' +
'Error: Build failed with exit code 101\n' +
' at ChildProcess.<anonymous> (file:///Users/srm/Documents/srm/dev/tutanota/node_modules/@napi-rs/cli/dist/api/build.js:188:28)\n' +
' at Object.onceWrapper (node:events:633:26)\n' +
' at ChildProcess.emit (node:events:530:35)\n' +
' at ChildProcess._handle.onexit (node:internal/child_process:293:12)\n' +
'\n' +
'Node.js v22.17.0\n' +
'npm error Lifecycle script `build` failed with error:\n' +
'npm error code 1\n' +
'npm error path /Users/srm/Documents/srm/dev/tutanota/packages/node-mimimi\n' +
'npm error workspace @tutao/[email protected]\n' +
'npm error location /Users/srm/Documents/srm/dev/tutanota/packages/node-mimimi\n' +
'npm error command failed\n' +
'npm error command sh -c node make\n' +
' Compiling proc-macro2 v1.0.95\n' +
' Compiling cfg-if v1.0.0\n' +
' Compiling libc v0.2.172\n' +
' Compiling typenum v1.18.0\n' +
' Compiling generic-array v0.14.7\n' +
' Compiling serde v1.0.219\n' +
' Compiling subtle v2.6.1\n' +
' Compiling const-oid v0.9.6\n' +
' Compiling dunce v1.0.5\n' +
' Compiling bytes v1.10.1\n' +
' Compiling pin-project-lite v0.2.16\n' +
' Compiling memchr v2.7.4\n' +
' Compiling quote v1.0.40\n' +
' Compiling jobserver v0.1.33\n' +
' Compiling getrandom v0.2.16\n' +
' Compiling once_cell v1.21.3\n' +
' Compiling futures-core v0.3.31\n' +
' Compiling syn v2.0.101\n' +
' Compiling fs_extra v1.3.0\n' +
' Compiling rand_core v0.6.4\n' +
' Compiling cc v1.2.25\n' +
' Compiling slab v0.4.9\n' +
' Compiling semver v1.0.26\n' +
' Compiling futures-sink v0.3.31\n' +
' Compiling socket2 v0.5.10\n' +
' Compiling mio v1.0.4\n' +
' Compiling crypto-common v0.1.6\n' +
' Compiling block-buffer v0.10.4\n' +
' Compiling aho-corasick v1.1.3\n' +
' Compiling itoa v1.0.15\n' +
' Compiling digest v0.10.7\n' +
' Compiling base64ct v1.7.3\n' +
' Compiling regex-syntax v0.8.5\n' +
' Compiling cmake v0.1.54\n' +
' Compiling thiserror v1.0.69\n' +
' Compiling anyhow v1.0.98\n' +
' Compiling libm v0.2.15\n' +
' Compiling aws-lc-rs v1.13.1\n' +
' Compiling zerocopy v0.8.25\n' +
' Compiling fnv v1.0.7\n' +
' Compiling http v1.3.1\n' +
' Compiling futures-channel v0.3.31\n' +
' Compiling num-traits v0.2.19\n' +
' Compiling futures-task v0.3.31\n' +
' Compiling siphasher v1.0.1\n' +
' Compiling futures-io v0.3.31\n' +
' Compiling pin-utils v0.1.0\n' +
' Compiling phf_shared v0.11.3\n' +
' Compiling rand v0.8.5\n' +
' Compiling aws-lc-sys v0.29.0\n' +
' Compiling ring v0.17.14\n' +
' Compiling regex-automata v0.4.9\n' +
' Compiling pem-rfc7468 v0.7.0\n' +
' Compiling tracing-core v0.1.33\n' +
' Compiling cpufeatures v0.2.17\n' +
' Compiling equivalent v1.0.2\n' +
' Compiling hashbrown v0.15.3\n' +
' Compiling core-foundation-sys v0.8.7\n' +
' Compiling untrusted v0.9.0\n' +
' Compiling smallvec v1.15.0\n' +
' Compiling httparse v1.10.1\n' +
' Compiling log v0.4.27\n' +
' Compiling indexmap v2.9.0\n' +
' Compiling tracing v0.1.41\n' +
' Compiling ppv-lite86 v0.2.21\n' +
' Compiling phf_generator v0.11.3\n' +
' Compiling pqcrypto-internals v0.2.10\n' +
' Compiling http-body v1.0.1\n' +
' Compiling regex v1.11.1\n' +
' Compiling block-padding v0.3.3\n' +
' Compiling fs-err v2.11.0\n' +
' Compiling camino v1.1.10\n' +
' Compiling winnow v0.7.10\n' +
' Compiling bitflags v2.9.1\n' +
' Compiling paste v1.0.15\n' +
' Compiling rustls v0.23.27\n' +
' Compiling toml_datetime v0.6.9\n' +
' Compiling try-lock v0.2.5\n' +
' Compiling atomic-waker v1.1.2\n' +
' Compiling xml-rs v0.8.26\n' +
' Compiling want v0.3.1\n' +
' Compiling inout v0.1.4\n' +
' Compiling parse-zoneinfo v0.3.1\n' +
' Compiling serde_derive v1.0.219\n' +
' Compiling zeroize_derive v1.4.2\n' +
' Compiling tokio-macros v2.5.0\n' +
' Compiling futures-macro v0.3.31\n' +
' Compiling thiserror-impl v1.0.69\n' +
' Compiling toml_edit v0.22.26\n' +
' Compiling zeroize v1.8.1\n' +
' Compiling tokio v1.45.1\n' +
' Compiling futures-util v0.3.31\n' +
' Compiling rustls-pki-types v1.12.0\n' +
' Compiling der v0.7.10\n' +
' Compiling uniffi_checksum_derive v0.27.1 (https://github.com/mozilla/uniffi-rs.git?rev=13a1c559cb3708eeca40dcf95dc8b3ccccf3b88c#13a1c559)\n' +
' Compiling num-integer v0.1.46\n' +
' Compiling spki v0.7.3\n' +
' Compiling phf_codegen v0.11.3\n' +
' Compiling rand_chacha v0.3.1\n' +
' Compiling core-foundation v0.10.1\n' +
' Compiling security-framework-sys v2.14.0\n' +
' Compiling signature v2.2.0\n' +
' Compiling num-conv v0.1.0\n' +
' Compiling powerfmt v0.2.0\n' +
' Compiling siphasher v0.3.11\n' +
' Compiling spin v0.9.8\n' +
' Compiling num-bigint-dig v0.8.4\n' +
' Compiling glob v0.3.2\n' +
' Compiling time-core v0.1.4\n' +
' Compiling httpdate v1.0.3\n' +
' Compiling time-macros v0.2.22\n' +
' Compiling tokio-util v0.7.15\n' +
' Compiling pqcrypto-mlkem v0.1.0\n' +
' Compiling uniffi_meta v0.27.1 (https://github.com/mozilla/uniffi-rs.git?rev=13a1c559cb3708eeca40dcf95dc8b3ccccf3b88c#13a1c559)\n' +
' Compiling h2 v0.4.10\n' +
' Compiling lazy_static v1.5.0\n' +
' Compiling security-framework v3.2.0\n' +
' Compiling pkcs8 v0.10.2\n' +
' Compiling serde-xml-rs v0.5.1\n' +
' Compiling bincode v1.3.3\n' +
' Compiling rustc_version v0.4.1\n' +
' Compiling deranged v0.4.0\n' +
' Compiling time-tz v2.0.0\n' +
' Compiling toml v0.5.11\n' +
' Compiling num-iter v0.1.45\n' +
' Compiling curve25519-dalek v4.1.3\n' +
' Compiling proc-macro-crate v3.3.0\n' +
' Compiling cipher v0.4.4\n' +
' Compiling num_threads v0.1.7\n' +
' Compiling hyper v1.6.0\n' +
' Compiling byteorder v1.5.0\n' +
' Compiling minimal-lexical v0.2.1\n' +
' Compiling static_assertions v1.1.0\n' +
' Compiling minicbor v0.25.1\n' +
' Compiling serde_json v1.0.140\n' +
' Compiling tower-service v0.3.3\n' +
' Compiling thiserror v2.0.12\n' +
' Compiling unicode-segmentation v1.12.0\n' +
' Compiling uniffi_macros v0.27.1 (https://github.com/mozilla/uniffi-rs.git?rev=13a1c559cb3708eeca40dcf95dc8b3ccccf3b88c#13a1c559)\n' +
' Compiling convert_case v0.6.0\n' +
' Compiling time v0.3.41\n' +
' Compiling hyper-util v0.1.13\n' +
' Compiling nom v7.1.3\n' +
' Compiling uniffi_core v0.27.1 (https://github.com/mozilla/uniffi-rs.git?rev=13a1c559cb3708eeca40dcf95dc8b3ccccf3b88c#13a1c559)\n' +
' Compiling num_enum_derive v0.7.3\n' +
' Compiling pkcs1 v0.7.5\n' +
' Compiling rustls-native-certs v0.8.1\n' +
' Compiling phf v0.11.3\n' +
' Compiling ed25519 v2.2.3\n' +
' Compiling futures-executor v0.3.31\n' +
' Compiling thiserror-impl v2.0.12\n' +
' Compiling sha2 v0.10.9\n' +
' Compiling keccak v0.1.5\n' +
' Compiling password-hash v0.5.0\n' +
' Compiling blake2 v0.10.6\n' +
' Compiling hmac v0.12.1\n' +
' Compiling percent-encoding v2.3.1\n' +
' Compiling napi-build v2.2.0\n' +
' Compiling pqcrypto-traits v0.3.5\n' +
' Compiling ryu v1.0.20\n' +
' Compiling tutao_node-mimimi v296.250708.0 (/Users/srm/Documents/srm/dev/tutanota/packages/node-mimimi)\n' +
' Compiling form_urlencoded v1.2.1\n' +
' Compiling hkdf v0.12.4\n' +
' Compiling argon2 v0.5.3\n' +
' Compiling uniffi v0.27.1 (https://github.com/mozilla/uniffi-rs.git?rev=13a1c559cb3708eeca40dcf95dc8b3ccccf3b88c#13a1c559)\n' +
' Compiling sha3 v0.10.8\n' +
' Compiling ed25519-dalek v2.1.1\n' +
' Compiling futures v0.3.31\n' +
' Compiling num_enum v0.7.3\n' +
' Compiling rsa v0.9.8\n' +
' Compiling napi-derive-backend v1.0.75\n' +
' Compiling aes v0.8.4\n' +
' Compiling cbc v0.1.2\n' +
' Compiling serde_bytes v0.11.17\n' +
' Compiling const-hex v1.14.1\n' +
' Compiling hashify v0.2.6\n' +
' Compiling async-trait v0.1.88\n' +
' Compiling ctor v0.2.9\n' +
' Compiling http-body-util v0.1.3\n' +
' Compiling encoding_rs v0.8.35\n' +
' Compiling napi-sys v2.4.0\n' +
' Compiling base64 v0.22.1\n' +
' Compiling lz4_flex v0.11.3\n' +
' Compiling napi v2.16.17\n' +
' Compiling mail-parser v0.10.2\n' +
' Compiling napi-derive v2.16.13\n' +
' Compiling rustls-webpki v0.103.3\n' +
' Compiling tokio-rustls v0.26.2\n' +
' Compiling hyper-rustls v0.27.6\n' +
' Compiling tuta-sdk v296.250708.0 (/Users/srm/Documents/srm/dev/tutanota/tuta-sdk/rust/sdk)\n' +
' Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 04s\n'
}
Node.js v22.17.0
|
Beta Was this translation helpful? Give feedback.
Hi @sr-murthy ,
emcc
is Emscripten which is required to build the app. You could check https://github.com/tutao/tutanota/blob/master/doc/BUILDING.md#pre-requisites to make sure you have all the pre-requisites before building again.Cheers :)