Npm install issue with node upgrade from v8.9.0 to v10.19.0
Opened this issue · 1 comments
I use the following versions: Previous node version:v8.9.0 Upgrading version: v10.19.0 macOS:Catalina 10.15.3 npm version: v6.14.3
The following error occurs when we I do npm install after installing node v10.19.0.
time@0.12.0 install ../nodeJS/node_modules/time node-gyp rebuild
CXX(target) Release/obj.target/time/src/time.o ../src/time.cc:87:51: warning: 'IntegerValue' is deprecated [-Wdeprecated-declarations] time_t rawtime = static_cast(info[0]->IntegerValue()); ^ ../Library/Caches/node-gyp/10.19.0/include/node/v8.h:2476:3: note: 'IntegerValue' has been explicitly marked deprecated here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^ ../Library/Caches/node-gyp/10.19.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED' declarator attribute((deprecated)) ^ ../src/time.cc:141:92: warning: 'Int32Value' is deprecated [-Wdeprecated-declarations] tmstr.tm_sec = Nan::Get(arg, Nan::New("seconds").ToLocalChecked()).ToLocalChecked()->Int32Value(); ^ ../Library/Caches/node-gyp/10.19.0/include/node/v8.h:2478:3: note: 'Int32Value' has been explicitly marked deprecated here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^ ../Library/Caches/node-gyp/10.19.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED' declarator attribute((deprecated)) ^ ../src/time.cc:142:92: warning: 'Int32Value' is deprecated [-Wdeprecated-declarations] tmstr.tm_min = Nan::Get(arg, Nan::New("minutes").ToLocalChecked()).ToLocalChecked()->Int32Value(); ^ ../Library/Caches/node-gyp/10.19.0/include/node/v8.h:2478:3: note: 'Int32Value' has been explicitly marked deprecated here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^ /Users/gayathrisivakumar/Library/Caches/node-gyp/10.19.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED' declarator attribute((deprecated)) ^ ../src/time.cc:143:90: warning: 'Int32Value' is deprecated [-Wdeprecated-declarations] tmstr.tm_hour = Nan::Get(arg, Nan::New("hours").ToLocalChecked()).ToLocalChecked()->Int32Value(); ^ ../Library/Caches/node-gyp/10.19.0/include/node/v8.h:2478:3: note: 'Int32Value' has been explicitly marked deprecated here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^ ../Library/Caches/node-gyp/10.19.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED' declarator attribute((deprecated)) ^ ../src/time.cc:144:95: warning: 'Int32Value' is deprecated [-Wdeprecated-declarations] tmstr.tm_mday = Nan::Get(arg, Nan::New("dayOfMonth").ToLocalChecked()).ToLocalChecked()->Int32Value(); ^ ../Library/Caches/node-gyp/10.19.0/include/node/v8.h:2478:3: note: 'Int32Value' has been explicitly marked deprecated here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^ ../Library/Caches/node-gyp/10.19.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED' declarator attribute((deprecated)) ^ ../src/time.cc:145:90: warning: 'Int32Value' is deprecated [-Wdeprecated-declarations] tmstr.tm_mon = Nan::Get(arg, Nan::New("month").ToLocalChecked()).ToLocalChecked()->Int32Value(); ^ ../Library/Caches/node-gyp/10.19.0/include/node/v8.h:2478:3: note: 'Int32Value' has been explicitly marked deprecated here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^ ../Library/Caches/node-gyp/10.19.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED' declarator attribute((deprecated)) ^ ../src/time.cc:146:89: warning: 'Int32Value' is deprecated [-Wdeprecated-declarations] tmstr.tm_year = Nan::Get(arg, Nan::New("year").ToLocalChecked()).ToLocalChecked()->Int32Value(); ^ ../Library/Caches/node-gyp/10.19.0/include/node/v8.h:2478:3: note: 'Int32Value' has been explicitly marked deprecated here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^ ../Library/Caches/node-gyp/10.19.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED' declarator attribute((deprecated)) ^ ../src/time.cc:147:102: warning: 'Int32Value' is deprecated [-Wdeprecated-declarations] tmstr.tm_isdst = Nan::Get(arg, Nan::New("isDaylightSavings").ToLocalChecked()).ToLocalChecked()->Int32Value(); ^ ../Library/Caches/node-gyp/10.19.0/include/node/v8.h:2478:3: note: 'Int32Value' has been explicitly marked deprecated here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^ ../Library/Caches/node-gyp/10.19.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED' declarator attribute((deprecated)) ^ 8 warnings generated. SOLINK_MODULE(target) Release/time.node
core-js@2.6.11 postinstall ../nodeJS/node_modules/core-js node -e "try{require('./postinstall')}catch(e){}"
Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
https://opencollective.com/core-js https://www.patreon.com/zloirock
Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
core-js-pure@3.6.4 postinstall ../node_modules/core-js-pure node -e "try{require('./postinstall')}catch(e){}"
nodemailer@6.4.5 postinstall ../node_modules/nodemailer node -e "try{require('./postinstall')}catch(e){}"
npm notice created a lockfile as package-lock.json. You should commit this file. npm WARN midlayerNode@0.0.1 No description npm WARN midlayerNode@0.0.1 No repository field. npm WARN midlayerNode@0.0.1 No license field.
added 1147 packages from 1419 contributors and audited 13890 packages in 83.159s
17 packages are looking for funding run npm fund for details
found 143 vulnerabilities (113 low, 20 moderate, 9 high, 1 critical) run npm audit fix to fix them, or npm audit for details
I have this error too. No idea what it is.