I'm getting the following error when running npm install. I'm using Node.js v12.9.0 and npm 6.11.3 on macOS Catalina 10.15.1.
> node ./node_modules/bower/bin/bower install && node ./node_modules/gulp/bin/gulp.js install
fs.js:27
const { Math, Object } = primordials;
^
ReferenceError: primordials is not defined
at fs.js:27:26
at req_ (/Users/redacted/openmct/node_modules/natives/index.js:143:24)
at Object.req [as require] (/Users/redacted/openmct/node_modules/natives/index.js:55:10)
at Object.<anonymous> (/Users/redacted/openmct/node_modules/vinyl-fs/node_modules/graceful-fs/fs.js:1:99)
at Module._compile (/Users/redacted/openmct/node_modules/v8-compile-cache/v8-compile-cache.js:178:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:947:10)
at Module.load (internal/modules/cjs/loader.js:790:32)
at Function.Module._load (internal/modules/cjs/loader.js:703:12)
at Module.require (internal/modules/cjs/loader.js:830:19)
at require (/Users/redacted/openmct/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! openmct@0.14.0-SNAPSHOT prepare: `node ./node_modules/bower/bin/bower install && node ./node_modules/gulp/bin/gulp.js install`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the openmct@0.14.0-SNAPSHOT prepare script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
I'm getting the following error when running
npm install
. I'm using Node.js v12.9.0 andnpm
6.11.3 on macOS Catalina 10.15.1.