Getting error when running `yarn dsv`

Description

I followed this environment setup guide, but when running yarn dsv I got the following errors:

@rocket.chat/meteor:dsv: cache bypass, force executing 46c0a90a39262743
@rocket.chat/meteor:dsv: 
@rocket.chat/meteor:dsv: > @rocket.chat/meteor@6.4.0-develop dev /Users/macbookpro/Documents/Rocket.Chat/apps/meteor
@rocket.chat/meteor:dsv: > meteor --exclude-archs "web.browser.legacy, web.cordova"
@rocket.chat/meteor:dsv: 
@rocket.chat/meteor:dsv: /Users/macbookpro/.meteor/packages/meteor-tool/.2.13.0.yk4rw8.bheh++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/meteor-promise/promise_server.js:218
@rocket.chat/meteor:dsv:       throw error;
@rocket.chat/meteor:dsv:       ^
@rocket.chat/meteor:dsv: 
@rocket.chat/meteor:dsv: Error: incorrect data check
@rocket.chat/meteor:dsv:     at Zlib.zlibOnError [as onerror] (zlib.js:187:17)
@rocket.chat/meteor:dsv:  => awaited here:
@rocket.chat/meteor:dsv:     at Promise.await (/Users/macbookpro/.meteor/packages/meteor-tool/.2.13.0.yk4rw8.bheh++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/meteor-promise/promise_server.js:60:12)
@rocket.chat/meteor:dsv:     at Object.extractTarGz (/Users/macbookpro/.meteor/packages/meteor-tool/.2.13.0.yk4rw8.bheh++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/tools/fs/tools/fs/files.ts:791:11)
@rocket.chat/meteor:dsv:     at Object.exports._extractAndConvert (/tools/packaging/tropohouse.js:47:9)
@rocket.chat/meteor:dsv:     at /tools/packaging/tropohouse.js:502:42
@rocket.chat/meteor:dsv:     at Object.enterJob (/tools/utils/buildmessage.js:388:12)
@rocket.chat/meteor:dsv:     at /tools/packaging/tropohouse.js:499:24
@rocket.chat/meteor:dsv:     at Function.each (/Users/macbookpro/.meteor/packages/meteor-tool/.2.13.0.yk4rw8.bheh++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/underscore/underscore-node-f-pre.js:1316:7)
@rocket.chat/meteor:dsv:     at /tools/packaging/tropohouse.js:466:11
@rocket.chat/meteor:dsv:     at Object.enterJob (/tools/utils/buildmessage.js:388:12)
@rocket.chat/meteor:dsv:     at Object.download (/tools/packaging/tropohouse.js:424:20)
@rocket.chat/meteor:dsv:     at /tools/packaging/tropohouse.js:597:22
@rocket.chat/meteor:dsv:     at Object.enterJob (/tools/utils/buildmessage.js:388:12)
@rocket.chat/meteor:dsv:     at exports.Tropohouse.downloadPackagesMissingFromMap (/tools/packaging/tropohouse.js:594:20)
@rocket.chat/meteor:dsv:     at /tools/cli/main.js:469:28
@rocket.chat/meteor:dsv:     at /tools/packaging/catalog/catalog.js:100:5
@rocket.chat/meteor:dsv:     at Object.capture (/tools/utils/buildmessage.js:283:5)
@rocket.chat/meteor:dsv:     at Object.catalog.runAndRetryWithRefreshIfHelpful (/tools/packaging/catalog/catalog.js:99:31)
@rocket.chat/meteor:dsv:     at /tools/cli/main.js:468:15
@rocket.chat/meteor:dsv:     at Object.capture (/tools/utils/buildmessage.js:283:5)
@rocket.chat/meteor:dsv:     at /tools/cli/main.js:465:33
@rocket.chat/meteor:dsv:     at Console.withProgressDisplayVisible (/tools/console/console.js:639:14)
@rocket.chat/meteor:dsv:     at springboard (/tools/cli/main.js:464:11)
@rocket.chat/meteor:dsv:     at /tools/cli/main.js:1165:7 {
@rocket.chat/meteor:dsv:   errno: -3,
@rocket.chat/meteor:dsv:   code: 'Z_DATA_ERROR'
@rocket.chat/meteor:dsv: }
@rocket.chat/meteor:dsv: npm ERR! code ELIFECYCLE
@rocket.chat/meteor:dsv: npm ERR! errno 1
@rocket.chat/meteor:dsv: npm ERR! @rocket.chat/meteor@6.4.0-develop dev: `meteor --exclude-archs "web.browser.legacy, web.cordova"`
@rocket.chat/meteor:dsv: npm ERR! Exit status 1
@rocket.chat/meteor:dsv: npm ERR! 
@rocket.chat/meteor:dsv: npm ERR! Failed at the @rocket.chat/meteor@6.4.0-develop dev script.
@rocket.chat/meteor:dsv: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
@rocket.chat/meteor:dsv: 
@rocket.chat/meteor:dsv: npm ERR! A complete log of this run can be found in:
@rocket.chat/meteor:dsv: npm ERR!     /Users/macbookpro/.npm/_logs/2023-08-08T19_08_49_630Z-debug.log
@rocket.chat/meteor:dsv: ERROR: command finished with error: command (/Users/macbookpro/Documents/Rocket.Chat/apps/meteor) yarn run dsv exited (1)
@rocket.chat/meteor#dsv: command (/Users/macbookpro/Documents/Rocket.Chat/apps/meteor) yarn run dsv exited (1)

 Tasks:    33 successful, 34 total
Cached:    0 cached, 34 total
  Time:    5m52.55s 
Failed:    @rocket.chat/meteor#dsv

 ERROR  run failed: command  exited (1)

Server Setup Information

  • Meteor Version: v2.13
  • Version of Rocket.Chat Server:
  • Operating System: macOS Ventura, M1 Chip
  • Deployment Method:
  • Number of Running Instances:
  • DB Replicaset Oplog:
  • NodeJS Version: v14.21.3
  • MongoDB Version:
  • Proxy:
  • Firewalls involved:

Any additional Information

this is the log:

0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli   '/Users/macbookpro/.meteor/packages/meteor-tool/.2.13.0.yk4rw8.bheh++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/bin/node',
1 verbose cli   '/Users/macbookpro/.meteor/packages/meteor-tool/.2.13.0.yk4rw8.bheh++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/bin/npm',
1 verbose cli   'run',
1 verbose cli   'dev'
1 verbose cli ]
2 info using npm@6.14.17
3 info using node@v14.21.4
4 verbose run-script [ 'predev', 'dev', 'postdev' ]
5 info lifecycle @rocket.chat/meteor@6.4.0-develop~predev: @rocket.chat/meteor@6.4.0-develop
6 info lifecycle @rocket.chat/meteor@6.4.0-develop~dev: @rocket.chat/meteor@6.4.0-develop
7 verbose lifecycle @rocket.chat/meteor@6.4.0-develop~dev: unsafe-perm in lifecycle true
8 verbose lifecycle @rocket.chat/meteor@6.4.0-develop~dev: PATH: /Users/macbookpro/.meteor/packages/meteor-tool/.2.13.0.yk4rw8.bheh++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/macbookpro/Documents/Rocket.Chat/apps/meteor/node_modules/.bin:/Users/macbookpro/.meteor/packages/meteor-tool/.2.13.0.yk4rw8.bheh++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/bin:/Users/macbookpro/.meteor/packages/meteor-tool/.2.13.0.yk4rw8.bheh++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64:/Users/macbookpro/.meteor/packages/meteor-tool/.2.13.0.yk4rw8.bheh++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/.bin:/private/var/folders/jn/wvp3wvgx2fn9s2x3j3y71tc80000gn/T/xfs-9f055346:/private/var/folders/jn/wvp3wvgx2fn9s2x3j3y71tc80000gn/T/xfs-d95c911c:/Users/macbookpro/.volta/tools/image/yarn/1.22.18/bin:/Users/macbookpro/.volta/tools/image/node/14.21.3/bin:/Users/macbookpro/.meteor:/Users/macbookpro/.meteor:/Users/macbookpro/.volta/bin:/Users/macbookpro/.nvm/versions/node/v18.15.0/bin:/Users/macbookpro/Documents/google-cloud-sdk/bin:/opt/homebrew/bin:/usr/local/sbin:/usr/local/bin:/Users/macbookpro/.pyenv/shims:/Library/Frameworks/Python.framework/Versions/3.9/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/macbookpro/Library/Python/2.7/bin:/Library/Apple/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Users/macbookpro/.meteor:/Users/macbookpro/.volta/bin:/Users/macbookpro/.nvm/versions/node/v18.15.0/bin:/Users/macbookpro/opt/anaconda3/bin:/Users/macbookpro/opt/anaconda3/condabin:/Users/macbookpro/Documents/google-cloud-sdk/bin:/opt/homebrew/bin:/usr/local/sbin:/Library/Frameworks/Python.framework/Versions/3.9/bin:/Users/macbookpro/.cargo/bin
9 verbose lifecycle @rocket.chat/meteor@6.4.0-develop~dev: CWD: /Users/macbookpro/Documents/Rocket.Chat/apps/meteor
10 silly lifecycle @rocket.chat/meteor@6.4.0-develop~dev: Args: [ '-c', 'meteor --exclude-archs "web.browser.legacy, web.cordova"' ]
11 silly lifecycle @rocket.chat/meteor@6.4.0-develop~dev: Returned: code: 1  signal: null
12 info lifecycle @rocket.chat/meteor@6.4.0-develop~dev: Failed to exec dev script
13 verbose stack Error: @rocket.chat/meteor@6.4.0-develop dev: `meteor --exclude-archs "web.browser.legacy, web.cordova"`
13 verbose stack Exit status 1
13 verbose stack     at EventEmitter.<anonymous> (/Users/macbookpro/.meteor/packages/meteor-tool/.2.13.0.yk4rw8.bheh++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack     at EventEmitter.emit (events.js:400:28)
13 verbose stack     at ChildProcess.<anonymous> (/Users/macbookpro/.meteor/packages/meteor-tool/.2.13.0.yk4rw8.bheh++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack     at ChildProcess.emit (events.js:400:28)
13 verbose stack     at maybeClose (internal/child_process.js:1088:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:296:5)
14 verbose pkgid @rocket.chat/meteor@6.4.0-develop
15 verbose cwd /Users/macbookpro/Documents/Rocket.Chat/apps/meteor
16 verbose Darwin 22.5.0
17 verbose argv "/Users/macbookpro/.meteor/packages/meteor-tool/.2.13.0.yk4rw8.bheh++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/bin/node" "/Users/macbookpro/.meteor/packages/meteor-tool/.2.13.0.yk4rw8.bheh++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/bin/npm" "run" "dev"
18 verbose node v14.21.4
19 verbose npm  v6.14.17
20 error code ELIFECYCLE
21 error errno 1
22 error @rocket.chat/meteor@6.4.0-develop dev: `meteor --exclude-archs "web.browser.legacy, web.cordova"`
22 error Exit status 1
23 error Failed at the @rocket.chat/meteor@6.4.0-develop dev script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]

Thank you!

Hi @DrRose Did you check if you got any error while running yarn or yarn build? And the most important, did you run yarn build first?

I am getting the issue I have executed yarn build and then also getting the above issue