-
Notifications
You must be signed in to change notification settings - Fork 585
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install of realm-js in Raspberry PI 4 fails. #3272
Comments
➤ Jorge Imperial-Sosa commented: Tried in 32 bit Raspbian (Debian Buster) with similar output. |
➤ Lyubomir Blagoev commented: I could not reproduce this. What version of nodejs are you using on this RPis |
➤ Jorge Imperial-Sosa commented: Hello Lyubomir, The version of node is 12.18.4, and raspbian is 10.4. pi@raspberrypi:~ $ uname -a |
➤ Jorge Imperial-Sosa commented: ubuntu@ubuntu: |
I don't have access to a RPi4 but on my RPi3 the download fails. It should fail back to building from source. I have (re)adding publishing binaries in #3328. |
➤ Jorge Imperial-Sosa commented: On another similar platform, Nvidia nano (ARM64) the build does not work either, but it seems that it is grabbing the wrong openssl.tgz nano@nano:/mnt/HomeAutomationRPI$ npm install realm@beta
|
➤ Kenneth Geisshirt commented: We do not support nvidia nano. Currently we are building for armhf ( https://stackoverflow.com/questions/37790029/what-is-difference-between-arm64-and-armhf ) only. |
@kneth Is this 32bit or 64bit architecture issue? Or am I reading this incorrectly |
➤ Kenneth Geisshirt commented: True, we only build for 32 bit ARM (with hardware floating-pointing support). |
I have verified that the install now works on a RPi 3/Ubuntu 20.04 LTS/armv7. |
➤ Lyubomir Blagoev commented: [~jorge.imperial] I couldn't repro it on PI 4 with realm v10.0.1 (latest version) It downloads the binary from remote by default which does not require a build I have forced npm to build from source when installing using npm install -buildfrom-source which also succeeds. !realm.v10.jpeg! |
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further. |
I have tried to install the realm-js drivers on a raspberry Pi Model 4. The installation fails. I amusing Ubuntu 20, 64 bit
Linux ubuntu 5.4.0-1015-raspi #15-Ubuntu SMP Fri Jul 10 05:34:24 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux
ubuntu@ubuntu:~/sandbox/HomeAutomationRPI$ {color:#FF0000}npm install realm@beta{color
}npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN deprecated [email protected]: this library is no longer supported``> [email protected] install /home/ubuntu/sandbox/HomeAutomationRPI/node_modules/realm
> node-pre-gyp install --fallback-to-build -j 8 ${npm_config_arch:+--target_arch=${npm_config_arch
}}internal/modules/cjs/loader.js:638
{{ throw err;}}
{{ ^}}
Error: Cannot find module '../'
{{ at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)}}
{{ at Function.Module._load (internal/modules/cjs/loader.js:562:25)}}
{{ at Module.require (internal/modules/cjs/loader.js:692:17)}}
{{ at require (internal/modules/cjs/helpers.js:25:18)}}
{{ at Object. (/home/ubuntu/sandbox/HomeAutomationRPI/node_modules/.bin/node-pre-gyp:15:20)}}
{{ at Module._compile (internal/modules/cjs/loader.js:778:30)}}
{{ at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)}}
{{ at Module.load (internal/modules/cjs/loader.js:653:32)}}
{{ at tryModuleLoad (internal/modules/cjs/loader.js:593:12)}}
{{ at Function.Module._load (internal/modules/cjs/loader.js:585:3)}}
npm WARN [email protected] requires a peer of react@* but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of react-native@* but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] No repository field.``npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install:
node-pre-gyp install --fallback-to-build -j 8 ${npm_config_arch:+--target_arch=${npm_config_arch}} `npm ERR! Exit status 1` {{npm ERR! }} `npm ERR! Failed at the [email protected] install script.` `npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:ubuntu@ubuntu:~/sandbox/HomeAutomationRPI$【 highlighted #FF0000 】npm install [email protected]【 end highlighted 】
npm WARN deprecated [email protected]: request has been deprecated, see request/request#3142
npm WARN deprecated [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN deprecated [email protected]: this library is no longer supported
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module '../'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/home/ubuntu/sandbox/HomeAutomationRPI/node_modules/.bin/node-pre-gyp:15:20)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
npm WARN [email protected] requires a peer of react@* but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of react-native@* but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] No repository field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install:
node-pre-gyp install --fallback-to-build -j 8
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/ubuntu/.npm/_logs/2020-09-28T16_36_13_295Z-debug.log
The text was updated successfully, but these errors were encountered: