LK"I
Hi ,
Is there any support for windows?
when i try to :
npm run electron-rebuild
I get these errors:
[email protected] electron-rebuild C:\projects_node\test_burner\BeagleBoot
electron-rebuild
x Rebuild Failed
An unhandled error occurred inside electron-rebuild
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
core.c
descriptor.c
hotplug.c
io.c
strerror.c
sync.c
poll_windows.c
threads_windows.c
C:\projects_node\test_burner\BeagleBoot\node_modules\usb\libusb\libusb\os/threads_windows.h(47): error C2011: 'timespec': 'struct' type redefinition (c
rojects_node\test_burner\BeagleBoot\node_modules\usb\build\libusb.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\time.h(39): note: see declaration of 'timespec' (compiling source file ..\libusb\lib
..\libusb\libusb\io.c(1227): warning C4244: '=': conversion from 'time_t' to 'long', possible loss of data [C:\projects_node\test_burner\BeagleBoot\nod
..\libusb\libusb\io.c(1902): warning C4244: '=': conversion from 'time_t' to 'long', possible loss of data [C:\projects_node\test_burner\BeagleBoot\nod
..\libusb\libusb\io.c(2435): warning C4244: '=': conversion from 'time_t' to 'long', possible loss of data [C:\projects_node\test_burner\BeagleBoot\nod
C:\projects_node\test_burner\BeagleBoot\node_modules\usb\libusb\libusb\os/threads_windows.h(47): error C2011: 'timespec': 'struct' type redefinition (c
[C:\projects_node\test_burner\BeagleBoot\node_modules\usb\build\libusb.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\time.h(39): note: see declaration of 'timespec' (compiling source file ..\libusb\lib
windows_usb.c
C:\projects_node\test_burner\BeagleBoot\node_modules\usb\libusb\libusb\os/threads_windows.h(47): error C2011: 'timespec': 'struct' type redefinition (c
\projects_node\test_burner\BeagleBoot\node_modules\usb\build\libusb.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\time.h(39): note: see declaration of 'timespec' (compiling source file ..\libusb\lib
C:\projects_node\test_burner\BeagleBoot\node_modules\usb\libusb\libusb\os/threads_windows.h(47): error C2011: 'timespec': 'struct' type redefinition (c
c) [C:\projects_node\test_burner\BeagleBoot\node_modules\usb\build\libusb.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\time.h(39): note: see declaration of 'timespec' (compiling source file ..\libusb\lib
C:\projects_node\test_burner\BeagleBoot\node_modules\usb\libusb\libusb\os/threads_windows.h(47): error C2011: 'timespec': 'struct' type redefinition (c
[C:\projects_node\test_burner\BeagleBoot\node_modules\usb\build\libusb.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\time.h(39): note: see declaration of 'timespec' (compiling source file ..\libusb\lib
C:\projects_node\test_burner\BeagleBoot\node_modules\usb\libusb\libusb\os/threads_windows.h(47): error C2011: 'timespec': 'struct' type redefinition (c
\projects_node\test_burner\BeagleBoot\node_modules\usb\build\libusb.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\time.h(39): note: see declaration of 'timespec' (compiling source file ..\libusb\lib
C:\projects_node\test_burner\BeagleBoot\node_modules\usb\libusb\libusb\os/threads_windows.h(47): error C2011: 'timespec': 'struct' type redefinition (c
windows.c) [C:\projects_node\test_burner\BeagleBoot\node_modules\usb\build\libusb.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\time.h(39): note: see declaration of 'timespec' (compiling source file ..\libusb\lib
..\libusb\libusb\os\threads_windows.c(194): warning C4244: '=': conversion from 'time_t' to 'long', possible loss of data [C:\projects_node\test_burner
]
..\libusb\libusb\os\threads_windows.c(196): warning C4244: '=': conversion from 'const time_t' to 'long', possible loss of data [C:\projects_node\test_
cxproj]
C:\projects_node\test_burner\BeagleBoot\node_modules\usb\libusb\libusb\os/threads_windows.h(47): error C2011: 'timespec': 'struct' type redefinition (c
dows.c) [C:\projects_node\test_burner\BeagleBoot\node_modules\usb\build\libusb.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\time.h(39): note: see declaration of 'timespec' (compiling source file ..\libusb\lib
C:\projects_node\test_burner\BeagleBoot\node_modules\usb\libusb\libusb\os/threads_windows.h(47): error C2011: 'timespec': 'struct' type redefinition (c
usb.c) [C:\projects_node\test_burner\BeagleBoot\node_modules\usb\build\libusb.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\time.h(39): note: see declaration of 'timespec' (compiling source file ..\libusb\lib
..\libusb\libusb\os\windows_usb.c(586): warning C4244: '=': conversion from '__int64' to 'unsigned int', possible loss of data [C:\projects_node\test_b
xproj]
..\libusb\libusb\os\windows_usb.c(1017): warning C4996: 'GetVersionExA': was declared deprecated [C:\projects_node\test_burner\BeagleBoot\node_modules
C:\Program Files (x86)\Windows Kits\8.1\Include\um\sysinfoapi.h(433): note: see declaration of 'GetVersionExA'
..\libusb\libusb\os\windows_usb.c(1020): warning C4996: 'GetVersionExA': was declared deprecated [C:\projects_node\test_burner\BeagleBoot\node_modules
C:\Program Files (x86)\Windows Kits\8.1\Include\um\sysinfoapi.h(433): note: see declaration of 'GetVersionExA'
..\libusb\libusb\os\windows_usb.c(1423): warning C4244: '=': conversion from '_int64' to 'unsigned int', possible loss of data [C:\projects_node\test
cxproj]
..\libusb\libusb\os\windows_usb.c(2558): warning C4018: '<': signed/unsigned mismatch [C:\projects_node\test_burner\BeagleBoot\node_modules\usb\build\l
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:\projects_node\test_burner\BeagleBoot\node_modules\node-gyp\lib\build.js:258:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\projects_node\test_burner\BeagleBoot\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
//atom.io/download/electron" "--build-from-source" "--module_name=usb_bindings" "--module_path=C:\projects_node\test_burner\BeagleBoot\node_modules
essel/node-usb/releases/download/" "--remote_path=1.2.0"
gyp ERR! cwd C:\projects_node\test_burner\BeagleBoot\node_modules\usb
gyp ERR! node -v v6.11.2
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
Failed with exit code: 1
Error: Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
core.c
descriptor.c
hotplug.c
io.c
strerror.c
sync.c
poll_windows.c
threads_windows.c
C:\projects_node\test_burner\BeagleBoot\node_modules\usb\libusb\libusb\os/threads_windows.h(47): error C2011: 'timespec': 'struct' type redefinition (c
rojects_node\test_burner\BeagleBoot\node_modules\usb\build\libusb.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\time.h(39): note: see declaration of 'timespec' (compiling source file ..\libusb\lib
..\libusb\libusb\io.c(1227): warning C4244: '=': conversion from 'time_t' to 'long', possible loss of data [C:\projects_node\test_burner\BeagleBoot\nod
..\libusb\libusb\io.c(1902): warning C4244: '=': conversion from 'time_t' to 'long', possible loss of data [C:\projects_node\test_burner\BeagleBoot\nod
..\libusb\libusb\io.c(2435): warning C4244: '=': conversion from 'time_t' to 'long', possible loss of data [C:\projects_node\test_burner\BeagleBoot\nod
C:\projects_node\test_burner\BeagleBoot\node_modules\usb\libusb\libusb\os/threads_windows.h(47): error C2011: 'timespec': 'struct' type redefinition (c
[C:\projects_node\test_burner\BeagleBoot\node_modules\usb\build\libusb.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\time.h(39): note: see declaration of 'timespec' (compiling source file ..\libusb\lib
windows_usb.c
C:\projects_node\test_burner\BeagleBoot\node_modules\usb\libusb\libusb\os/threads_windows.h(47): error C2011: 'timespec': 'struct' type redefinition (c
\projects_node\test_burner\BeagleBoot\node_modules\usb\build\libusb.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\time.h(39): note: see declaration of 'timespec' (compiling source file ..\libusb\lib
C:\projects_node\test_burner\BeagleBoot\node_modules\usb\libusb\libusb\os/threads_windows.h(47): error C2011: 'timespec': 'struct' type redefinition (c
c) [C:\projects_node\test_burner\BeagleBoot\node_modules\usb\build\libusb.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\time.h(39): note: see declaration of 'timespec' (compiling source file ..\libusb\lib
C:\projects_node\test_burner\BeagleBoot\node_modules\usb\libusb\libusb\os/threads_windows.h(47): error C2011: 'timespec': 'struct' type redefinition (c
[C:\projects_node\test_burner\BeagleBoot\node_modules\usb\build\libusb.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\time.h(39): note: see declaration of 'timespec' (compiling source file ..\libusb\lib
C:\projects_node\test_burner\BeagleBoot\node_modules\usb\libusb\libusb\os/threads_windows.h(47): error C2011: 'timespec': 'struct' type redefinition (c
\projects_node\test_burner\BeagleBoot\node_modules\usb\build\libusb.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\time.h(39): note: see declaration of 'timespec' (compiling source file ..\libusb\lib
C:\projects_node\test_burner\BeagleBoot\node_modules\usb\libusb\libusb\os/threads_windows.h(47): error C2011: 'timespec': 'struct' type redefinition (c
windows.c) [C:\projects_node\test_burner\BeagleBoot\node_modules\usb\build\libusb.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\time.h(39): note: see declaration of 'timespec' (compiling source file ..\libusb\lib
..\libusb\libusb\os\threads_windows.c(194): warning C4244: '=': conversion from 'time_t' to 'long', possible loss of data [C:\projects_node\test_burner
]
..\libusb\libusb\os\threads_windows.c(196): warning C4244: '=': conversion from 'const time_t' to 'long', possible loss of data [C:\projects_node\test_
cxproj]
C:\projects_node\test_burner\BeagleBoot\node_modules\usb\libusb\libusb\os/threads_windows.h(47): error C2011: 'timespec': 'struct' type redefinition (c
dows.c) [C:\projects_node\test_burner\BeagleBoot\node_modules\usb\build\libusb.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\time.h(39): note: see declaration of 'timespec' (compiling source file ..\libusb\lib
C:\projects_node\test_burner\BeagleBoot\node_modules\usb\libusb\libusb\os/threads_windows.h(47): error C2011: 'timespec': 'struct' type redefinition (c
usb.c) [C:\projects_node\test_burner\BeagleBoot\node_modules\usb\build\libusb.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\time.h(39): note: see declaration of 'timespec' (compiling source file ..\libusb\lib
..\libusb\libusb\os\windows_usb.c(586): warning C4244: '=': conversion from '__int64' to 'unsigned int', possible loss of data [C:\projects_node\test_b
xproj]
..\libusb\libusb\os\windows_usb.c(1017): warning C4996: 'GetVersionExA': was declared deprecated [C:\projects_node\test_burner\BeagleBoot\node_modules
C:\Program Files (x86)\Windows Kits\8.1\Include\um\sysinfoapi.h(433): note: see declaration of 'GetVersionExA'
..\libusb\libusb\os\windows_usb.c(1020): warning C4996: 'GetVersionExA': was declared deprecated [C:\projects_node\test_burner\BeagleBoot\node_modules
C:\Program Files (x86)\Windows Kits\8.1\Include\um\sysinfoapi.h(433): note: see declaration of 'GetVersionExA'
..\libusb\libusb\os\windows_usb.c(1423): warning C4244: '=': conversion from '_int64' to 'unsigned int', possible loss of data [C:\projects_node\test
cxproj]
..\libusb\libusb\os\windows_usb.c(2558): warning C4018: '<': signed/unsigned mismatch [C:\projects_node\test_burner\BeagleBoot\node_modules\usb\build\l
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:\projects_node\test_burner\BeagleBoot\node_modules\node-gyp\lib\build.js:258:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\projects_node\test_burner\BeagleBoot\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
//atom.io/download/electron" "--build-from-source" "--module_name=usb_bindings" "--module_path=C:\projects_node\test_burner\BeagleBoot\node_modules
essel/node-usb/releases/download/" "--remote_path=1.2.0"
gyp ERR! cwd C:\projects_node\test_burner\BeagleBoot\node_modules\usb
gyp ERR! node -v v6.11.2
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
Failed with exit code: 1
at SafeSubscriber._error (C:\projects_node\test_burner\BeagleBoot\node_modules\spawn-rx\lib\src\index.js:267:84)
at SafeSubscriber.__tryOrUnsub (C:\projects_node\test_burner\BeagleBoot\node_modules\rxjs\Subscriber.js:238:16)
at SafeSubscriber.error (C:\projects_node\test_burner\BeagleBoot\node_modules\rxjs\Subscriber.js:197:26)
at Subscriber._error (C:\projects_node\test_burner\BeagleBoot\node_modules\rxjs\Subscriber.js:128:26)
at Subscriber.error (C:\projects_node\test_burner\BeagleBoot\node_modules\rxjs\Subscriber.js:102:18)
at MapSubscriber.Subscriber._error (C:\projects_node\test_burner\BeagleBoot\node_modules\rxjs\Subscriber.js:128:26)
at MapSubscriber.Subscriber.error (C:\projects_node\test_burner\BeagleBoot\node_modules\rxjs\Subscriber.js:102:18)
at SafeSubscriber._next (C:\projects_node\test_burner\BeagleBoot\node_modules\spawn-rx\lib\src\index.js:241:65)
at SafeSubscriber.__tryOrUnsub (C:\projects_node\test_burner\BeagleBoot\node_modules\rxjs\Subscriber.js:238:16)
at SafeSubscriber.next (C:\projects_node\test_burner\BeagleBoot\node_modules\rxjs\Subscriber.js:185:22)
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "electron-rebuild"
npm ERR! node v6.11.2
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] electron-rebuild: electron-rebuild
npm ERR! Exit status 4294967295
npm ERR!
npm ERR! Failed at the [email protected] electron-rebuild script 'electron-rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the beagleboot package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! electron-rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs beagleboot
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls beagleboot
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! C:\projects_node\test_burner\BeagleBoot\npm-debug.log