#16330
Seyed Mohammad Ali Rohbani
مشارکت کننده

واقعا از اینکه می خونید و جواب می دید ممنونم!
با یارن هم ارور داد!

کلا هر پکیج جدید می خوام وارد کنم ارور میده!
ویندوزم 10 64 بیتی!
فیلتر شکنم فری گیته!
نسخه های noode , yarn , npm هم که این زیر گزفتم!
PS G:\Programing\ReactNative\Project\ww\ww> node -v
v10.6.0
PS G:\Programing\ReactNative\Project\ww\ww> yarn -v
1.7.0
PS G:\Programing\ReactNative\Project\ww\ww> npm -v
6.1.0
PS G:\Programing\ReactNative\Project\ww\ww> yarn add realm
yarn add v1.7.0
[1/4] Resolving packages…
⠂ realm(node:11260) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
[2/4] Fetching packages…
info fsevents@1.2.4: The platform “win32” is incompatible with this module.
info “fsevents@1.2.4” is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies…
warning “react-native > metro-babel-register > @babel/plugin-proposal-optional-chaining@7.0.0-beta.47” has unmet peer dependency “@babel/core@7.0.0-beta.47”.
warning “react-native > metro-babel-register > @babel/plugin-proposal-optional-chaining > @babel/plugin-syntax-optional-chaining@7.0.0-beta.47” has unmet peer dependency “@babel/core@7.0.0-beta.47″.
warning ” > babel-jest@23.4.0″ has unmet peer dependency “babel-core@^6.0.0 || ^7.0.0-0”.
[4/4] Building fresh packages…
error G:\Programing\ReactNative\Project\ww\ww\node_modules\realm: Command failed.
Exit code: 1
Command: node-pre-gyp install –fallback-to-build
Arguments:
Directory: G:\Programing\ReactNative\Project\ww\ww\node_modules\realm
Output:
node-pre-gyp info it worked if it ends with ok
node-pre-gyp info using node-pre-gyp@0.6.39
node-pre-gyp info using node@10.6.0 | win32 | x64
node-pre-gyp info check checked for “G:\Programing\ReactNative\Project\ww\ww\node_modules\realm\compiled\node-v64_win32_x64\realm.node” (not found)
node-pre-gyp http GET https://static.realm.io/node-pre-gyp/2.13.0/realm-v2.13.0-node-v64-win32-x64.tar.gz
node-pre-gyp http 403 https://static.realm.io/node-pre-gyp/2.13.0/realm-v2.13.0-node-v64-win32-x64.tar.gz
node-pre-gyp ERR! Tried to download(403): https://static.realm.io/node-pre-gyp/2.13.0/realm-v2.13.0-node-v64-win32-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for realm@2.13.0 and node@10.6.0 (node-v64 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp http 403 status code downloading tarball https://static.realm.io/node-pre-gyp/2.13.0/realm-v2.13.0-node-v64-win32-x64.tar.gz

G:\Programing\ReactNative\Project\ww\ww\node_modules\realm>if not defined npm_config_node_gyp (node “G:\Programing\ReactNative\node\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js” clean ) else (node “” clean )
node-pre-gyp ERR! Tried to download(undefined): https://static.realm.io/node-pre-gyp/2.13.0/realm-v2.13.0-node-v64-win32-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for realm@2.13.0 and node@10.6.0 (node-v64 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp http Connection closed while downloading tarball file

G:\Programing\ReactNative\Project\ww\ww\node_modules\realm>if not defined npm_config_node_gyp (node “G:\Programing\ReactNative\node\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js” clean ) else (node “” clean )
gyp info it worked if it ends with ok
gypgyp info using node-gyp@3.6.2
gyp info using node@10.6.0 | win32 | x64
info it worked if it ends with ok
gyp info using node-gyp@3.6.2
gyp info using node@10.6.0 | win32 | x64
gyp info ok
gyp info ok

G:\Programing\ReactNative\Project\ww\ww\node_modules\realm>if not defined npm_config_node_gyp (node “G:\Programing\ReactNative\node\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js” configure –fallback-to-build –module=G:\Programing\ReactNative\Project\ww\ww\node_modules\realm\compiled\node-v64_win32_x64\realm.node –module_name=realm –module_path=G:\Programing\ReactNative\Project\ww\ww\node_modules\realm\compiled\node-v64_win32_x64 ) else (node “” configure –fallback-to-build –module=G:\Programing\ReactNative\Project\ww\ww\node_modules\realm\compiled\node-v64_win32_x64\realm.node –module_name=realm –module_path=G:\Programing\ReactNative\Project\ww\ww\node_modules\realm\compiled\node-v64_win32_x64 )

G:\Programing\ReactNative\Project\ww\ww\node_modules\realm>if not defined npm_config_node_gyp (node “G:\Programing\ReactNative\node\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js” configure –fallback-to-build –module=G:\Programing\ReactNative\Project\ww\ww\node_modules\realm\compiled\node-v64_win32_x64\realm.node –module_name=realm –module_path=G:\Programing\ReactNative\Project\ww\ww\node_modules\realm\compiled\node-v64_win32_x64 ) else (node “” configure –fallback-to-build –module=G:\Programing\ReactNative\Project\ww\ww\node_modules\realm\compiled\node-v64_win32_x64\realm.node –module_name=realm –module_path=G:\Programing\ReactNative\Project\ww\ww\node_modules\realm\compiled\node-v64_win32_x64 )
gypgyp info it worked if it ends with ok
info it worked if it ends with ok
gyp info using node-gyp@3.6.2
gyp info using node@10.6.0 | win32 | x64
gyp info using node-gyp@3.6.2
gyp info using node@10.6.0 | win32 | x64
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 (G:\Programing\ReactNative\node\node_modules\npm\node_modules\node-gyp\lib\configure.js:483:19)
gyp ERR! stack at PythonFinder.<anonymous> (G:\Programing\ReactNative\node\node_modules\npm\node_modules\node-gyp\lib\configure.js:508:16)
gyp ERR! stack at G:\Programing\ReactNative\node\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:158:21)
gyp ERR! System Windows_NT 10.0.15063
gyp ERR! command “G:\\Programing\\ReactNative\\node\\node.exe” “G:\\Programing\\ReactNative\\node\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js” “configure” “–fallback-to-build” “–module=G:\\Programing\\ReactNative\\Project\\ww\\ww\\node_modules\\realm\\compiled\\node-v64_win32_x64\\realm.node” “–module_name=realm” “–module_path=G:\\Programing\\ReactNative\\Project\\ww\\ww\\node_modules\\realm\\compiled\\node-v64_win32_x64”
gyp ERR! cwd G:\Programing\ReactNative\Project\ww\ww\node_modules\realm
gyp ERR! node -v v10.6.0
gyp ERR! node-gyp -vgyp v3.6.2
ERR!gyp configure errorERR!
not ok
gyp ERR! stack Error: Can’t find Python executable “python”, you can set the PYTHON env variable.
gyp ERR! stack at PythonFinder.failNoPython (G:\Programing\ReactNative\node\node_modules\npm\node_modules\node-gyp\lib\configure.js:483:19)
gyp ERR! stack at PythonFinder.<anonymous> (G:\Programing\ReactNative\node\node_modules\npm\node_modules\node-gyp\lib\configure.js:508:16)
gyp ERR! stack at G:\Programing\ReactNative\node\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:158:21)
gyp ERR! System Windows_NT 10.0.15063
gyp ERR! command “G:\\Programing\\ReactNative\\node\\node.exe” “G:\\Programing\\ReactNative\\node\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js” “configure” “–fallback-to-build” “–module=G:\\Programing\\ReactNative\\Project\\ww\\ww\\node_modules\\realm\\compiled\\node-v64_win32_x64\\realm.node” “–module_name=realm” “–module_path=G:\\Programing\\ReactNative\\Project\\ww\\ww\\node_modules\\realm\\compiled\\node-v64_win32_x64”
gyp ERR! cwd G:\Programing\ReactNative\Project\ww\ww\node_modules\realm
gyp ERR! node -v v10.6.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 ‘node-gyp.cmd configure –fallback-to-build –module=G:\Programing\ReactNative\Project\ww\ww\node_modules\realm\compiled\node-v64_win32_x64\realm.node –module_name=realm –module_path=G:\Programing\ReactNative\Project\ww\ww\node_modules\realm\compiled\node-v64_win32_x64’ (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (G:\Programing\ReactNative\Project\ww\ww\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 Windows_NT 10.0.15063
node-pre-gyp ERR! command “G:\\Programing\\ReactNative\\node\\node.exe” “G:\\Programing\\ReactNative\\Project\\ww\\ww\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp” “install” “–fallback-to-build”
node-pre-gyp ERR! cwd G:\Programing\ReactNative\Project\ww\ww\node_modules\realm
node-pre-gyp ERR! node -v v10.6.0
node-pre-gyp ERR! node-pre-gyp -v v0.6.39
node-pre-gyp ERR! not ok
Failed to execute ‘node-gyp.cmd configure –fallback-to-build –module=G:\Programing\ReactNative\Project\ww\ww\node_modules\realm\compiled\node-v64_win32_x64\realm.node –module_name=realm –module_path=G:\Programing\ReactNative\Project\ww\ww\node_modules\realm\compiled\node-v64_win32_x64’ (1)
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
PS G:\Programing\ReactNative\Project\ww\ww>