NPM 安装在这个 VSCode 项目中很疯狂,请指教
2020-10-10
357
我学习 React 并测试 此 repo。当我克隆并执行 NPM 安装时,我得到了这个长输出:
(注意:Stackoverflow 允许最多 30,000 个字母,原始输出为 300,000 )
Microsoft Windows [Version 10.0.18363.1082]
(c) 2019 Microsoft Corporation. Med ensamrätt.
L:\react\PropertyFinder>cd L:\temp\orders-master\orders-master
L:\temp\orders-master\orders-master>npm install
npm WARN deprecated [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated [email protected]: core-js@<2.6.8 is no longer maintained. Please, upgrade to core-js@3 or at least to actual version of core-js@2.
to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated [email protected]: CircularJSON is in maintenance only, flatted is its successor.
npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: this library is no longer supported
> [email protected] install L:\temp\orders-master\orders-master\node_modules\grpc
> node-pre-gyp install --fallback-to-build --library=static_library
node-pre-gyp WARN Using request for node-pre-gyp https download
node-pre-gyp WARN Tried to download(404): https://node-precompiled-binaries.grpc.io/grpc/v1.20.0/node-v72-win32-x64-unknown.tar.gz
node-pre-gyp WARN Pre-built binaries not found for [email protected] and [email protected] (node-v72 ABI, unknown) (falling back to source compile with node-gyp)
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
win_delay_load_hook.cc
WINDOWS_BUILD_WARNING.vcxproj -> L:\temp\orders-master\orders-master\node_modules\grpc\build\Release\\WINDOWS_BUILD_WARNING.node
err_data.c
a_bitstr.c
a_bool.c
a_d2i_fp.c
a_dup.c
a_enum.c
a_gentm.c
l:\temp\orders-master\orders-master\node_modules\grpc\deps\grpc\third_party\boringssl\include\openssl\base.h(143): warning C4005: 'OPENSSL_THREA
DS': macro redefinition (compiling source file ..\deps\grpc\src\boringssl\err_data.c) [L:\temp\orders-master\orders-master\node_modules\grpc\bui
ld\boringssl.vcxproj]
l:\temp\orders-master\orders-master\node_modules\grpc\deps\grpc\src\boringssl\err_data.c: note: see previous definition of 'OPENSSL_THREADS'
l:\temp\orders-master\orders-
c:\users\user\appdata\local\node-gyp\cache\12.8.1\include\node\openssl\ossl_typ.h(91): error C2371: 'EVP_MD': redefinition; different basic type
s (compiling source file ..\deps\grpc\src\boringssl\err_data.c) [L:\temp\orders-master\orders-master\node_modules\grpc\build\boringssl.vcxproj]
l:\temp\orders-master\orders-master\node_modules\grpc\deps\grpc\third_party\boringssl\include\openssl\base.h(304): note: see declaration of 'E
VP_MD' (compiling source file ..\deps\grpc\src\boringssl\err_data.c)
c:\users\user\appdata\local\node-gyp\cache\12.8.1\include\node\openssl\ossl_typ.h(92): error C2371: 'EVP_MD_CTX': redefinition; different basic
types (compiling source file ..\deps\grpc\src\boringssl\err_data.c) [L:\temp\orders-master\orders-master\node_modules\grpc\build\boringssl.vcxpr
oj]
l:\temp\orders-master\orders-master\node_modules\grpc\deps\grpc\third_party\boringssl\include\openssl\base.h(303): note: see declaration of 'E
VP_MD_CTX' (compiling source file ..\deps\grpc\src\boringssl\err_data.c)
c:\users\user\appdata\local\node-gyp\cache\12.8.1\include\node\openssl\ossl_typ.h(100): error C2371: 'EVP_ENCODE_CTX': redefinition; different b
asic types (compiling source file ..\deps\grpc\src\boringssl\err_data.c) [L:\temp\orders-master\orders-master\node_modules\grpc\build\boringssl.
vcxproj]
l:\temp\orders-master\orders-master\node_modules\grpc\deps\grpc\third_party\boringssl\include\openssl\base.h(308): note: see declaration of 'E
VP_ENCODE_CTX' (compiling source file ..\deps\grpc\src\boringssl\err_data.c)
c:\users\user\appdata\local\node-gyp\cache\12.8.1\include\node\openssl\crypto.h(231): error C2371: 'CRYPTO_THREADID': redefinition; different ba
sic types (compiling source file ..\deps\grpc\src\boringssl\err_data.c)l:\temp\orders-master\orders-master\node_modules\grpc\deps\grpc\third_par
ty\boringssl\include\openssl\base.h(143): warning C4005: 'OPENSSL_THREADS': macro redefinition (compiling source file ..\deps\grpc\third_party\b
oringssl\crypto\asn1\a_d2i_fp.c) [L:\temp\orders-master\orders-master\node_modules\grpc\build\boringssl.vcxproj]
l:\temp\orders-master\orders-master\node_modules\grpc\deps\grpc\third_party\boringssl\include\openssl\base.h(231): note: see declaration of 'C
RYPTO_THREADID' (compiling source file ..\deps\grpc\src\boringssl\err_data.c)l:\temp\orders-master\orders-master\node_modules\grpc\deps\grpc\t
hird_party\boringssl\crypto\asn1\a_d2i_fp.c: note: see previous definition of 'OPENSSL_THREADS'
l:\temp\orders-master\orders-master\node_modules\grpc\deps\grpc\third_party\boringssl\include\openssl\base.h(147): warning C4005: 'OPENSSL_VERSI
ON_NUMBER': macro redefinition (compiling source file ..\deps\grpc\third_party\boringssl\crypto\asn1\a_d2i_fp.c) [L:\temp\orders-master\orders-m
aster\node_modules\grpc\build\boringssl.vcxproj]
c:\users\user\appdata\local\node-gyp\cache\12.8.1\include\node\openssl\opensslv.h(42): note: see previous definition of 'OPENSSL_VERSION_NUMBE
R' (compiling source file ..\deps\grpc\third_party\boringssl\crypto\asn1\a_d2i_fp.c)
l:\temp\orders-master\orders-master\node_modules\grpc\deps\grpc\third_party\boringssl\include\openssl\base.h(143): warning C4005: 'OPENSSL_THREA
DS': macro redefinition (compiling source file ..\deps\grpc\third_party\boringssl\crypto\asn1\a_bool.c) [L:\temp\orders-master\orders-master\nod
e_modules\grpc\build\boringssl.vcxproj]
l:\temp\orders-master\orders-master\node_modules\grpc\deps\grpc\third_party\boringssl\crypto\asn1\a_bool.c: note: see previous definition of '
OPENSSL_THREADS'
l:\temp\orders-master\orders-master\node_modules\grpc\deps\grpc\third_party\boringssl\include\openssl\base.h(182): warning C4005: 'OPENSSL_EXPOR
T': macro redefinition (compiling source file ..\deps\grpc\third_party\boringssl\crypto\asn1\a_d2i_fp.c) [L:\temp\orders-master\orders-master\no
de_modules\grpc\build\boringssl.vcxproj]
c:\users\user\appdata\local\node-gyp\cache\12.8.1\include\node\openssl\e_os2.h(171): note: see previous definition of 'OPENSSL_EXPORT' (compil
ing source file ..\deps\grpc\third_party\boringssl\crypto\asn1\a_d2i_fp.c)
l:\temp\orders-master\orders-master\node_modules\grpc\deps\grpc\third_party\boringssl\include\openssl\base.h(147): warning C4005: 'OPENSSL_VERSI
ON_NUMBER': macro redefinition (compiling source file ..\deps\grpc\third_party\boringssl\crypto\asn1\a_bool.c) [L:\temp\orders-master\orders-mas
ter\node_modules\grpc\build\boringssl.vcxproj]
c:\users\user\appdata\local\node-gyp\cache\12.8.1\include\node\openssl\opensslv.h(42): note: see previous definition of 'OPENSSL_VERSION_NUMBE
R' (compiling source file ..\deps\grpc\third_party\boringssl\crypto\asn1\a_bool.c)
l:\temp\orders-master\orders-master\node_modules\grpc\deps\grpc\third_party\boringssl\include\openssl\base.h(231): error C2371: 'CRYPTO_THREADID
': redefinition; different basic types (compiling source file ..\deps\grpc\third_party\boringssl\crypto\asn1\a_d2i_fp.c)l:\temp\orders-master\or
ders-master\node_modules\grpc\deps\grpc\third_party\boringssl\include\openssl\base.h(182): warning C4005: 'OPENSSL_EXPORT': macro redefinition (
compiling source file ..\deps\grpc\third_party\boringssl\crypto\asn1\a_bool.c) [L:\temp\orders-master\orders-master\node_modules\grpc\build\bori
ngssl.vcxproj]
c:\users\user\appdata\local\node-gyp\cache\12.8.1\include\node\openssl\crypto.h(231): note: see declaration of 'CRYPTO_THREADID' (compiling so
urce file ..\deps\grpc\third_party\boringssl\crypto\asn1\a_d2i_fp.c)c:\users\user\appdata\local\node-gyp\cache\12.8.1\include\node\openssl\e_o
s2.h(171): note: see previous definition of 'OPENSSL_EXPORT' (compiling source file ..\deps\grpc\third_party\boringssl\crypto\asn1\a_bool.c)
l:\temp\orders-master\orders-master\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(33): error C2118: negative subscript [L:\temp\orders-ma
ster\orders-master\node_modules\grpc\build\boringssl.vcxproj]
l:\temp\orders-master\orders-master\node_modules\grpc\deps\grpc\third_party\boringssl\include\openssl\base.h(143): warning C4005: 'OPENSSL_THREA
DS': macro redefinition (compiling source file ..\deps\grpc\third_party\boringssl\crypto\asn1\a_bitstr.c) [L:\temp\orders-master\orders-master\n
ode_modules\grpc\build\boringssl.vcxproj]
l:\temp\orders-master\orders-master\node_modules\grpc\deps\grpc\third_party\boringssl\crypto\asn1\a_bitstr.c: note: see previous definition of
'OPENSSL_THREADS'
l:\temp\orders-master\orders-master\node_modules\grpc\deps\grpc\third_party\boringssl\include\openssl\base.h(143): warning C4005: 'OPENSSL_THREA
DS': macro redefinition (compiling source file ..\deps\grpc\third_party\boringssl\crypto\asn1\a_dup.c) [L:\temp\orders-master\orders-master\node
_modules\grpc\build\boringssl.vcxproj]
l:\temp\orders-master\orders-master\node_modules\grpc\deps\grpc\third_party\boringssl\crypto\asn1\a_dup.c: note: see previous definition of 'O
PENSSL_THREADS'
l:\temp\orders-master\orders-master\node_modules\grpc\deps\grpc\third_party\boringssl\include\openssl\base.h(303): error C2371: 'EVP_MD_CTX': re
definition; different basic types (compiling source file ..\deps\grpc\third_party\boringssl\crypto\asn1\a_d2i_fp.c)l:\temp\orders-master\orders-
master\node_modules\grpc\deps\grpc\third_party\boringssl\include\openssl\base.h(231): error C2371: 'CRYPTO_THREADID': redefinition; different ba
sic types (compiling source file ..\deps\grpc\third_party\boringssl\crypto\asn1\a_bool.c) [L:\temp\orders-master\orders-master\node_modules\grpc
\build\boringssl.vcxproj]
l:\temp\orders-master\orders-master\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(34): error C2118: negative subscript [L:\temp\orders-ma
ster\orders-master\node_modules\grpc\build\boringssl.vcxproj]
'OPENSSL_EXPOR
T': macro redefinition (compiling source file ..\deps\grpc\third_party\boringssl\crypto\asn1\a_dup.c) [L:\temp\orders-master\orders-master\node_
modules\grpc\build\boringssl.vcxproj]
c:\users\user\appdata\local\node-gyp\cache\12.8.1\include\node\openssl\e_os2.h(171): note: see previous definition of 'OPENSSL_EXPORT' (compil
ing source file ..\deps\grpc\third_party\boringssl\crypto\asn1\a_dup.c)
l:\temp\orders-master\orders-master\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(36): error C2118: negative subscript [L:\temp\orders-ma
ster\orders-master\node_modules\grpc\build\boringssl.vcxproj]
l:\temp\orders-master\orders-master\node_modules\grpc\deps\grpc\third_party\boringssl\include\openssl\base.h(308): error C2371: 'EVP_ENCODE_CTX'
: redefinition; different basic types (compiling source file ..\deps\grpc\third_party\boringssl\crypto\asn1\a_d2i_fp.c) [L:\temp\orders-master\o
rders-master\node_modules\grpc\build\boringssl.vcxproj]
l:\temp\orders-master\orders-master\node_modules\grpc\deps\grpc\third_party\boringssl\include\openssl\base.h(182): warning C4005: 'OPENSSL_EXPOR
T': macro redefinition (compiling source file ..\deps\grpc\third_party\boringssl\crypto\asn1\a_enum.c)l:\temp\orders-master\orders-master\node_m
odules\grpc\deps\grpc\third_party\boringssl\include\openssl\base.h(304): error C2371: 'EVP_MD': redefinition; different basic types (compiling s
ource file ..\deps\grpc\third_party\boringssl\crypto\asn1\a_bool.c) [L:\temp\orders-master\orders-master\node_modules\grpc\build\boringssl.vcxpr
oj]
c:\users\user\appdata\local\node-gyp\cache\12.8.1\include\node\openssl\ossl_typ.h(100): note: see declaration of 'EVP_ENCODE_CTX' (compiling s
ource file ..\deps\grpc\third_party\boringssl\crypto\asn1\a_d2i_fp.c)
c:\users\user\appdata\local\node-gyp\cache\12.8.1\include\node\openssl\e_os2.h(171): note: see previous definition of 'OPENSSL_EXPORT' (compil
ing source file ..\deps\grpc\third_party\boringssl\crypto\asn1\a_enum.c)c:\users\user\appdata\local\node-gyp\cache\12.8.1\include\node\openssl
\ossl_typ.h(91): note: see declaration of 'EVP_MD' (compiling source file ..\deps\grpc\third_party\boringssl\crypto\asn1\a_bool.c)
l:\temp\orders-master\orders-master\node_modules\grpc\deps\grpc\third_party\boringssl\include\openssl\base.h(231): error C2371: 'CRYPTO_THREADID
': redefinition; different basic types (compiling source file ..\deps\grpc\third_party\boringssl\crypto\asn1\a_bitstr.c)l:\temp\orders-master\or
ders-master\node_modules\grpc\deps\grpc\third_party\boringssl\include\openssl\base.h(231): error C2371: 'CRYPTO_THREADID': redefinition; differe
nt basic types (compiling source file ..\deps\grpc\third_party\boringssl\crypto\asn1\a_dup.c)l:\temp\orders-master\orders-master\node_modules\gr
pc\deps\grpc\src\boringssl\err_data.c(37): error C2118: negative subscript [L:\temp\orders-master\orders-master\node_modules\grpc\build\boringss
l.vcxproj]
l:\temp\orders-master\orders-master\node_modules\grpc\deps\grpc\third_party\boringssl\include\openssl\base.h(308): error C2371: 'EVP_ENCODE_CTX'
BJECT_FLAG_DYNAMIC': undeclared identifier
l:\temp\orders-master\orders-master\node_modules\grpc\deps\grpc\third_party\boringssl\crypto\asn1\a_object.c(241): error C2037: left of 'flags'
specifies undefined struct/union 'asn1_object_st' [L:\temp\orders-master\orders-master\node_modules\grpc\build\boringssl.vcxproj]
l:\temp\orders-master\orders-master\node_modules\grpc\deps\grpc\third_party\boringssl\crypto\asn1\a_strnid.c(67): error C2084: function 'sk_ASN1
_STRING_TABLE_compfunc sk_ASN1_STRING_TABLE_set_cmp_func(stack_st_ASN1_STRING_TABLE *,sk_ASN1_STRING_TABLE_compfunc)' already has a bodyl:\temp\
orders-master\orders-master\node_modules\grpc\deps\grpc\third_party\boringssl\crypto\asn1\a_object.c(241): error C2065: 'ASN1_OBJECT_FLAG_DYNAMI
C_STRINGS': undeclared identifier [L:\temp\orders-master\orders-master\node_modules\grpc\build\boringssl.vcxproj]
l:\temp\orders-master\orders-master\node_modules\grpc\deps\grpc\third_party\boringssl\crypto\asn1\a_object.c(245): error C2037: left of 'sn' spe
cifies undefined struct/union 'asn1_object_st'c:\users\user\appdata\local\node-gyp\cache\12.8.1\include\node\openssl\asn1.h(194): note: see prev
ious definition of 'sk_ASN1_STRING_TABLE_set_cmp_func' [L:\temp\orders-master\orders-master\node_modules\grpc\build\boringssl.vcxproj]
cifies undefined struct/union 'asn1_object_st' [L:\temp\orders-master\orders-master\node_modules\grpc\build\boringssl.vcxproj]
l:\temp\orders-master\orders-master\node_modules\grpc\deps\grpc\third_party\boringssl\crypto\asn1\a_strnid.c(226): warning C4133: 'function': in
compatible types - from 'size_t *' to 'ASN1_STRING_TABLE *' [L:\temp\orders-master\orders-master\node_modules\grpc\build\boringssl.vcxproj]
l:\temp\orders-master\orders-master\node_modules\grpc\deps\grpc\third_party\boringssl\crypto\asn1\a_object.c(250): error C2037: left of 'ln' spe
cifies undefined struct/union 'asn1_object_st' [L:\temp\orders-master\orders-master\node_modules\grpc\build\boringssl.vcxproj]
l:\temp\orders-master\orders-master\node_modules\grpc\deps\grpc\third_party\boringssl\crypto\asn1\a_strnid.c(226): warning C4020: 'sk_ASN1_STRIN
G_TABLE_find': too many actual parameters [L:\temp\orders-master\orders-master\node_modules\grpc\build\boringssl.vcxproj]
l:\temp\orders-master\orders-master\node_modules\grpc\deps\grpc\third_party\boringssl\crypto\asn1\a_object.c(252): error C2037: left of 'flags'
specifies undefined struct/union 'asn1_object_st' [L:\temp\orders-master\orders-master\node_modules\grpc\build\boringssl.vcxproj]
l:\temp\orders-master\orders-master\node_modules\grpc\deps\grpc\third_party\boringssl\crypto\asn1\a_object.c(252): error C2065: 'ASN1_OBJECT_FLA
G_DYNAMIC_DATA': undeclared identifier [L:\temp\orders-master\orders-master\node_modules\grpc\build\boringssl.vcxproj]
l:\temp\orders-master\orders-master\node_modules\grpc\deps\grpc\third_party\boringssl\crypto\asn1\a_object.c(253): error C2037: left of 'data' s
pecifies undefined struct/union 'asn1_object_st' [L:\temp\orders-master\orders-master\node_modules\grpc\build\boringssl.vcxproj]
l:\temp\orders-master\orders-master\node_modules\grpc\deps\grpc\third_party\boringssl\crypto\asn1\a_object.c(254): error C2037: left of 'data' s
pecifies undefined struct/union 'asn1_object_st' [L:\temp\orders-master\orders-master\node_modules\grpc\build\boringssl.vcxproj]
l:\temp\orders-master\orders-master\node_modules\grpc\deps\grpc\third_party\boringssl\crypto\asn1\a_strnid.c(240): warning C4028: formal paramet
er 1 different from declaration [L:\temp\orders-master\orders-master\node_modules\grpc\build\boringssl.vcxproj]
l:\temp\orders-master\orders-master\node_modules\grpc\deps\grpc\third_party\boringssl\crypto\asn1\a_object.c(255): error C2037: left of 'data' s
pecifies undefined struct/union 'asn1_object_st' [L:\temp\orders-master\orders-master\node_modules\grpc\build\boringssl.vcxproj]
l:\temp\orders-master\orders-master\node_modules\grpc\deps\grpc\third_party\boringssl\crypto\asn1\a_strnid.c(240): warning C4028: formal paramet
er 2 different from declaration [L:\temp\orders-master\orders-master\node_modules\grpc\build\boringssl.vcxproj]
l:\temp\orders-master\orders-master\node_modules\grpc\deps\grpc\third_party\boringssl\crypto\asn1\a_object.c(256): error C2037: left of 'length'
specifies undefined struct/union 'asn1_object_st' [L:\temp\orders-master\orders-master\node_modules\grpc\build\boringssl.vcxproj]
l:\temp\orders-master\orders-master\node_modules\grpc\deps\grpc\third_party\boringssl\crypto\asn1\a_strnid.c(242): warning C4013: 'OPENSSL_PUT_E
RROR' undefined; assuming extern returning int [L:\temp\orders-master\orders-master\node_modules\grpc\build\boringssl.vcxproj]
l:\temp\orders-master\orders-master\node_modules\grpc\deps\grpc\third_party\boringssl\crypto\asn1\a_object.c(258): error C2037: left of 'flags'
specifies undefined struct/union 'asn1_object_st' [L:\temp\orders-master\orders-master\node_modules\grpc\build\boringssl.vcxproj]
l:\temp\orders-master\orders-master\node_modules\grpc\deps\grpc\third_party\boringssl\crypto\asn1\a_strnid.c(242): error C2065: 'ASN1': undeclar
ed identifier [L:\temp\orders-master\orders-master\node_modules\grpc\build\boringssl.vcxproj]
l:\temp\orders-master\orders-master\node_modules\grpc\deps\grpc\third_party\boringssl\crypto\asn1\a_object.c(258): error C2065: 'ASN1_OBJECT_FLA
G_DYNAMIC': undeclared identifier [L:\temp\orders-master\orders-master\node_modules\grpc\build\boringssl.vcxproj]
l:\temp\orders-master\orders-master\node_modules\grpc\deps\grpc\third_party\boringssl\crypto\asn1\a_strnid.c(246): warning C4013: 'OPENSSL_mallo
c' undefined; assuming extern returning int [L:\temp\orders-master\orders-master\node_modules\grpc\build\boringssl.vcxproj]
l:\temp\orders-master\orders-master\node_modules\grpc\deps\grpc\third_party\boringssl\crypto\asn1\a_object.c(265): error C2079: 'o' uses undefin
ed struct 'asn1_object_st' [L:\temp\orders-master\orders-master\node_modules\grpc\build\boringssl.vcxproj]
l:\temp\orders-master\orders-master\node_modules\grpc\deps\grpc\third_party\boringssl\crypto\asn1\a_strnid.c(246): warning C4047: '=': 'ASN1_STR
ING_TABLE *' differs in levels of indirection from 'int' [L:\temp\orders-master\orders-master\node_modules\grpc\build\boringssl.vcxproj]
l:\temp\orders-master\orders-master\node_modules\grpc\deps\grpc\third_party\boringssl\crypto\asn1\a_object.c(267): error C2224: left of '.sn' mu
st have struct/union type [L:\temp\orders-master\orders-master\node_modules\grpc\build\boringssl.vcxproj]
l:\temp\orders-master\orders-master\node_modules\grpc\deps\grpc\third_party\boringssl\crypto\asn1\a_strnid.c(248): error C2065: 'ASN1': undeclar
ed identifier [L:\temp\orders-master\orders-master\node_modules\grpc\build\boringssl.vcxproj]
l:\temp\orders-master\orders- must have struct/union type [L:\temp\orders-master\orders-master\node_modules\grpc\build\boringssl.vcxproj]
l:\temp\orders-master\orders-master\node_modules\grpc\deps\grpc\third_party\boringssl\crypto\asn1\a_object.c(270): error C2224: left of '.nid' m
ust have struct/union type [L:\temp\orders-master\orders-master\node_modules\grpc\build\boringssl.vcxproj]
l:\temp\orders-master\orders-master\node_modules\grpc\deps\grpc\third_party\boringssl\crypto\asn1\a_object.c(271): error C2224: left of '.length
master\node_modules\grpc\deps\grpc\third_party\boringssl\crypto\asn1\a_object.c(273): error C2065: 'ASN1_OBJECT_FLA
G_DYNAMIC_DATA': undeclared identifier [L:\temp\orders-master\orders-master\node_modules\grpc\build\boringssl.vcxproj]
l:\temp\orders-master\orders-master\node_modules\grpc\deps\grpc\third_party\boringssl\crypto\asn1\a_object.c(274): warning C4133: 'function': in
compatible types - from 'int *' to 'const ASN1_OBJECT *' [L:\temp\orders-master\orders-master\node_modules\grpc\build\boringssl.vcxproj]
cl : Command line error D8040: error creating or communicating with child process [L:\temp\orders-master\orders-master\node_modules\grpc\build\b
oringssl.vcxproj]
alloc.cc
arena.cc
atm.cc
cpu_iphone.cc
cpu_linux.cc
cpu_posix.cc
cpu_windows.cc
sync_windows.cc
time.cc
time_posix.cc
time_precise.cc
time_windows.cc
tls_pthread.cc
tmpfile_msys.cc
tmpfile_posix.cc
tmpfile_windows.cc
wrap_memcpy.cc
fork.cc
thd_posix.cc
thd_windows.cc
basic_timers.cc
stap_timers.cc
win_delay_load_hook.cc
gpr.vcxproj -> L:\temp\orders-master\orders-master\node_modules\grpc\build\Release\\libgpr.lib
init.cc
avl.cc
backoff.cc
channel_args.cc
channel_stack.cc
channel_stack_builder.cc
channel_trace.cc
channelz.cc
channelz_registry.cc
connected_channel.cc
stream_compression_identity.cc
stats.cc
stats_data.cc
format_request.cc
httpcli.cc
parser.cc
buffer_list.cc
call_combiner.cc
combiner.cc
endpoint.cc
endpoint_pair_posix.cc
endpoint_pair_uv.cc
endpoint_pair_windows.cc
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-pre-gyp install --fallback-to-build --library=static_library`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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\user\AppData\Roaming\npm-cache\_logs\2020-10-10T20_19_23_986Z-debug.log
L:\temp\orders-master\orders-master>
大多数输出​​都是红色的:
我尝试删除 NODE_MODULES 文件夹和 package-lock.json 文件,但没有变化。我可以启动 NPM,但会出现编译错误:
./src/components/Firebase/firebase.js
Module not found: Can't resolve 'firebase/app' in 'L:\temp\orders-master\orders-master\src\components\Firebase'
因此,我尝试安装
npm i firebase@^5.11.1
,这给了我同样长的终端输出。
今天早些时候,我尝试了 3 个 GitHub Reacatjs 项目和一些 CodeSandbox 项目,我的 VSCode 和项目都按应有的方式编译和运行。
有什么想法吗?
package.json 中是否有可能导致此问题的内容:
package.json:
{
"name": "react-firebase-authentication",
"version": "0.1.0",
"private": true,
"dependencies": {
"firebase": "^5.11.1",
"print-js": "^1.3.1",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-router-dom": "^4.3.1",
"react-scripts": "2.1.1",
"recompose": "^0.30.0"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --env=jsdom --passWithNoTests",
"eject": "react-scripts eject"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
]
}
我创建了一个新的 create-react-app 项目并复制了 src 文件,并得到了同样巨大的错误输出。 知道我能做什么吗?
我创建了一个 CodeSandbox ,但 Codesandbox 本身却感到困惑:
Error The error you provided does not contain a stack trace.
2个回答
我认为可能是 repo 中存在错误,或者您和 repo 持有者的路径设置可能不同。
我建议您首先尝试克隆并运行一些小型 React 项目。如果可行,则一定是 repo 问题,您需要在代码/路径方式中修复这些问题
如果这也不起作用,请尝试检查您的环境变量!
Sohel Shekh
2020-10-11
Kid
2020-10-11