Closed staltz closed 5 years ago
Nevermind, I forgot to read the readme entirely
@staltz I am not sure if I am running into the very same problem. Can you tell me what solved your problem? Which readme did you not read entirely? This one?
Thanks
Yes the patchbay readme.
Note that an npm install problem I had in July 18 2019 might not be the same npm install problem you have in Jan 16 2020.
Open another issue and describe your case in details, for instance.
If I use node v8.12.0 / npm 6.9.0, I get this
npm install
error:CLICK HERE
``` > electron@4.2.6 postinstall /home/staltz/oss/patchbay/node_modules/electron > node install.js Downloading tmp-5770-1-SHASUMS256.txt-4.2.6 [============================================>] 100.0% of 4.74 kB (4.74 kB/s) > patchbay@8.1.0 postinstall /home/staltz/oss/patchbay > npm run rebuild > patchbay@8.1.0 rebuild /home/staltz/oss/patchbay > electron-builder install-app-deps • electron-builder version=20.44.4 • loaded configuration file=package.json ("build" field) • rebuilding native production dependencies platform=linux arch=x64 Error: /home/staltz/.nvm/versions/node/v8.12.0/bin/node exited with code 1 Output: > @paulcbetts/cld@2.4.6 install /home/staltz/oss/patchbay/node_modules/@paulcbetts/cld > prebuild-install || node-gyp rebuild make: Entering directory '/home/staltz/oss/patchbay/node_modules/@paulcbetts/cld/build' CXX(target) Release/obj.target/cld-c/deps/cld/internal/cldutil.o CXX(target) Release/obj.target/cld-c/deps/cld/internal/cldutil_shared.o CXX(target) Release/obj.target/cld-c/deps/cld/internal/compact_lang_det.o CXX(target) Release/obj.target/cld-c/deps/cld/internal/compact_lang_det_hint_code.o CXX(target) Release/obj.target/cld-c/deps/cld/internal/compact_lang_det_impl.o CXX(target) Release/obj.target/cld-c/deps/cld/internal/debug.o CXX(target) Release/obj.target/cld-c/deps/cld/internal/fixunicodevalue.o CXX(target) Release/obj.target/cld-c/deps/cld/internal/generated_entities.o CXX(target) Release/obj.target/cld-c/deps/cld/internal/generated_language.o CXX(target) Release/obj.target/cld-c/deps/cld/internal/generated_ulscript.o CXX(target) Release/obj.target/cld-c/deps/cld/internal/getonescriptspan.o CXX(target) Release/obj.target/cld-c/deps/cld/internal/lang_script.o CXX(target) Release/obj.target/cld-c/deps/cld/internal/offsetmap.o CXX(target) Release/obj.target/cld-c/deps/cld/internal/scoreonescriptspan.o CXX(target) Release/obj.target/cld-c/deps/cld/internal/tote.o CXX(target) Release/obj.target/cld-c/deps/cld/internal/utf8statetable.o CXX(target) Release/obj.target/cld-c/deps/cld/internal/cld_generated_cjk_uni_prop_80.o CXX(target) Release/obj.target/cld-c/deps/cld/internal/cld2_generated_cjk_compatible.o CXX(target) Release/obj.target/cld-c/deps/cld/internal/cld_generated_cjk_delta_bi_32.o CXX(target) Release/obj.target/cld-c/deps/cld/internal/generated_distinct_bi_0.o CXX(target) Release/obj.target/cld-c/deps/cld/internal/cld2_generated_quad0122.o CXX(target) Release/obj.target/cld-c/deps/cld/internal/cld2_generated_deltaocta0122.o CXX(target) Release/obj.target/cld-c/deps/cld/internal/cld2_generated_deltaoctachrome.o CXX(target) Release/obj.target/cld-c/deps/cld/internal/cld2_generated_distinctocta0122.o CXX(target) Release/obj.target/cld-c/deps/cld/internal/cld2_generated_distinctoctachrome.o CXX(target) Release/obj.target/cld-c/deps/cld/internal/cld2_generated_quadchrome_16.o CXX(target) Release/obj.target/cld-c/deps/cld/internal/cld2_generated_quadchrome_2.o CXX(target) Release/obj.target/cld-c/deps/cld/internal/cld_generated_score_quad_octa_0122.o CXX(target) Release/obj.target/cld-c/deps/cld/internal/cld_generated_score_quad_octa_2.o AR(target) Release/obj.target/deps/cld/cld-c.a COPY Release/cld-c.a CXX(target) Release/obj.target/cld/src/constants.o CXX(target) Release/obj.target/cld/src/cld.o SOLINK_MODULE(target) Release/obj.target/cld.node COPY Release/cld.node make: Leaving directory '/home/staltz/oss/patchbay/node_modules/@paulcbetts/cld/build' > @paulcbetts/cld@2.4.6 postinstall /home/staltz/oss/patchbay/node_modules/@paulcbetts/cld > node bin/postinstall.js > @paulcbetts/spellchecker@4.0.6 install /home/staltz/oss/patchbay/node_modules/@paulcbetts/spellchecker > prebuild-install || node-gyp rebuild make: Entering directory '/home/staltz/oss/patchbay/node_modules/@paulcbetts/spellchecker/build' CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/base/md5.o CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/base/strings/string_piece.o CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/google/bdict_reader.o CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/google/bdict.o CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/hunspell/affentry.o CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/hunspell/affixmgr.o CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/hunspell/csutil.o CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/hunspell/dictmgr.o CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/hunspell/filemgr.o CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/hunspell/hashmgr.o CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/hunspell/hunspell.o CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/hunspell/hunzip.o CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/hunspell/phonet.o CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/hunspell/replist.o CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/hunspell/suggestmgr.o CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/parsers/textparser.o CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/base/strings/string16.o AR(target) Release/obj.target/hunspell.a COPY Release/hunspell.a CXX(target) Release/obj.target/spellchecker/src/main.o CXX(target) Release/obj.target/spellchecker/src/spellchecker_hunspell.o CXX(target) Release/obj.target/spellchecker/src/spellchecker_linux.o CXX(target) Release/obj.target/spellchecker/src/transcoder_posix.o SOLINK_MODULE(target) Release/obj.target/spellchecker.node COPY Release/spellchecker.node make: Leaving directory '/home/staltz/oss/patchbay/node_modules/@paulcbetts/spellchecker/build' > keyboard-layout@2.0.13 install /home/staltz/oss/patchbay/node_modules/keyboard-layout > prebuild-install || node-gyp rebuild make: Entering directory '/home/staltz/oss/patchbay/node_modules/keyboard-layout/build' CXX(target) Release/obj.target/keyboard-layout-manager/src/keyboard-layout-manager-linux.o keyboard-layout-manager.target.mk:103: recipe for target 'Release/obj.target/keyboard-layout-manager/src/keyboard-layout-manager-linux.o' failed make: Leaving directory '/home/staltz/oss/patchbay/node_modules/keyboard-layout/build' Error output: prebuild-install WARN install No prebuilt binaries found (target=4.2.6 runtime=electron arch=x64 platform=linux) ../src/cld.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE NodeCld::Detect(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/cld.cc:14:51: warning: ‘v8::String::Utf8Value::Utf8Value(v8::LocalIf I use node v10.15.3 / npm 6.4.1, I get this
npm install
error:CLICK HERE
``` > fd-lock@1.0.2 install /home/staltz/oss/patchbay/node_modules/fd-lock > node-gyp-build > sodium-native@2.4.2 install /home/staltz/oss/patchbay/node_modules/sodium-native > node-gyp-build "node preinstall.js" "node postinstall.js" > sodium-native@2.4.2 install /home/staltz/oss/patchbay/node_modules/ssb-server/node_modules/sodium-native > node-gyp-build "node preinstall.js" "node postinstall.js" > leveldown@5.1.0 install /home/staltz/oss/patchbay/node_modules/ssb-server/node_modules/leveldown > node-gyp-build > utp-native@1.7.3 install /home/staltz/oss/patchbay/node_modules/utp-native > node-gyp-build > leveldown@5.1.1 install /home/staltz/oss/patchbay/node_modules/leveldown > node-gyp-build > @paulcbetts/cld@github:ssbc/paulcbetts-cld-prebuilt#63609a21577c9c44229f16c0f42cf13322035718 install /home/staltz/oss/patchbay/node_modules/@paulcbetts/cld > prebuild-install || node-gyp rebuild > @paulcbetts/spellchecker@github:ssbc/paulcbetts-spellchecker-prebuilt#8e28e43d81073b354e7811792b9a39132db52221 install /home/staltz/oss/patchbay/node_modules/@paulcbetts/spellchecker > prebuild-install || node-gyp rebuild prebuild-install WARN install No prebuilt binaries found (target=10.15.3 runtime=node arch=x64 platform=linux) make: Entering directory '/home/staltz/oss/patchbay/node_modules/@paulcbetts/spellchecker/build' CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/base/md5.o CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/base/strings/string_piece.o CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/google/bdict_reader.o ../vendor/hunspell/src/google/bdict_reader.cc: In member function ‘bool hunspell::LineIterator::AdvanceAndCopy(char*, size_t)’: ../vendor/hunspell/src/google/bdict_reader.cc:670:15: warning: unused variable ‘begin’ [-Wunused-variable] const char* begin = reinterpret_castWhich engine versions should I use, and could we consider specifying these in
package.json
>"engines"
?