My project is currently running on meteor version 1.4.2.7.
We want to upgrade this to version 2.3. So, we were going with the incremental upgrade.
We were successfully able to upgrade our project to version 1.5.
However, we are unable to upgrade it further getting below error. Any help on this would be appreciated. Thanks.
=> Errors while initializing project:
While loading package rajit:bootstrap3-datepicker@1.6.4:
error: Command failed:
/root/.meteor/packages/meteor-tool/.1.6.0.1wwb5if.eizi++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/npm
rebuild --update-binary
module.js:515
throw err;
^
Error: Cannot find module ‘internal/util/types’
at Function.Module._resolveFilename (module.js:513:15)
at Function.Module._load (module.js:463:25)
at Module.require (module.js:556:17)
at require (internal/module.js:11:18)
at evalmachine.:31:26
at Object.
(/root/.meteor/packages/rajit_bootstrap3-datepicker/.1.6.4.1fmnh6g.ayark++os+web.browser+web.cordova/npm/lib/bootstrap-datepicker/node_modules/phantomjs/node_modules/fs-extra/node_modules/graceful-fs/fs.js:11:1)
at Module._compile (module.js:612:30)
at Object.Module._extensions…js (module.js:623:10)
at Module.load (module.js:531:32)
at tryModuleLoad (module.js:494:12)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! phantomjs@1.9.17 install: node install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the phantomjs@1.9.17 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! /root/.npm/_logs/2021-12-06T08_50_45_768Z-debug.log