Save the date! Join us on October 16 for our Product Ops launch event. Register here.
Mar 19, 2023 03:35 PM
Struggling to install the blocks CLI. Getting the following error.
4757 error code 1
4758 error path /opt/homebrew/lib/node_modules/@airtable/blocks-cli/node_modules/@sentry/cli
4759 error command failed
4760 error command sh -c node scripts/install.js
4761 error node:internal/modules/cjs/loader:1093
4761 error throw err;
4761 error ^
4761 error
4761 error Error: Cannot find module 'core-util-is'
4761 error Require stack:
4761 error - /opt/homebrew/lib/node_modules/@airtable/blocks-cli/node_modules/are-we-there-yet/node_modules/readable-stream/lib/_stream_readable.js
4761 error - /opt/homebrew/lib/node_modules/@airtable/blocks-cli/node_modules/are-we-there-yet/node_modules/readable-stream/readable.js
4761 error - /opt/homebrew/lib/node_modules/@airtable/blocks-cli/node_modules/are-we-there-yet/tracker-stream.js
4761 error - /opt/homebrew/lib/node_modules/@airtable/blocks-cli/node_modules/are-we-there-yet/tracker-group.js
4761 error - /opt/homebrew/lib/node_modules/@airtable/blocks-cli/node_modules/are-we-there-yet/index.js
4761 error - /opt/homebrew/lib/node_modules/@airtable/blocks-cli/node_modules/npmlog/log.js
4761 error - /opt/homebrew/lib/node_modules/@airtable/blocks-cli/node_modules/@sentry/cli/scripts/install.js
4761 error at Module._resolveFilename (node:internal/modules/cjs/loader:1090:15)
4761 error at Module._load (node:internal/modules/cjs/loader:934:27)
4761 error at Module.require (node:internal/modules/cjs/loader:1157:19)
4761 error at require (node:internal/modules/helpers:119:18)
4761 error at Object.<anonymous> (/opt/homebrew/lib/node_modules/@airtable/blocks-cli/node_modules/are-we-there-yet/node_modules/readable-stream/lib/_stream_readable.js:67:26)
4761 error at Module._compile (node:internal/modules/cjs/loader:1275:14)
4761 error at Module._extensions..js (node:internal/modules/cjs/loader:1329:10)
4761 error at Module.load (node:internal/modules/cjs/loader:1133:32)
4761 error at Module._load (node:internal/modules/cjs/loader:972:12)
4761 error at Module.require (node:internal/modules/cjs/loader:1157:19) {
4761 error code: 'MODULE_NOT_FOUND',
4761 error requireStack: [
4761 error '/opt/homebrew/lib/node_modules/@airtable/blocks-cli/node_modules/are-we-there-yet/node_modules/readable-stream/lib/_stream_readable.js',
4761 error '/opt/homebrew/lib/node_modules/@airtable/blocks-cli/node_modules/are-we-there-yet/node_modules/readable-stream/readable.js',
4761 error '/opt/homebrew/lib/node_modules/@airtable/blocks-cli/node_modules/are-we-there-yet/tracker-stream.js',
4761 error '/opt/homebrew/lib/node_modules/@airtable/blocks-cli/node_modules/are-we-there-yet/tracker-group.js',
4761 error '/opt/homebrew/lib/node_modules/@airtable/blocks-cli/node_modules/are-we-there-yet/index.js',
4761 error '/opt/homebrew/lib/node_modules/@airtable/blocks-cli/node_modules/npmlog/log.js',
4761 error '/opt/homebrew/lib/node_modules/@airtable/blocks-cli/node_modules/@sentry/cli/scripts/install.js'
4761 error ]
4761 error }
4761 error
4761 error Node.js v19.8.1
4762 verbose exit 1
4763 timing npm Completed in 27796ms
4764 verbose unfinished npm timer reify 1679263791796
4765 verbose unfinished npm timer reify:build 1679263818374
4766 verbose unfinished npm timer build 1679263818375
4767 verbose unfinished npm timer build:deps 1679263818375
4768 verbose unfinished npm timer build:run:install 1679263818391
4769 verbose unfinished npm timer build:run:install:node_modules/@airtable/blocks-cli/node_modules/@sentry/cli 1679263818392
4770 verbose unfinished npm timer build:run:install:node_modules/@airtable/blocks-cli/node_modules/watchify/node_modules/fsevents 1679263818396
4771 verbose code 1
Mar 23, 2023 01:19 AM
try reinstalling node, and make sure it's the latest version.