These errors occurred on the installation node

Node-red version: v1.0.1
node.js version: v10.0.0
visual studio version: visual studio 2017


2019-10-13T12:54:26.412Z 安装 : node-red-contrib-gpio 0.14.0

2019-10-13T12:54:26.428Z npm.cmd install --no-audit --no-update-notifier --save --save-prefix="~" --production node-red-contrib-gpio@0.14.0
2019-10-13T12:54:40.800Z [err] npm
2019-10-13T12:54:40.801Z [err] WARN registry Using stale data from http://registry.npmjs.org/ because the host is inaccessible -- are you offline?
2019-10-13T12:54:40.801Z [err] npm
2019-10-13T12:54:40.801Z [err] WARN registry Using stale data from http://registry.npmjs.org/ due to a request error during revalidation.
2019-10-13T12:56:15.375Z [out]
2019-10-13T12:56:15.375Z [out] > serialport@6.0.5 install C:\Users\Administrator.node-red\node_modules\firmata\node_modules\serialport
2019-10-13T12:56:15.375Z [out] > prebuild-install || node-gyp rebuild
2019-10-13T12:56:15.375Z [out]
2019-10-13T12:56:17.796Z [err] prebuild-install
2019-10-13T12:56:17.797Z [err] WARN install No prebuilt binaries found (target=10.0.0 runtime=node arch=x64 platform=win32)
2019-10-13T12:56:17.837Z [out]
2019-10-13T12:56:17.837Z [out] C:\Users\Administrator.node-red\node_modules\firmata\node_modules\serialport>if not defined npm_config_node_gyp (node "C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild
2019-10-13T12:56:17.837Z [out] ) else (node "C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
2019-10-13T12:56:20.672Z [out] �ڴ˽��������һ������һ����Ŀ����Ҫ���ò������ɣ������ӡ�/m�����ء�
2019-10-13T12:56:21.506Z [out] serialport.cpp
2019-10-13T12:56:21.518Z [out] serialport_win.cpp
2019-10-13T12:56:21.536Z [out] win_delay_load_hook.cc
2019-10-13T12:56:23.106Z [out] c:\users\administrator.node-red\node_modules\firmata\node_modules\serialport\src\serialport.cpp(41): warning C4996: 'v8::String::Utf8Value::Utf8Value': ������Ϊ�ѷ�� [C:\Users\Administrator.node-red\node_modules\firmata\node_modules\serialport\build\serialport.vcxproj]
2019-10-13T12:56:23.106Z [out] c:\users\administrator\appdata\local\node-gyp\cache\10.0.0\include\node\v8.h(2821): note: ���v8::String::Utf8Value::Utf8Value��������
2019-10-13T12:56:23.107Z [out] c:\users\administrator.node-red\node_modules\firmata\node_modules\serialport\src\serialport.cpp(95): warning C4996: 'Nan::Callback::Call': ������Ϊ�ѷ�� [C:\Users\Administrator.node-red\node_modules\firmata\node_modules\serialport\build\serialport.vcxproj]
2019-10-13T12:56:23.107Z [out] c:\users\administrator.node-red\node_modules\nan\nan.h(1740): note: ���Nan::Callback::Call��������
2019-10-13T12:56:23.107Z [out] c:\users\administrator.node-red\node_modules\firmata\node_modules\serialport\src\serialport.cpp(150): warning C4996: 'Nan::Callback::Call': ������Ϊ�ѷ�� [C:\Users\Administrator.node-red\node_modules\firmata\node_modules\serialport\build\serialport.vcxproj]
2019-10-13T12:56:23.107Z [out] c:\users\administrator.node-red\node_modules\nan\nan.h(1740): note: ���Nan::Callback::Call��������
2019-10-13T12:56:23.107Z [out] c:\users\administrator.node-red\node_modules\firmata\node_modules\serialport\src\serialport.cpp(188): warning C4996: 'Nan::Callback::Call': ������Ϊ�ѷ�� [C:\Users\Administrator.node-red\node_modules\firmata\node_modules\serialport\build\serialport.vcxproj]
2019-10-13T12:56:23.107Z [out] c:\users\administrator.node-red\node_modules\nan\nan.h(1740): note: ���Nan::Callback::Call��������
2019-10-13T12:56:23.107Z [out] c:\users\administrator.node-red\node_modules\firmata\node_modules\serialport\src\serialport.cpp(231): warning C4996: 'Nan::Callback::Call': ������Ϊ�ѷ�� [C:\Users\Administrator.node-red\node_modules\firmata\node_modules\serialport\build\serialport.vcxproj]
2019-10-13T12:56:23.107Z [out] c:\users\administrator.node-red\node_modules\nan\nan.h(1740): note: ���Nan::Callback::Call��������
2019-10-13T12:56:23.107Z [out] c:\users\administrator.node-red\node_modules\firmata\node_modules\serialport\src\serialport.cpp(285): warning C4996: 'Nan::Callback::Call': ������Ϊ�ѷ�� [C:\Users\Administrator.node-red\node_modules\firmata\node_modules\serialport\build\serialport.vcxproj]
2019-10-13T12:56:23.107Z [out] c:\users\administrator.node-red\node_modules\nan\nan.h(1740): note: ���Nan::Callback::Call��������
2019-10-13T12:56:23.110Z [out] c:\users\administrator.node-red\node_modules\firmata\node_modules\serialport\src\serialport.cpp(336): warning C4996: 'Nan::Callback::Call': ������Ϊ�ѷ�� [C:\Users\Administrator.node-red\node_modules\firmata\node_modules\serialport\build\serialport.vcxproj]
2019-10-13T12:56:23.110Z [out] c:\users\administrator.node-red\node_modules\nan\nan.h(1740): note: ���Nan::Callback::Call��������
2019-10-13T12:56:23.112Z [out] c:\users\administrator.node-red\node_modules\firmata\node_modules\serialport\src\serialport.cpp(377): warning C4996: 'Nan::Callback::Call': ������Ϊ�ѷ�� [C:\Users\Administrator.node-red\node_modules\firmata\node_modules\serialport\build\serialport.vcxproj]
2019-10-13T12:56:23.112Z [out] c:\users\administrator.node-red\node_modules\nan\nan.h(1740): note: ���Nan::Callback::Call��������
2019-10-13T12:56:23.157Z [out] c:\users\administrator.node-red\node_modules\firmata\node_modules\serialport\src\serialport_win.cpp(183): warning C4311: ������ǿ��ת����: �ӡ�HANDLE������int����ָ��ض� [C:\Users\Administrator.node-red\node_modules\firmata\node_modules\serialport\build\serialport.vcxproj]
2019-10-13T12:56:23.157Z [out] c:\users\administrator.node-red\node_modules\firmata\node_modules\serialport\src\serialport_win.cpp(183): warning C4302: ������ǿ��ת����: �ӡ�HANDLE������int���ض� [C:\Users\Administrator.node-red\node_modules\firmata\node_modules\serialport\build\serialport.vcxproj]
2019-10-13T12:56:23.158Z [out] c:\users\administrator.node-red\node_modules\firmata\node_modules\serialport\src\serialport_win.cpp(193): warning C4312: ������ǿ��ת����: �ӡ�int��ת��������ġ�HANDLE�� [C:\Users\Administrator.node-red\node_modules\firmata\node_modules\serialport\build\serialport.vcxproj]
2019-10-13T12:56:23.158Z [out] c:\users\administrator.node-red\node_modules\firmata\node_modules\serialport\src\serialport_win.cpp(200): warning C4312: ������ǿ��ת����: �ӡ�int��ת��������ġ�HANDLE�� [C:\Users\Administrator.node-red\node_modules\firmata\node_modules\serialport\build\serialport.vcxproj]
2019-10-13T12:56:23.159Z [out] c:\users\administrator.node-red\node_modules\firmata\node_modules\serialport\src\serialport_win.cpp(210): warning C4312: ������ǿ��ת����: �ӡ�int��ת��������ġ�HANDLE�� [C:\Users\Administrator.node-red\node_modules\firmata\node_modules\serialport\build\serialport.vcxproj]
2019-10-13T12:56:23.159Z [out] c:\users\administrator.node-red\node_modules\firmata\node_modules\serialport\src\serialport_win.cpp(212): warning C4312: ������ǿ��ת����: �ӡ�int��ת��������ġ�HANDLE�� [C:\Users\Administrator.node-red\node_modules\firmata\node_modules\serialport\build\serialport.vcxproj]
2019-10-13T12:56:23.160Z [out] c:\users\administrator.node-red\node_modules\firmata\node_modules\serialport\src\serialport_win.cpp(216): warning C4312: ������ǿ��ת����: �ӡ�int��ת��������ġ�HANDLE�� [C:\Users\Administrator.node-red\node_modules\firmata\node_modules\serialport\build\serialport.vcxproj]
2019-10-13T12:56:23.160Z [out] c:\users\administrator.node-red\node_modules\firmata\node_modules\serialport\src\serialport_win.cpp(218): warning C4312: ������ǿ��ת����: �ӡ�int��ת��������ġ�HANDLE�� [C:\Users\Administrator.node-red\node_modules\firmata\node_modules\serialport\build\serialport.vcxproj]
2019-10-13T12:56:23.160Z [out] c:\users\administrator.node-red\node_modules\firmata\node_modules\serialport\src\serialport_win.cpp(222): warning C4312: ������ǿ��ת����: �ӡ�int��ת��������ġ�HANDLE�� [C:\Users\Administrator.node-red\node_modules\firmata\node_modules\serialport\build\serialport.vcxproj]
2019-10-13T12:56:23.161Z [out] c:\users\administrator.node-red\node_modules\firmata\node_modules\serialport\src\serialport_win.cpp(224): warning C4312: ������ǿ��ת����: �ӡ�int��ת��������ġ�HANDLE�� [C:\Users\Administrator.node-red\node_modules\firmata\node_modules\serialport\build\serialport.vcxproj]
2019-10-13T12:56:23.161Z [out] c:\users\administrator.node-red\node_modules\firmata\node_modules\serialport\src\serialport_win.cpp(229): warning C4312: ������ǿ��ת����: �ӡ�int��ת��������ġ�HANDLE�� [C:\Users\Administrator.node-red\node_modules\firmata\node_modules\serialport\build\serialport.vcxproj]
2019-10-13T12:56:23.161Z [out] c:\users\administrator.node-red\node_modules\firmata\node_modules\serialport\src\serialport_win.cpp(241): warning C4312: ������ǿ��ת����: �ӡ�int��ת��������ġ�HANDLE�� [C:\Users\Administrator.node-red\node_modules\firmata\node_modules\serialport\build\serialport.vcxproj]
2019-10-13T12:56:23.162Z [out] c:\users\administrator.node-red\node_modules\firmata\node_modules\serialport\src\serialport_win.cpp(251): warning C4312: ������ǿ��ת����: �ӡ�int��ת��������ġ�HANDLE�� [C:\Users\Administrator.node-red\node_modules\firmata\node_modules\serialport\build\serialport.vcxproj]
2019-10-13T12:56:23.169Z [out] c:\users\administrator.node-red\node_modules\firmata\node_modules\serialport\src\serialport_win.cpp(314): warning C4312: ������ǿ��ת����: �ӡ�int��ת��������ġ�HANDLE�� [C:\Users\Administrator.node-red\node_modules\firmata\node_modules\serialport\build\serialport.vcxproj]
2019-10-13T12:56:23.179Z [out] c:\users\administrator.node-red\node_modules\firmata\node_modules\serialport\src\serialport_win.cpp(340): warning C4312: ������ǿ��ת����: �ӡ�int��ת��������ġ�HANDLE�� [C:\Users\Administrator.node-red\node_modules\firmata\node_modules\serialport\build\serialport.vcxproj]
2019-10-13T12:56:23.180Z [out] c:\users\administrator.node-red\node_modules\firmata\node_modules\serialport\src\serialport_win.cpp(369): warning C4996: 'Nan::Callback::Call': ������Ϊ�ѷ�� [C:\Users\Administrator.node-red\node_modules\firmata\node_modules\serialport\build\serialport.vcxproj]
2019-10-13T12:56:23.180Z [out] c:\users\administrator.node-red\node_modules\nan\nan.h(1740): note: ���Nan::Callback::Call��������
2019-10-13T12:56:23.180Z [out] c:\users\administrator.node-red\node_modules\firmata\node_modules\serialport\src\serialport_win.cpp(441): warning C4312: ������ǿ��ת����: �ӡ�int��ת��������ġ�HANDLE�� [C:\Users\Administrator.node-red\node_modules\firmata\node_modules\serialport\build\serialport.vcxproj]
2019-10-13T12:56:23.181Z [out] c:\users\administrator.node-red\node_modules\firmata\node_modules\serialport\src\serialport_win.cpp(458): warning C4312: ������ǿ��ת����: �ӡ�int��ת��������ġ�HANDLE�� [C:\Users\Administrator.node-red\node_modules\firmata\node_modules\serialport\build\serialport.vcxproj]
2019-10-13T12:56:23.181Z [out] c:\users\administrator.node-red\node_modules\firmata\node_modules\serialport\src\serialport_win.cpp(471): warning C4312: ������ǿ��ת����: �ӡ�int��ת��������ġ�HANDLE�� [C:\Users\Administrator.node-red\node_modules\firmata\node_modules\serialport\build\serialport.vcxproj]
2019-10-13T12:56:23.181Z [out] c:\users\administrator.node-red\node_modules\firmata\node_modules\serialport\src\serialport_win.cpp(481): warning C4312: ������ǿ��ת����: �ӡ�int��ת��������ġ�HANDLE�� [C:\Users\Administrator.node-red\node_modules\firmata\node_modules\serialport\build\serialport.vcxproj]
2019-10-13T12:56:23.181Z [out] c:\users\administrator.node-red\node_modules\firmata\node_modules\serialport\src\serialport_win.cpp(509): warning C4312: ������ǿ��ת����: �ӡ�int��ת��������ġ�HANDLE�� [C:\Users\Administrator.node-red\node_modules\firmata\node_modules\serialport\build\serialport.vcxproj]
2019-10-13T12:56:23.183Z [out] c:\users\administrator.node-red\node_modules\firmata\node_modules\serialport\src\serialport_win.cpp(520): warning C4312: ������ǿ��ת����: �ӡ�int��ת��������ġ�HANDLE�� [C:\Users\Administrator.node-red\node_modules\firmata\node_modules\serialport\build\serialport.vcxproj]
2019-10-13T12:56:23.184Z [out] c:\users\administrator.node-red\node_modules\firmata\node_modules\serialport\src\serialport_win.cpp(552): warning C4996: 'Nan::Callback::Call': ������Ϊ�ѷ�� [C:\Users\Administrator.node-red\node_modules\firmata\node_modules\serialport\build\serialport.vcxproj]
2019-10-13T12:56:23.190Z [out] c:\users\administrator.node-red\node_modules\nan\nan.h(1740): note: ���Nan::Callback::Call��������
2019-10-13T12:56:23.190Z [out] c:\users\administrator.node-red\node_modules\firmata\node_modules\serialport\src\serialport_win.cpp(568): warning C4312: ������ǿ��ת����: �ӡ�int��ת��������ġ�HANDLE�� [C:\Users\Administrator.node-red\node_modules\firmata\node_modules\serialport\build\serialport.vcxproj]
2019-10-13T12:56:23.191Z [out] c:\users\administrator.node-red\node_modules\firmata\node_modules\serialport\src\serialport_win.cpp(570): warning C4312: ������ǿ��ת����: �ӡ�int��ת��������ġ�HANDLE�� [C:\Users\Administrator.node-red\node_modules\firmata\node_modules\serialport\build\serialport.vcxproj]
2019-10-13T12:56:23.200Z [out] c:\users\administrator.node-red\node_modules\firmata\node_modules\serialport\src\serialport_win.cpp(734): warning C4996: 'Nan::Callback::Call': ������Ϊ�ѷ�� [C:\Users\Administrator.node-red\node_modules\firmata\node_modules\serialport\build\serialport.vcxproj]
2019-10-13T12:56:23.200Z [out] c:\users\administrator.node-red\node_modules\nan\nan.h(1740): note: ���Nan::Callback::Call��������
2019-10-13T12:56:23.201Z [out] c:\users\administrator.node-red\node_modules\firmata\node_modules\serialport\src\serialport_win.cpp(748): warning C4312: ������ǿ��ת����: �ӡ�int��ת��������ġ�HANDLE�� [C:\Users\Administrator.node-red\node_modules\firmata\node_modules\serialport\build\serialport.vcxproj]
2019-10-13T12:56:23.202Z [out] c:\users\administrator.node-red\node_modules\firmata\node_modules\serialport\src\serialport_win.cpp(757): warning C4312: ������ǿ��ת����: �ӡ�int��ת��������ġ�HANDLE�� [C:\Users\Administrator.node-red\node_modules\firmata\node_modules\serialport\build\serialport.vcxproj]
2019-10-13T12:56:23.987Z [out] ���ڴ����� C:\Users\Administrator.node-red\node_modules\firmata\node_modules\serialport\build\Release\serialport.lib �Ͷ��� C:\Users\Administrator.node-red\node_modules\firmata\node_modules\serialport\build\Release\serialport.exp
2019-10-13T12:56:24.170Z [out] �������ɴ���
2019-10-13T12:56:24.759Z [out] All 461 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
2019-10-13T12:56:24.778Z [out] ����ɴ��������
2019-10-13T12:56:25.483Z [out] serialport.vcxproj -> C:\Users\Administrator.node-red\node_modules\firmata\node_modules\serialport\build\Release\serialport.node
2019-10-13T12:56:25.814Z [out] + node-red-contrib-gpio@0.14.0
2019-10-13T12:56:25.814Z [out] added 6 packages from 13 contributors and removed 2 packages in 116.831s
2019-10-13T12:56:25.910Z rc=0


2019-10-13T12:57:54.009Z 安装 : node-red-node-hbgpio 0.0.5


2019-10-13T12:58:13.184Z 安装 : node-red-node-hbgpio 0.0.5

2019-10-13T12:58:13.240Z npm.cmd install --no-audit --no-update-notifier --save --save-prefix="~" --production node-red-node-hbgpio@0.0.5
2019-10-13T12:58:20.011Z [out]
2019-10-13T12:58:20.011Z [out] > node-red-node-hbgpio@0.0.5 postinstall C:\Users\Administrator.node-red\node_modules\node-red-node-hbgpio
2019-10-13T12:58:20.011Z [out] > ./fixup.sh
2019-10-13T12:58:20.011Z [out]
2019-10-13T12:58:20.067Z [err] '.' �����ڲ����ⲿ���Ҳ���ǿ����еij���

2019-10-13T12:58:20.067Z [err] ���������ļ���

2019-10-13T12:58:20.331Z [err] npm
2019-10-13T12:58:20.331Z [err] ERR! code ELIFECYCLE
2019-10-13T12:58:20.331Z [err] npm
2019-10-13T12:58:20.331Z [err] ERR! errno 1
2019-10-13T12:58:20.333Z [err] npm
2019-10-13T12:58:20.333Z [err] ERR! node-red-node-hbgpio@0.0.5 postinstall: ./fixup.sh
2019-10-13T12:58:20.333Z [err] npm ERR!
2019-10-13T12:58:20.333Z [err] Exit status 1
2019-10-13T12:58:20.333Z [err] npm
2019-10-13T12:58:20.333Z [err] ERR!
2019-10-13T12:58:20.333Z [err]
2019-10-13T12:58:20.333Z [err] npm
2019-10-13T12:58:20.333Z [err] ERR! Failed at the node-red-node-hbgpio@0.0.5 postinstall script.
2019-10-13T12:58:20.333Z [err] npm
2019-10-13T12:58:20.333Z [err] ERR! This is probably not a problem with npm. There is likely additional logging output above.
2019-10-13T12:58:20.375Z [err]
2019-10-13T12:58:20.375Z [err] npm ERR! A complete log of this run can be found in:
2019-10-13T12:58:20.375Z [err] npm ERR! C:\Users\Administrator\AppData\Roaming\npm-cache_logs\2019-10-13T12_58_20_345Z-debug.log
2019-10-13T12:58:20.398Z rc=1

Please do not open multiple threads for the same issue. Especially as this is what I asked you to do in the other thread!

please help me delete this topic

This is on a different platform to your other thread. Also, node-red-node-hbgpio is not for Windows is it? As you can see from the fact that it tries to run a shell script at the end fixup.sh which inevitably fails.

So it looks like you might be mixing up your platforms.