-
Notifications
You must be signed in to change notification settings - Fork 564
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
error when run npm i realm --save #1868
Comments
I have the same problem. But the HTTP status is 404. node-pre-gyp ERR! Tried to download(404): https://static.realm.io/node-pre-gyp/2.8.4/realm-v2.8.4-node-v64-darwin-x64.tar.gz |
When I change my node version to v9.11.2. The problem was solved. |
@Clovin I use another module in my app, I afraid another module be crup |
@kneth i don't understand what do you want to say :( |
@DevSmoo By law, we are not allowed to export to certain countries (see https://github.com/realm/realm-js#license) which I believe is the root of your issue. When I wrote my comment earlier, I didn't check your location. |
@DevSmoo |
node-pre-gyp ERR! Tried to download(403): https://static.realm.io/node-pre-gyp/2.8.4/realm-v2.8.4-node-v57-win32-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for realm@2.8.4 and node@8.10.0 (node-v57 ABI, unknown) (falling back to source compile with node-gyp)
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack at PythonFinder.failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:483:19)
gyp ERR! stack at PythonFinder. (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:508:16)
gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:152:21)
gyp ERR! System Windows_NT 6.3.9600
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "configure" "--fallback-to-build" "--modu
le=D:\React-Project\realmTest\node_modules\realm\compiled\node-v57_win32_x64\realm.node" "--module_name=realm" "--module_path=D:\React-Project\realmTest\node_modules\realm\c
ompiled\node-v57_win32_x64"
gyp ERR! cwd D:\React-Project\realmTest\node_modules\realm
gyp ERR! node -v v8.10.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to
-build --module=D:\React-Project\realmTest\node_modules\realm\compiled\node-v57_win32_x64\realm.node --module_name=realm --module_path=D:\React-Project\realmTest\node_modules\realm\comp
iled\node-v57_win32_x64' (1)
node-pre-gyp ERR! stack at ChildProcess. (D:\React-Project\realmTest\node_modules\node-pre-gyp\lib\util\compile.js:83:29)
node-pre-gyp ERR! stack at emitTwo (events.js:126:13)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:214:7)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:925:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
node-pre-gyp ERR! System Windows_NT 6.3.9600
node-pre-gyp ERR! command "C:\Program Files\nodejs\node.exe" "D:\React-Project\realmTest\node_modules\node-pre-gyp\bin\node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd D:\React-Project\realmTest\node_modules\realm
node-pre-gyp ERR! node -v v8.10.0
node-pre-gyp ERR! node-pre-gyp -v v0.6.39
node-pre-gyp ERR! not ok
Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=D:\React-Projec
t\realmTest\node_modules\realm\compiled\node-v57_win32_x64\realm.node --module_name=realm --module_path=D:\React-Project\realmTest\node_modules\realm\compiled\node-v57_win32_x64' (1)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! realm@2.8.4 install:
node-pre-gyp install --fallback-to-build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the realm@2.8.4 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! C:\Users\Smo\AppData\Roaming\npm-cache_logs\2018-06-17T12_07_35_570Z-debug.log
Version of Realm and Tooling
The text was updated successfully, but these errors were encountered: