无法使用NPM安装Redux

时间:2019-09-26 01:01:33

标签: npm redux npm-install

我需要安装redux,为此我正在使用npm。因此,我使用命令npm install redux。但是我收到以下错误:

> fsevents@1.1.2 install /Users/prikshetsharma/Downloads/server/node_modules/fsevents                                        
> node install                                                                                                               

node-pre-gyp ERR! Tried to download(404): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.2/fse-v1.1.2-node-v72-da\
rwin-x64.tar.gz                                                                                                              
node-pre-gyp ERR! Pre-built binaries not found for fsevents@1.1.2 and node@12.10.0 (node-v72 ABI) (falling back to source co\
mpile with node-gyp)                                                                                                         
node-pre-gyp ERR! Tried to download(undefined): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.2/fse-v1.1.2-node-\
v72-darwin-x64.tar.gz                                                                                                        
node-pre-gyp ERR! Pre-built binaries not found for fsevents@1.1.2 and node@12.10.0 (node-v72 ABI) (falling back to source co\
mpile with node-gyp)                                                                                                         
  SOLINK_MODULE(target) Release/.node                                                                                        
  SOLINK_MODULE(target) Release/.node                                                                                        
  CXX(target) Release/obj.target/fse/fsevents.o                                                                              
  CXX(target) Release/obj.target/fse/fsevents.o                                                                              
In file included from In file included from ../fsevents.cc../fsevents.cc::66:                                                
:                                                                                                                            
In file included from In file included from ../../nan/nan.h../../nan/nan.h::192192:                                          
:                                                                                                                            
../../nan/nan_maybe_43_inl.h../../nan/nan_maybe_43_inl.h::112112::1515::  errorerror: : nono  membermember  namednamed  'For\
ceSet''ForceSet'  inin  'v8::Object''v8::Object'                                                                             

  return obj->ForceSet(isolate->GetCurrentContext(), key, value, attribs);  return obj->ForceSet(isolate->GetCurrentContext(\
), key, value, attribs);                                                                                                     

         ~~~  ^         ~~~  ^                                                                                               

In file included from In file included from ../fsevents.cc:../fsevents.cc6::                                                 
6In file included from :                                                                                                     
../../nan/nan.hIn file included from :../../nan/nan.h197::                                                                   
197In file included from :                                                                                                   
../../nan/nan_converters.hIn file included from :../../nan/nan_converters.h59::                                              
59../../nan/nan_converters_43_inl.h:      
:../../nan/nan_converters_43_inl.h22::221::1 :warning : warning'ToBoolean':  'ToBoolean'is  isdeprecated:  deprecated:ToBool\
ean  ToBooleancan  cannever  neverthrow.  throw.Use  UseLocal  Localversion.  version.[-Wdeprecated-declarations]            
[-Wdeprecated-declarations]                                                                                                  
X(Boolean)X(Boolean)                                                                                                         
...

,以此类推。这些toBoolean和v8弃用的错误等关于什么?我该如何解决?

0 个答案:

没有答案