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

cli: Add support for M3 apple silicon #1524

Merged
merged 2 commits into from
Dec 2, 2023

Conversation

pedropregueiro
Copy link
Contributor

Hoping this fixes the following issue:

$ graph test -l
OS type: Darwin
OS arch: arm64
OS release: 23.1.0
OS major version: 23
CPU model: Apple M3 Pro
/Users/pedro/coding/newshades/nouns-monorepo/node_modules/gluegun/build/index.js:15
    throw up;
    ^

Error: Unsupported platform: Darwin arm64 23
    at TestCommand.getPlatform (/Users/pedro/coding/newshades/nouns-monorepo/node_modules/@graphprotocol/graph-cli/dist/commands/test.js:176:11)
    at TestCommand.runBinary (/Users/pedro/coding/newshades/nouns-monorepo/node_modules/@graphprotocol/graph-cli/dist/commands/test.js:126:50)
    at TestCommand.run (/Users/pedro/coding/newshades/nouns-monorepo/node_modules/@graphprotocol/graph-cli/dist/commands/test.js:69:33)
    at async TestCommand._run (/Users/pedro/coding/newshades/nouns-monorepo/node_modules/@oclif/core/lib/command.js:117:22)
    at async Config.runCommand (/Users/pedro/coding/newshades/nouns-monorepo/node_modules/@oclif/core/lib/config/config.js:329:25)
    at async Object.run (/Users/pedro/coding/newshades/nouns-monorepo/node_modules/@oclif/core/lib/main.js:89:16)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Graph cli version:

@graphprotocol/graph-cli/0.51.0 darwin-arm64 node-v16.20.2

Copy link

changeset-bot bot commented Nov 30, 2023

🦋 Changeset detected

Latest commit: 3ccfa1c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@graphprotocol/graph-cli Minor

Not sure what this means? Click here to learn what changesets are.

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

@dotansimha dotansimha requested a review from saihaj November 30, 2023 14:48
Copy link
Member

@saihaj saihaj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@saihaj saihaj enabled auto-merge (squash) December 1, 2023 19:53
@saihaj saihaj disabled auto-merge December 2, 2023 01:31
@saihaj saihaj merged commit 086a2da into graphprotocol:main Dec 2, 2023
6 of 10 checks passed
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.

2 participants