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

PS G:\Programing\ReactNative\Project\ww\ww> npm install –save realm

> realm@2.13.0 install G:\Programing\ReactNative\Project\ww\ww\node_modules\realm
> node-pre-gyp install –fallback-to-build

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 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)
Traceback (most recent call last):
File “G:\Programing\ReactNative\node\node_modules\npm\node_modules\node-gyp\gyp\gyp_main.py”, line 16, in <module>
sys.exit(gyp.script_main())
File “G:\Programing\ReactNative\node\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\__init__.py”, line 545, in script_main
return main(sys.argv[1:])
File “G:\Programing\ReactNative\node\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\__init__.py”, line 538, in main
Warning: Missing input files:
G:\Programing\ReactNative\Project\ww\ww\node_modules\realm\build\..\scripts\set-version.sh
G:\Programing\ReactNative\Project\ww\ww\node_modules\realm\build\..\scripts\changelog-header.sh
G:\Programing\ReactNative\Project\ww\ww\node_modules\realm\build\..\scripts\publish.sh
G:\Programing\ReactNative\Project\ww\ww\node_modules\realm\build\..\src\object-store\src\descriptor_ordering.hpp
G:\Programing\ReactNative\Project\ww\ww\node_modules\realm\build\..\src\object-store\src\util\compiler.hpp
G:\Programing\ReactNative\Project\ww\ww\node_modules\realm\build\..\lib\browser\util.jsscripts\build-node-pre-gyp.ps1
G:\Programing\ReactNative\Project\ww\ww\node_modules\realm\build\..\scripts\test.sh
return gyp_main(args)
File “G:\Programing\ReactNative\node\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\__init__.py”, line 523, in gyp_main
generator.GenerateOutput(flat_list, targets, data, params)
File “G:\Programing\ReactNative\node\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\generator\msvs.py”, line 2025, in GenerateOutput
version=msvs_version)
File “G:\Programing\ReactNative\node\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\MSVSNew.py”, line 213, in __init__
self.Write()
File “G:\Programing\ReactNative\node\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\MSVSNew.py”, line 340, in Write
f.close()
File “G:\Programing\ReactNative\node\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\common.py”, line 393, in close
os.rename(self.tmp_path, filename)
WindowsError: [Error 183] Cannot create a file when that file already exists
gyp ERR! configure error
gyp ERR! stack Error: gyp failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (G:\Programing\ReactNative\node\node_modules\npm\node_modules\node-gyp\lib\configure.js:336:16)
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 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” “–python=C:\\Users\\SMARTen\\.windows-build-tools\\python27\\python.exe” “–msvs_version=2015”
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 ‘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 –python=C:\Users\SMARTen\.windows-build-tools\python27\python.exe –msvs_version=2015’ (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 ‘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 –python=C:\Users\SMARTen\.windows-build-tools\python27\python.exe –msvs_version=2015’ (1)
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {“os”:”darwin”,”arch”:”any”} (current: {“os”:”win32″,”arch”:”x64″})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! realm@2.13.0 install: node-pre-gyp install --fallback-to-build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the realm@2.13.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! C:\Users\SMARTen\AppData\Roaming\npm-cache\_logs\2018-07-18T10_02_28_326Z-debug.log

سلام من با اینا چکار کنم؟ 😐
لطفا راهنماییم کنید!
فیلترشکنمم وصله!