Кто-нибудь был в состоянии настроить среду сборки Balea Etcher на Windows? - PullRequest
0 голосов
/ 20 сентября 2019

Я застреваю при настройке среды разработки для balea etcher для Windows, как описано в https://github.com/balena-io/etcher/blob/master/docs/CONTRIBUTING.md. Команда «make etcher -velop» в gitbash завершается с ошибкой:

> ext2fs@1.0.29 install C:\Users\heikowagner\etcher\node_modules\ext2fs
> prebuild-install || node-gyp rebuild


C:\Users\heikowagner\etcher\node_modules\ext2fs>if not defined npm_config_node_gyp (node "C:\Users\heikowagner\AppData\Roaming\npm-cache\_npx\9448\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node "C:\Users\heikowagner\AppData\Roaming\npm-cache\_npx\9448\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
Die Projekte in dieser Projektmappe werden nacheinander erstellt. Um eine parallele Erstellung zu erm▒glichen, m▒ssen Sie den Schalter "/m" hinzuf▒gen.
  Copying Makefile...
          1 Datei(en) kopiert.
  Building libext2fs...
  mingw32-make[1]: Entering directory 'C:/Users/heikowagner/etcher/node_modules/ext2fs/deps/e2fsprogs/lib/ext2fs'
        CC alloc.c
  Microsoft (R) Library Manager Version 14.00.24210.0
  Copyright (C) Microsoft Corporation.  All rights reserved.

LINK : warning LNK4044: unrecognized option '/I../../../../config/common'; ignored [C:\Users\heikowagner\etcher\node_modules\ext2fs\build\ext2fs.vcxproj]
LINK : warning LNK4044: unrecognized option '/I../../../../config/win/ia32'; ignored [C:\Users\heikowagner\etcher\node_modules\ext2fs\build\ext2fs.vcxproj]
LINK : warning LNK4044: unrecognized option '/c'; ignored [C:\Users\heikowagner\etcher\node_modules\ext2fs\build\ext2fs.vcxproj]
LINK : warning LNK4044: unrecognized option '/o'; ignored [C:\Users\heikowagner\etcher\node_modules\ext2fs\build\ext2fs.vcxproj]
alloc.c : fatal error LNK1107: invalid or corrupt file: cannot read at 0x396C [C:\Users\heikowagner\etcher\node_modules\ext2fs\build\ext2fs.vcxproj]
  Makefile:107: recipe for target 'alloc.o' failed
  mingw32-make[1]: *** [alloc.o] Error 1107
  mingw32-make[1]: Leaving directory 'C:/Users/heikowagner/etcher/node_modules/ext2fs/deps/e2fsprogs/lib/ext2fs'
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Users\heikowagner\AppData\Roaming\npm-cache\_npx\9448\node_modules\npm\node_modules\node-gyp\lib\build.js:262:23)
gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Windows_NT 10.0.18362
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\heikowagner\\AppData\\Roaming\\npm-cache\\_npx\\9448\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\heikowagner\etcher\node_modules\ext2fs
gyp ERR! node -v v10.16.3
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ext2fs@1.0.29 install: `prebuild-install || node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ext2fs@1.0.29 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\heikowagner\AppData\Roaming\npm-cache\_logs\2019-09-20T13_08_06_800Z-debug.log
Makefile:97: recipe for target 'electron-develop' failed
make: *** [electron-develop] Error 1

Кто-нибудь настраивал среду разработки (должен быть хотя бы один, так как есть бинарный файл для загрузки;))?

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...