Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: use shx from dev deps #3085

Merged
merged 3 commits into from
Aug 28, 2024
Merged

build: use shx from dev deps #3085

merged 3 commits into from
Aug 28, 2024

Conversation

holic
Copy link
Member

@holic holic commented Aug 28, 2024

continued from #3083

I was seeing errors in #3078 where npx shx would fail randomly in different places, I think related to the install process that npx does before making shx bin available. Seems resolved by just installing it as a dev dep.

Copy link

changeset-bot bot commented Aug 28, 2024

⚠️ No Changeset found

Latest commit: c3d31ca

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes changesets to release 26 packages
Name Type
create-mud Patch
@latticexyz/abi-ts Patch
@latticexyz/block-logs-stream Patch
@latticexyz/cli Patch
@latticexyz/common Patch
@latticexyz/config Patch
@latticexyz/dev-tools Patch
@latticexyz/explorer Patch
@latticexyz/faucet Patch
@latticexyz/gas-report Patch
@latticexyz/protocol-parser Patch
@latticexyz/query Patch
@latticexyz/react Patch
@latticexyz/recs Patch
@latticexyz/schema-type Patch
solhint-config-mud Patch
solhint-plugin-mud Patch
@latticexyz/store-indexer Patch
@latticexyz/store-sync Patch
@latticexyz/store Patch
@latticexyz/utils Patch
@latticexyz/world-module-metadata Patch
@latticexyz/world-modules Patch
@latticexyz/world Patch
mock-game-contracts Patch
ts-benchmarks Patch

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@holic holic marked this pull request as ready for review August 28, 2024 17:30
@holic holic requested a review from alvrs as a code owner August 28, 2024 17:30
@holic
Copy link
Member Author

holic commented Aug 28, 2024

Just saw it come up again in another PR, I think maybe related to parallelism?

@latticexyz/store:clean: > npx shx rm -rf dist
@latticexyz/store:clean: 
@latticexyz/gas-report:clean: npm WARN exec The following package was not found and will be installed: [email protected]
@latticexyz/abi-ts:clean: npm WARN exec The following package was not found and will be installed: [email protected]
@latticexyz/gas-report:clean: npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/runner/.npm/_npx/f3af5d8365aa3b70/node_modules/function-bind/test/.eslintrc'
@latticexyz/gas-report:clean: npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/runner/.npm/_npx/f3af5d8365aa3b70/node_modules/function-bind/test/index.js'
solhint-plugin-mud:clean: npm WARN exec The following package was not found and will be installed: [email protected]
@latticexyz/gas-report:clean: npm WARN deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
@latticexyz/gas-report:clean: npm WARN deprecated [email protected]: Glob versions prior to v9 are no longer supported
@latticexyz/abi-ts:clean: npm WARN tar ENOENT: Cannot cd into '/home/runner/.npm/_npx/f3af5d8365aa3b70/node_modules/supports-preserve-symlinks-flag'
@latticexyz/abi-ts:clean: npm WARN tarball tarball data for supports-preserve-symlinks-flag@https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz (sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==) seems to be corrupted. Trying again.
@latticexyz/abi-ts:clean: npm WARN tar ENOENT: Cannot cd into '/home/runner/.npm/_npx/f3af5d8365aa3b70/node_modules/path-parse'
@latticexyz/abi-ts:clean: npm WARN tarball tarball data for path-parse@https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz (sha512-LDJzPVEEEPR+y48z[93](https://github.com/latticexyz/mud/actions/runs/10601550282/job/29381574981?pr=3086#step:5:94)A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==) seems to be corrupted. Trying again.
@latticexyz/abi-ts:clean: npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/runner/.npm/_npx/f3af5d8365aa3b70/node_modules/function-bind/.eslintrc'
@latticexyz/abi-ts:clean: npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/runner/.npm/_npx/f3af5d8365aa3b70/node_modules/is-core-module/.eslintrc'
@latticexyz/abi-ts:clean: npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/runner/.npm/_npx/f3af5d8365aa3b70/node_modules/minimatch/LICENSE'
@latticexyz/gas-report:clean: sh: 1: shx: not found
@latticexyz/abi-ts:clean: npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/runner/.npm/_npx/f3af5d8365aa3b70/node_modules/interpret/CHANGELOG'
@latticexyz/abi-ts:clean: npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/runner/.npm/_npx/f3af5d8365aa3b70/node_modules/glob/LICENSE'
@latticexyz/abi-ts:clean: npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, lstat '/home/runner/.npm/_npx/f3af5d8365aa3b70/node_modules/function-bind/test'
@latticexyz/abi-ts:clean: npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/runner/.npm/_npx/f3af5d8365aa3b70/node_modules/is-core-module/.nycrc'
@latticexyz/abi-ts:clean: npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/runner/.npm/_npx/f3af5d8365aa3b70/node_modules/minimatch/minimatch.js'
@latticexyz/abi-ts:clean: npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/runner/.npm/_npx/f3af5d8365aa3b70/node_modules/interpret/LICENSE'
@latticexyz/gas-report:clean:  ELIFECYCLE  Command failed.
solhint-plugin-mud:clean: npm WARN deprecated [email protected]: Glob versions prior to v9 are no longer supported
@latticexyz/abi-ts:clean: npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/runner/.npm/_npx/f3af5d8365aa3b70/node_modules/glob/common.js'
@latticexyz/abi-ts:clean: npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/runner/.npm/_npx/f3af5d8365aa3b70/node_modules/is-core-module/LICENSE'
@latticexyz/abi-ts:clean: npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/runner/.npm/_npx/f3af5d8365aa3b70/node_modules/interpret/index.js'
@latticexyz/abi-ts:clean: npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/runner/.npm/_npx/f3af5d8365aa3b70/node_modules/function-bind/.nycrc'
@latticexyz/abi-ts:clean: npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/runner/.npm/_npx/f3af5d8365aa3b70/node_modules/glob/glob.js'
@latticexyz/abi-ts:clean: npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/runner/.npm/_npx/f3af5d8365aa3b70/node_modules/function-bind/LICENSE'
@latticexyz/abi-ts:clean: npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/runner/.npm/_npx/f3af5d8365aa3b70/node_modules/is-core-module/index.js'
@latticexyz/abi-ts:clean: npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/runner/.npm/_npx/f3af5d8365aa3b70/node_modules/interpret/mjs-stub.js'
@latticexyz/abi-ts:clean: npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, lstat '/home/runner/.npm/_npx/f3af5d8365aa3b70/node_modules/is-core-module/test'
@latticexyz/abi-ts:clean: npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/runner/.npm/_npx/f3af5d8365aa3b70/node_modules/interpret/package.json'
@latticexyz/abi-ts:clean: npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/runner/.npm/_npx/f3af5d8365aa3b70/node_modules/glob/sync.js'
@latticexyz/abi-ts:clean: npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/runner/.npm/_npx/f3af5d8365aa3b70/node_modules/function-bind/implementation.js'
@latticexyz/gas-report:clean: ERROR: command finished with error: command (/home/runner/work/mud/mud/packages/gas-report) pnpm run clean exited (1)
@latticexyz/abi-ts:clean: npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/runner/.npm/_npx/f3af5d8365aa3b70/node_modules/interpret/README.md'
@latticexyz/abi-ts:clean: npm WARN tar ENOENT: Cannot cd into '/home/runner/.npm/_npx/f3af5d8365aa3b70/node_modules/hasown'
@latticexyz/abi-ts:clean: npm WARN tarball tarball data for hasown@https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz (sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==) seems to be corrupted. Trying again.
@latticexyz/abi-ts:clean: npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/runner/.npm/_npx/f3af5d8365aa3b70/node_modules/function-bind/index.js'
@latticexyz/abi-ts:clean: npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/runner/.npm/_npx/f3af5d8365aa3b70/node_modules/is-core-module/core.json'
@latticexyz/abi-ts:clean: npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/runner/.npm/_npx/f3af5d8365aa3b70/node_modules/minimatch/package.json'
@latticexyz/abi-ts:clean: npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/runner/.npm/_npx/f3af5d8365aa3b70/node_modules/glob/package.json'
@latticexyz/abi-ts:clean: npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, lstat '/home/runner/.npm/_npx/f3af5d8365aa3b70/node_modules/function-bind/test'
@latticexyz/abi-ts:clean: npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/runner/.npm/_npx/f3af5d8365aa3b70/node_modules/minimatch/README.md'
@latticexyz/abi-ts:clean: npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/runner/.npm/_npx/f3af5d8365aa3b70/node_modules/glob/README.md'
@latticexyz/abi-ts:clean: npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/runner/.npm/_npx/f3af5d8365aa3b70/node_modules/is-core-module/package.json'
@latticexyz/abi-ts:clean: npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/runner/.npm/_npx/f3af5d8365aa3b70/node_modules/function-bind/package.json'
@latticexyz/abi-ts:clean: npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/runner/.npm/_npx/f3af5d8365aa3b70/node_modules/is-core-module/CHANGELOG.md'
@latticexyz/recs:clean: cache bypass, force executing 627dfab7dc75b3c1
@latticexyz/protocol-parser:clean: cache bypass, force executing 510812dfdcc54c12
@latticexyz/world-module-metadata:clean: cache bypass, force executing 2b29ff9723f4556b
@latticexyz/world-modules:clean: cache bypass, force executing 4f83eaa9246fc6ce
@latticexyz/world:clean: cache bypass, force executing 56b71ef19b0ae905
@latticexyz/store-sync:clean: cache bypass, force executing b495e915e554ddcc
solhint-config-mud:clean: cache bypass, force executing 2e7435074a8b26b1
@latticexyz/schema-type:clean: cache bypass, force executing 1edb27085449f88c
@latticexyz/block-logs-stream:clean: cache bypass, force executing 766ad86a3e4452d5
@latticexyz/common:clean: cache bypass, force executing 4b6f2f9e8d7f532a
@latticexyz/config:clean: cache bypass, force executing 469b053c5a49f5d5
@latticexyz/query:clean: cache bypass, force executing 19a1b[94](https://github.com/latticexyz/mud/actions/runs/10601550282/job/29381574981?pr=3086#step:5:95)f5c2ecc1a
@latticexyz/explorer:clean: cache bypass, force executing 37ed09a48656ac63
@latticexyz/dev-tools:clean: cache bypass, force executing b0ef4f5bb76d3686
@latticexyz/utils:clean: cache bypass, force executing 254a61aca8d99eb7
@latticexyz/abi-ts:clean: npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/runner/.npm/_npx/f3af5d8365aa3b70/node_modules/function-bind/CHANGELOG.md'
@latticexyz/abi-ts:clean: npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/runner/.npm/_npx/f3af5d8365aa3b70/node_modules/is-core-module/README.md'
@latticexyz/abi-ts:clean: npm WARN deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
@latticexyz/abi-ts:clean: npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/runner/.npm/_npx/f3af5d8365aa3b70/node_modules/function-bind/README.md'
@latticexyz/abi-ts:clean: npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, lstat '/home/runner/.npm/_npx/f3af5d8365aa3b70/node_modules/function-bind/.github'
@latticexyz/abi-ts:clean: npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/runner/.npm/_npx/f3af5d8365aa3b70/node_modules/minimist/test/long.js'
solhint-plugin-mud:clean: npm ERR! process terminated
solhint-plugin-mud:clean: npm ERR! signal SIGINT
solhint-plugin-mud:clean: 
solhint-plugin-mud:clean: npm ERR! A complete log of this run can be found in: /home/runner/.npm/_logs/2024-08-28T17_30_46_549Z-debug-0.log
@latticexyz/abi-ts:clean: npm WARN deprecated [email protected]: Glob versions prior to v9 are no longer supported
@latticexyz/abi-ts:clean: npm ERR! process terminated
@latticexyz/abi-ts:clean: npm ERR! signal SIGINT
@latticexyz/abi-ts:clean: 
@latticexyz/abi-ts:clean: npm ERR! A complete log of this run can be found in: /home/runner/.npm/_logs/2024-08-28T17_30_44_545Z-debug-0.log
command (/home/runner/work/mud/mud/packages/gas-report) pnpm run clean exited (1)

@holic holic merged commit c0bb0da into main Aug 28, 2024
15 checks passed
@holic holic deleted the holic/shx-dep branch August 28, 2024 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant