Closed va-an closed 3 years ago
Looks like cargo
is not in your $PATH
.
@orthecreedence, you are right)
I'm installed rust
and libsodium
and make run
opens blank window now.
I would like to run local client connected to https://apiv3.turtlapp.com
for further learning.
Maybe I install core-rs
somewhat incorrectly, I will seek in README about it.
A blank screen here generally means that the desktop app is having trouble loading or talking to the core. If you type ctrl+shift+k
when the desktop app open, it might give you a clue what's happening in the console. Let me know what you see in there.
I have 2 errors in console:
Handlebars
version - but in js-repo version > 4.3.0
$ npm list | grep handlebars
├─┬ handlebars@4.7.6
Funny, I just dealt with this with someone over email.
Can you share what's in package.json
? The handlebars
package should be fixed at version 4.0.11, but for some reason it keeps grabbing some 4.3.x version.
In any case, the fix was:
Let me know if that gets the UI building correctly.
OH it's because I had changes sitting locally for months. Good job, Andrew...
I just pushed my turtl/js changes up, if you git pull
, rm -rf node_modules/
and npm install
it should fix the problem.
I'm received last changes with handlebars
version 4.0.11
$ npm list | grep handlebars
├─┬ handlebars@4.0.11
Then check it, but UI still is blank screen and errors in console the same.
I noticed that I'm use libsodium
1.0.18 (not 1.0.16) and I will check my OpenSSL version - I will try build desktop again after fix this.
I promise I add all info about build desktop in README after a successful deskop run 😃 .
That would be wonderful, thank you. That error is really the same? The handlebars versions should be in sync now, I'm surprised it is giving you trouble.
@orthecreedence, I did it! My local desktop client works nice, thanks a lot!
I don't know what helped me in the end:
npm install
in all repos (js, desktop)libsodium
and openssl
by instructions in core-rs
READMEI will check all process of local deploy on another macOS host and update README(s).
Excellent! Glad you got it running. Thank you for the README updates!
@orthecreedence, hello) I compiled and run the desktop client on my other macOS host without any problems at all. It's because:
handlebars
in js-repolibsodium
in core-repo READMEI think README in desktop/js/core is well documented for a local running desktop client for now.
Again, thank you for your help!
Great! Thanks for reporting back, and thank you also for jumping in on a lot of the other issues and helping other users. My time is limited these days and it's very nice to have the support.
Hello! I'm trying to build desktop-app on my mac by this man and getting errors with
npm install
. Versions:I have the same error with different node versions - 7, 8, 15. Full logs from the build below.
js repo npm install log
``` $ npm install npm WARN deprecated chokidar@1.7.0: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies. npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2. npm WARN deprecated browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools. npm WARN deprecated request@2.81.0: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated har-validator@4.2.1: this library is no longer supported npm WARN deprecated hawk@3.1.3: This module moved to @hapi/hawk. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues. npm WARN deprecated hoek@2.16.3: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial). npm WARN deprecated boom@2.10.1: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial). npm WARN deprecated cryptiles@2.0.5: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial). npm WARN deprecated sntp@1.0.9: This module moved to @hapi/sntp. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues. npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated > fsevents@1.2.13 install /Users/vaan/sources/turtl/js/node_modules/fsevents > node install.js SOLINK_MODULE(target) Release/.node CXX(target) Release/obj.target/fse/fsevents.o SOLINK_MODULE(target) Release/fse.node npm notice created a lockfile as package-lock.json. You should commit this file. npm WARN turtl-js@0.6.0 No repository field. npm WARN turtl-js@0.6.0 license should be a valid SPDX license expression added 331 packages from 326 contributors and audited 331 packages in 13.275s 2 packages are looking for funding run `npm fund` for details found 8 vulnerabilities (3 low, 4 moderate, 1 high) run `npm audit fix` to fix them, or `npm audit` for details ```desktop repo npm install log
``` $ npm install npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated har-validator@5.1.5: this library is no longer supported > ref@1.3.5 install /Users/vaan/sources/turtl/desktop/node_modules/ref > node-gyp rebuild CXX(target) Release/obj.target/binding/src/binding.o ../src/binding.cc:643:8: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations] Nan::ForceSet(target, Nan::Newdesktop repo - make
``` $ make electron-rebuild ./node_modules/.bin/electron-rebuild ✔ Rebuild Complete ```desktop repo - make run
``` $ make run - core build: ../core//cwrap/build.rs ../core//cwrap/src/lib.rs ../core//clippo/src/error.rs ../core//clippo/src/lib.rs ../core//config/src/lib.rs ../core//protected_derive/src/lib.rs ../core//jedi/src/lib.rs ../core//integration-tests/tests/ping_pong.rs ../core//integration-tests/tests/set_api_endpoint.rs ../core//integration-tests/tests/import_export.rs ../core//integration-tests/tests/file_sync.rs ../core//integration-tests/tests/invites.rs ../core//integration-tests/tests/save_login.rs ../core//integration-tests/tests/login_sync_logout.rs ../core//integration-tests/tests/migrate.rs ../core//integration-tests/tests/missing_privkey.rs ../core//integration-tests/tests/join_delete.rs ../core//integration-tests/tests/clip.rs ../core//integration-tests/tests/key_loss.rs ../core//integration-tests/src/util.rs ../core//integration-tests/src/main.rs ../core//migrate/rust-crypto/build.rs ../core//migrate/rust-crypto/examples/symmetriccipher.rs ../core//migrate/rust-crypto/src/aesni.rs ../core//migrate/rust-crypto/src/bcrypt_pbkdf.rs ../core//migrate/rust-crypto/src/scrypt.rs ../core//migrate/rust-crypto/src/blake2s.rs ../core//migrate/rust-crypto/src/simd.rs ../core//migrate/rust-crypto/src/aes.rs ../core//migrate/rust-crypto/src/chacha20poly1305.rs ../core//migrate/rust-crypto/src/util.rs ../core//migrate/rust-crypto/src/sha1.rs ../core//migrate/rust-crypto/src/step_by.rs ../core//migrate/rust-crypto/src/aead.rs ../core//migrate/rust-crypto/src/lib.rs ../core//migrate/rust-crypto/src/cryptoutil.rs ../core//migrate/rust-crypto/src/fortuna.rs ../core//migrate/rust-crypto/src/digest.rs ../core//migrate/rust-crypto/src/aes_gcm.rs ../core//migrate/rust-crypto/src/aessafe.rs ../core//migrate/rust-crypto/src/ghash.rs ../core//migrate/rust-crypto/src/whirlpool.rs ../core//migrate/rust-crypto/src/sosemanuk.rs ../core//migrate/rust-crypto/src/symmetriccipher.rs ../core//migrate/rust-crypto/src/mac.rs ../core//migrate/rust-crypto/src/md5.rs ../core//migrate/rust-crypto/src/blake2b.rs ../core//migrate/rust-crypto/src/hmac.rs ../core//migrate/rust-crypto/src/ed25519.rs ../core//migrate/rust-crypto/src/buffer.rs ../core//migrate/rust-crypto/src/chacha20.rs ../core//migrate/rust-crypto/src/rc4.rs ../core//migrate/rust-crypto/src/poly1305.rs ../core//migrate/rust-crypto/src/blowfish.rs ../core//migrate/rust-crypto/src/ripemd160.rs ../core//migrate/rust-crypto/src/sha2.rs ../core//migrate/rust-crypto/src/bcrypt.rs ../core//migrate/rust-crypto/src/hc128.rs ../core//migrate/rust-crypto/src/sha3.rs ../core//migrate/rust-crypto/src/curve25519.rs ../core//migrate/rust-crypto/src/pbkdf2.rs ../core//migrate/rust-crypto/src/blockmodes.rs ../core//migrate/rust-crypto/src/salsa20.rs ../core//migrate/rust-crypto/src/hkdf.rs ../core//migrate/tests/migrate.rs ../core//migrate/src/crypto/key.rs ../core//migrate/src/crypto/mod.rs ../core//migrate/src/crypto/low.rs ../core//migrate/src/util.rs ../core//migrate/src/error.rs ../core//migrate/src/lib.rs ../core//migrate/src/user.rs ../core//migrate/src/api.rs ../core//sock/src/logger.rs ../core//sock/src/main.rs ../core//dumpy/src/error.rs ../core//dumpy/src/lib.rs ../core//clouseau/src/lib.rs ../core//carrier/src/error.rs ../core//carrier/src/lib.rs ../core//carrier/src/c.rs ../core//client/src/main.rs ../core//src/crypto/key.rs ../core//src/crypto/error.rs ../core//src/crypto/mod.rs ../core//src/crypto/low.rs ../core//src/dispatch.rs ../core//src/util/logger.rs ../core//src/util/thredder.rs ../core//src/util/ser.rs ../core//src/util/mod.rs ../core//src/util/i18n.rs ../core//src/profile.rs ../core//src/error.rs ../core//src/lib.rs ../core//src/models/protected.rs ../core//src/models/feedback.rs ../core//src/models/invite.rs ../core//src/models/sync_record.rs ../core//src/models/board.rs ../core//src/models/user.rs ../core//src/models/note.rs ../core//src/models/mod.rs ../core//src/models/storable.rs ../core//src/models/space.rs ../core//src/models/keychain.rs ../core//src/models/space_member.rs ../core//src/models/validate.rs ../core//src/models/model.rs ../core//src/models/file.rs ../core//src/messaging.rs ../core//src/schema.rs ../core//src/storage.rs ../core//src/sync/outgoing.rs ../core//src/sync/incoming.rs ../core//src/sync/mod.rs ../core//src/sync/sync_model.rs ../core//src/sync/files/outgoing.rs ../core//src/sync/files/incoming.rs ../core//src/sync/files/mod.rs ../core//src/sync/macros.rs ../core//src/search.rs ../core//src/api.rs ../core//src/turtl.rs cd ../core && make CARGO_BUILD_ARGS= release build --features "sqlite-static" --release /bin/sh: build: command not found make[1]: *** [build] Error 127 make: *** [build/turtl_core.dylib] Error 2 ```