We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I've just executed command npm install --save realm onto my RN project and immediately hitting below errors
npm install --save realm
`> realm@2.14.0 install /Users/xx/Code/ReactNative/app/node_modules/realm
node-pre-gyp install --fallback-to-build
node-pre-gyp ERR! Tried to download(404): https://static.realm.io/node-pre-gyp/2.14.0/realm-v2.14.0-node-v64-darwin-x64.tar.gz node-pre-gyp ERR! Pre-built binaries not found for realm@2.14.0 and node@10.7.0 (node-v64 ABI, unknown) (falling back to source compile with node-gyp) node-pre-gyp ERR! Tried to download(undefined): https://static.realm.io/node-pre-gyp/2.14.0/realm-v2.14.0-node-v64-darwin-x64.tar.gz node-pre-gyp ERR! Pre-built binaries not found for realm@2.14.0 and node@10.7.0 (node-v64 ABI, unknown) (falling back to source compile with node-gyp) TOUCH Release/obj.target/OpenSSL.stamp TOUCH Release/obj.target/OpenSSL.stamp ACTION binding_gyp_vendored_realm_target_download_realm /Users/xx/Code/ReactNative/app/node_modules/realm/vendor/realm-mac-x64 ACTION binding_gyp_vendored_realm_target_download_realm /Users/xx/Code/ReactNative/app/node_modules/realm/vendor/realm-mac-x64 Resolved requirements: { SYNC_SERVER_FOLDER: 'sync', SYNC_ARCHIVE: 'realm-sync-node-cocoa-3.8.3.tar.gz', SYNC_ARCHIVE_ROOT: 'realm-sync-node-cocoa-3.8.3' } Resolved requirements: { SYNC_SERVER_FOLDER: 'sync', SYNC_ARCHIVE: 'realm-sync-node-cocoa-3.8.3.tar.gz', SYNC_ARCHIVE_ROOT: 'realm-sync-node-cocoa-3.8.3' } No lockfile found at the target, proceeding. No lockfile found at the target, proceeding. Download url: https://static.realm.io/downloads/sync/realm-sync-node-cocoa-3.8.3.tar.gz Download url: https://static.realm.io/downloads/sync/realm-sync-node-cocoa-3.8.3.tar.gz Extracting realm-sync-node-cocoa-3.8.3.tar.gz => /Users/xx/Code/ReactNative/app/node_modules/realm/vendor/realm-mac-x64 Extracting realm-sync-node-cocoa-3.8.3.tar.gz => /Users/xx/Code/ReactNative/DetrackScanner/node_modules/realm/vendor/realm-mac-x64 Success TOUCH Release/obj.target/vendored-realm.stamp TOUCH Release/obj.target/realm-core.stamp TOUCH Release/obj.target/realm-sync.stamp CXX(target) Release/obj.target/object-store/src/object-store/src/binding_callback_thread_observer.o Success TOUCH Release/obj.target/vendored-realm.stamp TOUCH Release/obj.target/realm-core.stamp TOUCH Release/obj.target/realm-sync.stamp CXX(target) Release/obj.target/object-store/src/object-store/src/binding_callback_thread_observer.o rm: ./Release/.deps/Release/obj.target/object-store/src/object-store/src/binding_callback_thread_observer.o.d.raw: No such file or directory make: *** [Release/obj.target/object-store/src/object-store/src/binding_callback_thread_observer.o] Error 1 CXX(target) Release/obj.target/object-store/src/object-store/src/collection_notifications.o gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23) gyp ERR! stack at ChildProcess.emit (events.js:182:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:237:12) gyp ERR! System Darwin 17.5.0 gyp ERR! command "/usr/local/Cellar/node/10.7.0/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/Users/xx/Code/ReactNative/app/node_modules/realm/compiled/node-v64_darwin_x64/realm.node" "--module_name=realm" "--module_path=/Users/xx/Code/ReactNative/app/node_modules/realm/compiled/node-v64_darwin_x64" gyp ERR! cwd /Users/xx/Code/ReactNative/app/node_modules/realm gyp ERR! node -v v10.7.0 gyp ERR! node-gyp -v v3.7.0 gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/Cellar/node/10.7.0/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/xx/Code/ReactNative/app/node_modules/realm/compiled/node-v64_darwin_x64/realm.node --module_name=realm --module_path=/Users/xx/Code/ReactNative/app/node_modules/realm/compiled/node-v64_darwin_x64' (1) node-pre-gyp ERR! stack at ChildProcess. (/Users/xx/Code/ReactNative/app/node_modules/node-pre-gyp/lib/util/compile.js:83:29) node-pre-gyp ERR! stack at ChildProcess.emit (events.js:182:13) node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:961:16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:5) node-pre-gyp ERR! System Darwin 17.5.0 node-pre-gyp ERR! command "/usr/local/Cellar/node/10.7.0/bin/node" "/Users/xx/Code/ReactNative/app/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" node-pre-gyp ERR! cwd /Users/xx/Code/ReactNative/app/node_modules/realm node-pre-gyp ERR! node -v v10.7.0 node-pre-gyp ERR! node-pre-gyp -v v0.6.39 node-pre-gyp ERR! not ok Failed to execute '/usr/local/Cellar/node/10.7.0/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/xx/Code/ReactNative/app/node_modules/realm/compiled/node-v64_darwin_x64/realm.node --module_name=realm --module_path=/Users/xx/Code/ReactNative/app/node_modules/realm/compiled/node-v64_darwin_x64' (1) ../src/object-store/src/collection_notifications.cpp:21:10: fatal error: 'impl/collection_notifier.hpp' file not found #include "impl/collection_notifier.hpp" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [Release/obj.target/object-store/src/object-store/src/collection_notifications.o] Error 1 gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23) gyp ERR! stack at ChildProcess.emit (events.js:182:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:237:12) gyp ERR! System Darwin 17.5.0 gyp ERR! command "/usr/local/Cellar/node/10.7.0/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/Users/xx/Code/ReactNative/app/node_modules/realm/compiled/node-v64_darwin_x64/realm.node" "--module_name=realm" "--module_path=/Users/xx/Code/ReactNative/app/node_modules/realm/compiled/node-v64_darwin_x64" gyp ERR! cwd /Users/xx/Code/ReactNative/app/node_modules/realm gyp ERR! node -v v10.7.0 gyp ERR! node-gyp -v v3.7.0 gyp ERR! not ok npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! realm@2.14.0 install: node-pre-gyp install --fallback-to-build npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the realm@2.14.0 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
make
npm ERR! A complete log of this run can be found in: npm ERR! /Users/xx/.npm/_logs/2018-08-01T10_57_08_562Z-debug.log`
The text was updated successfully, but these errors were encountered:
I'm sorry, but we don't support Node.js 10 yet. #1813 tracks this. I recommend downgrading to Node.js 8.
Sorry, something went wrong.
No branches or pull requests
Goals
I've just executed command
npm install --save realm
onto my RN project and immediately hitting below errors`> realm@2.14.0 install /Users/xx/Code/ReactNative/app/node_modules/realm
node-pre-gyp ERR! Tried to download(404): https://static.realm.io/node-pre-gyp/2.14.0/realm-v2.14.0-node-v64-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for realm@2.14.0 and node@10.7.0 (node-v64 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp ERR! Tried to download(undefined): https://static.realm.io/node-pre-gyp/2.14.0/realm-v2.14.0-node-v64-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for realm@2.14.0 and node@10.7.0 (node-v64 ABI, unknown) (falling back to source compile with node-gyp)
TOUCH Release/obj.target/OpenSSL.stamp
TOUCH Release/obj.target/OpenSSL.stamp
ACTION binding_gyp_vendored_realm_target_download_realm /Users/xx/Code/ReactNative/app/node_modules/realm/vendor/realm-mac-x64
ACTION binding_gyp_vendored_realm_target_download_realm /Users/xx/Code/ReactNative/app/node_modules/realm/vendor/realm-mac-x64
Resolved requirements: { SYNC_SERVER_FOLDER: 'sync',
SYNC_ARCHIVE: 'realm-sync-node-cocoa-3.8.3.tar.gz',
SYNC_ARCHIVE_ROOT: 'realm-sync-node-cocoa-3.8.3' }
Resolved requirements: { SYNC_SERVER_FOLDER: 'sync',
SYNC_ARCHIVE: 'realm-sync-node-cocoa-3.8.3.tar.gz',
SYNC_ARCHIVE_ROOT: 'realm-sync-node-cocoa-3.8.3' }
No lockfile found at the target, proceeding.
No lockfile found at the target, proceeding.
Download url: https://static.realm.io/downloads/sync/realm-sync-node-cocoa-3.8.3.tar.gz
Download url: https://static.realm.io/downloads/sync/realm-sync-node-cocoa-3.8.3.tar.gz
Extracting realm-sync-node-cocoa-3.8.3.tar.gz => /Users/xx/Code/ReactNative/app/node_modules/realm/vendor/realm-mac-x64
Extracting realm-sync-node-cocoa-3.8.3.tar.gz => /Users/xx/Code/ReactNative/DetrackScanner/node_modules/realm/vendor/realm-mac-x64
Success
TOUCH Release/obj.target/vendored-realm.stamp
TOUCH Release/obj.target/realm-core.stamp
TOUCH Release/obj.target/realm-sync.stamp
CXX(target) Release/obj.target/object-store/src/object-store/src/binding_callback_thread_observer.o
Success
TOUCH Release/obj.target/vendored-realm.stamp
TOUCH Release/obj.target/realm-core.stamp
TOUCH Release/obj.target/realm-sync.stamp
CXX(target) Release/obj.target/object-store/src/object-store/src/binding_callback_thread_observer.o
rm: ./Release/.deps/Release/obj.target/object-store/src/object-store/src/binding_callback_thread_observer.o.d.raw: No such file or directory
make: *** [Release/obj.target/object-store/src/object-store/src/binding_callback_thread_observer.o] Error 1
CXX(target) Release/obj.target/object-store/src/object-store/src/collection_notifications.o
gyp ERR! build error
gyp ERR! stack Error:
make
failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:237:12)
gyp ERR! System Darwin 17.5.0
gyp ERR! command "/usr/local/Cellar/node/10.7.0/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/Users/xx/Code/ReactNative/app/node_modules/realm/compiled/node-v64_darwin_x64/realm.node" "--module_name=realm" "--module_path=/Users/xx/Code/ReactNative/app/node_modules/realm/compiled/node-v64_darwin_x64"
gyp ERR! cwd /Users/xx/Code/ReactNative/app/node_modules/realm
gyp ERR! node -v v10.7.0
gyp ERR! node-gyp -v v3.7.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/Cellar/node/10.7.0/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/xx/Code/ReactNative/app/node_modules/realm/compiled/node-v64_darwin_x64/realm.node --module_name=realm --module_path=/Users/xx/Code/ReactNative/app/node_modules/realm/compiled/node-v64_darwin_x64' (1)
node-pre-gyp ERR! stack at ChildProcess. (/Users/xx/Code/ReactNative/app/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:182:13)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:961:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:5)
node-pre-gyp ERR! System Darwin 17.5.0
node-pre-gyp ERR! command "/usr/local/Cellar/node/10.7.0/bin/node" "/Users/xx/Code/ReactNative/app/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /Users/xx/Code/ReactNative/app/node_modules/realm
node-pre-gyp ERR! node -v v10.7.0
node-pre-gyp ERR! node-pre-gyp -v v0.6.39
node-pre-gyp ERR! not ok
Failed to execute '/usr/local/Cellar/node/10.7.0/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/xx/Code/ReactNative/app/node_modules/realm/compiled/node-v64_darwin_x64/realm.node --module_name=realm --module_path=/Users/xx/Code/ReactNative/app/node_modules/realm/compiled/node-v64_darwin_x64' (1)
../src/object-store/src/collection_notifications.cpp:21:10: fatal error: 'impl/collection_notifier.hpp' file not found
#include "impl/collection_notifier.hpp"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make: *** [Release/obj.target/object-store/src/object-store/src/collection_notifications.o] Error 1
gyp ERR! build error
gyp ERR! stack Error:
make
failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:237:12)
gyp ERR! System Darwin 17.5.0
gyp ERR! command "/usr/local/Cellar/node/10.7.0/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/Users/xx/Code/ReactNative/app/node_modules/realm/compiled/node-v64_darwin_x64/realm.node" "--module_name=realm" "--module_path=/Users/xx/Code/ReactNative/app/node_modules/realm/compiled/node-v64_darwin_x64"
gyp ERR! cwd /Users/xx/Code/ReactNative/app/node_modules/realm
gyp ERR! node -v v10.7.0
gyp ERR! node-gyp -v v3.7.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! realm@2.14.0 install:
node-pre-gyp install --fallback-to-build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the realm@2.14.0 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! /Users/xx/.npm/_logs/2018-08-01T10_57_08_562Z-debug.log`
Version of Realm and Tooling
The text was updated successfully, but these errors were encountered: