Closed ipv6freely closed 1 year ago
"Urca!!" said in Italian :) thanks @ipv6freely , works (and I think it's the best workaround for M1 architecture, instead of downgrading everything). I would suggest to @HashLips to add this note on project readme, for M1 developers.
Hello :) You can fix this issue installing Rosetta terminal to your Visual Studio Code.
1) Open Visual studio code and press cmd+shift+p
2) Search and open this file terminal.integrated.profiles.osx
3)Add this propriety: "terminal.integrated.profiles.osx": { ...., "rosetta": { "path": "arch", "args": ["-x86_64", "zsh", "-l"], "overrideName": true } }
Hello :) You can fix this issue installing Rosetta terminal to your Visual Studio Code.
- Open Visual studio code and press cmd+shift+p
- Search and open this file terminal.integrated.profiles.osx 3)Add this propriety:
"terminal.integrated.profiles.osx": { ...., "rosetta": { "path": "arch", "args": ["-x86_64", "zsh", "-l"], "overrideName": true } }
But you wouldn’t want to do that, so not really a fix.
@ipv6freely I think it's a bit rich to just say your solution is the best, I think this is a perfectly reasonable fix and doesn't require installing homebrew, which takes space and might not work for some people.
@ipv6freely I think it's a bit rich to just say your solution is the best, I think this is a perfectly reasonable fix and doesn't require installing homebrew, which takes space and might not work for some people.
It’s a workaround, but not a fix. Intentionally bypassing your architecture isn’t a great way to do things.
Hello :) You can fix this issue installing Rosetta terminal to your Visual Studio Code.
- Open Visual studio code and press cmd+shift+p
- Search and open this file terminal.integrated.profiles.osx 3)Add this propriety:
"terminal.integrated.profiles.osx": { ...., "rosetta": { "path": "arch", "args": ["-x86_64", "zsh", "-l"], "overrideName": true } }
But you wouldn’t want to do that, so not really a fix.
I think installing additional software like HomeBrew is not something that many people want either
Hello :) You can fix this issue installing Rosetta terminal to your Visual Studio Code.
- Open Visual studio code and press cmd+shift+p
- Search and open this file terminal.integrated.profiles.osx 3)Add this propriety:
"terminal.integrated.profiles.osx": { ...., "rosetta": { "path": "arch", "args": ["-x86_64", "zsh", "-l"], "overrideName": true } }
But you wouldn’t want to do that, so not really a fix.
I think installing additional software like HomeBrew is not something that many people want either
You likely won’t need to do that for long. Will depend on how quickly those packages are updated. Either way Rosetta is not a better alternative.
Hello :) You can fix this issue installing Rosetta terminal to your Visual Studio Code.
- Open Visual studio code and press cmd+shift+p
- Search and open this file terminal.integrated.profiles.osx 3)Add this propriety:
"terminal.integrated.profiles.osx": { ...., "rosetta": { "path": "arch", "args": ["-x86_64", "zsh", "-l"], "overrideName": true } }
But you wouldn’t want to do that, so not really a fix.
I think installing additional software like HomeBrew is not something that many people want either
You likely won’t need to do that for long. Will depend on how quickly those packages are updated. Either way Rosetta is not a better alternative.
Can I ask you why Rosetta can't be a better alternative?
Sure. It’s much better to build for the actual architecture then to translate an instruction set from x86 to arm64. Especially since a newer version of nodejs supports it natively. Rosetta is a workaround (literally - that’s what it exists for) for applications that have not yet migrated to native arm64.
Like I said, using Rosetta is a fine workaround but it’s definitely less than ideal and not something I would recommend.
Installing the dependencies via homebrew is likely not going to be needed for long. I would actually expect that most of them aren’t necessary to install manually anymore now that nodejs Current has moved from 17.x to 18.0.0 over the last week, but have not tested it yet.
Thanks for correction. I was too busy 👍🏻
I just did a test with a clean build of macOS 12.3.1. 18.0.0 definitely still fixes the issues, however because node-canvas
"prebuilds aren't available for ARM CPUs", you have to either go with Homebrew or you can certainly build from source easily enough if you don't want the Homebrew overhead. I use Homebrew for a lot of other things so it wasn't really an issue for me.
Here's information about prebuilds not existing for ARM CPU: https://github.com/Automattic/node-canvas/issues/1825 It's unfortunate, and frankly a bit lazy in my opinion, but it is what it is.
Hey @deemount - Thanks for the help getting my M1 chip up and running! Got a new issue. I have been getting this error in the HashLips engine. There is no pattern I can see in why it stops, layer issues or anything like that. I'm not a savvy coder and can't decode this. Can you help?
Thanks,
-D
Created edition: 601, with DNA: 413ac113a9a1a7e9b12393517bccafbe66420084
(node:11497) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, scandir '/Users/drn/Desktop/PIXEL PEW VSC V5/layers/BGGRAPHICS/'
at Object.readdirSync (fs.js:1047:3)
at getElements (/Users/drn/Desktop/PIXEL PEW VSC V5/src/main.js:73:6)
at /Users/drn/Desktop/PIXEL PEW VSC V5/src/main.js:92:15
at Array.map (NODE --trace-warnings ...
to show where the warning was created)
(node:11497) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:11497) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
@deemount you've probably misspelled BGGRAPHICS
in your layersOrder
. If you can't fix it yourself could you paste your layersConfigurations
and the output of Get-ChildItem layers
.
Hey @deemount - Thanks for the help getting my M1 chip up and running!
I think you meant me?
Got a new issue. I have been getting this error in the HashLips engine. There is no pattern I can see in why it stops, layer issues or anything like that. I'm not a savvy coder and can't decode this. Can you help?
Thanks,
-D
Created edition: 601, with DNA: 413ac113a9a1a7e9b12393517bccafbe66420084 (node:11497) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, scandir '/Users/drn/Desktop/PIXEL PEW VSC V5/layers/BGGRAPHICS/' at Object.readdirSync (fs.js:1047:3) at getElements (/Users/drn/Desktop/PIXEL PEW VSC V5/src/main.js:73:6) at /Users/drn/Desktop/PIXEL PEW VSC V5/src/main.js:92:15 at Array.map () at layersSetup (/Users/drn/Desktop/PIXEL PEW VSC V5/src/main.js:90:30) at startCreating (/Users/drn/Desktop/PIXEL PEW VSC V5/src/main.js:356:20) (Use
NODE --trace-warnings ...
to show where the warning was created) (node:11497) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag--unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) (node:11497) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
This isn't an M1 issue so it's not really meant for this thread. Please either ask in Discord, or open a new Issue ticket.
Hello and thank you for your help. Sadly the solution suggested above doesnt work for me.
After doing this command from Step 3: % arch -arm64 brew install pkg-config cairo pango jpeg giflib librsvg
I get the following error:
Warning: No available formula with the name "pkg-config". ==> Searching for similarly named formulae... Error: No similarly named formulae found. ==> Searching for a previously deleted formula (in the last month)... Error: No previously deleted formula found. ==> Searching taps on GitHub... Error: No formulae found in taps.
Do you have any Idea what I can do? Kinda feel stupid searching hours for solutions but not being able to figure this one. Thank you <3
Hello and thank you for your help. Sadly the solution suggested above doesnt work for me.
After doing this command from Step 3: % arch -arm64 brew install pkg-config cairo pango jpeg giflib librsvg
I get the following error:
Warning: No available formula with the name "pkg-config". ==> Searching for similarly named formulae... Error: No similarly named formulae found. ==> Searching for a previously deleted formula (in the last month)... Error: No previously deleted formula found. ==> Searching taps on GitHub... Error: No formulae found in taps.
Do you have any Idea what I can do? Kinda feel stupid searching hours for solutions but not being able to figure this one. Thank you <3
Try taking that one out?
Thank you. This resolved my issue. I was using an 2020 M1 Macbook Air
Try taking that one out?
What do you mean by that precisely, sir? I went ahead with the next step but it doesn´t work.
Try taking that one out?
What do you mean by that precisely, sir? I went ahead with the next step but it doesn´t work.
I mean to remove pkg-config
from the list of packages you're installing in Homebrew. However, I would try updating Homebrew first: brew update
. This grabs the latest package list from Homebrew. Once that's done, try again. If it doesn't work still, then remove pkg-config
from the list.
@ipv6freely should we first delete the nod modules folder from the art engine folder?
@cryptofannatic do it then run npm install
again.
@bolshoytoster i did that but it's still giving me the same error that i was getting earlier when i tried installing the modules using vscode
npm audit fix doesn't seem to fix the issues either.
@cryptofannatic that's not an error, it's just a warning.
@bolshoytoster earlier for some reason when i used to get this error, it wouldn't let me generate the art either and used to give err_dlopen_failed error. But this time i installed node @ipv6freely's steps, i did get the some warning but it's generating the art now. Weird - here's a link to my issue
I guess it was because i hadn't deleted the node modules folder that's why
Thanks for the help btw!
Hi everyone : I have tried to install the latest node version via homebrew and I have ran the command arch -arm64 brew install pkg-config cairo pango jpeg giflib librsvg
Unfortunately, I keep having an error about the command "node" and "nvm" not found if I change my location. Like shown in the image :
Does anyone know how to solve it ? Have I made a mistake in my installation process ? Thank you in advance
@WissemEd could you paste the output of running which node
and echo $PATH
while in both ~
and ~/Documents
please.
Hi everyone : I have tried to install the latest node version via homebrew and I have ran the command
arch -arm64 brew install pkg-config cairo pango jpeg giflib librsvg
Unfortunately, I keep having an error about the command "node" and "nvm" not found if I change my location. Like shown in the image :Does anyone know how to solve it ? Have I made a mistake in my installation process ? Thank you in advance
Looks like /usr/local/bin is not in your PATH.
@bolshoytoster Sure : here is what I obtain by doing so :
@WissemEd that's odd, as a workaround you could run ~/.nvm/versions/node/v18.8.0/bin/node
instead of just node
Thanks for sharing, it sucessfully helps me install all dependecies. However, when I tried to run yarn generate
, is showed the error symbol not found in flat namespace '_cairo_fill'
. So I searched the result and found the answer here https://github.com/metaplex-foundation/metaplex/issues/1271
which indicated that 14.18.2
node version is the solution. So I used nvm
to switch to v14.18.2
and it is all good now.
Thanks for sharing, it sucessfully helps me install all dependecies. However, when I tried to run
yarn generate
, is showed the errorsymbol not found in flat namespace '_cairo_fill'
. So I searched the result and found the answer herehttps://github.com/metaplex-foundation/metaplex/issues/1271
which indicated that14.18.2
node version is the solution. So I usednvm
to switch tov14.18.2
and it is all good now.
I don't know what "yarn" is, but no v14.18.2 is not the correct solution. Happy it worked for you, though.
@ipv6freely yarn
is a popular alternative to npm
.
No need to keep an issue open that details a fix in the very first post.
Hello, @ipv6freely I need your help for my issue. Please check the following. Thank you🙏
satoshishigeta@Satoshis-MacBook-Pro hashlips_art_engine-main % node --version
v18.16.0
satoshishigeta@Satoshis-MacBook-Pro hashlips_art_engine-main % node --version
v20.0.0
satoshishigeta@Satoshis-MacBook-Pro hashlips_art_engine-main % npm --version
9.6.4
satoshishigeta@Satoshis-MacBook-Pro hashlips_art_engine-main % /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
==> Checking for sudo
access (which may request your password)...
Password:
Sorry, try again.
Password:
==> This script will install:
/opt/homebrew/bin/brew
/opt/homebrew/share/doc/homebrew
/opt/homebrew/share/man/man1/brew.1
/opt/homebrew/share/zsh/site-functions/_brew
/opt/homebrew/etc/bash_completion.d/brew
/opt/homebrew
==> The following new directories will be created:
/opt/homebrew/bin
/opt/homebrew/etc
/opt/homebrew/include
/opt/homebrew/lib
/opt/homebrew/sbin
/opt/homebrew/share
/opt/homebrew/var
/opt/homebrew/opt
/opt/homebrew/share/zsh
/opt/homebrew/share/zsh/site-functions
/opt/homebrew/var/homebrew
/opt/homebrew/var/homebrew/linked
/opt/homebrew/Cellar
/opt/homebrew/Caskroom
/opt/homebrew/Frameworks
Press RETURN/ENTER to continue or any other key to abort:
rch -arm64 brew install pkg-config cairo pango jpeg giflib librsvg%
satoshishigeta@Satoshis-MacBook-Pro hashlips_art_engine-main % rch -arm64 brew install pkg-config cairo pango jpeg giflib librsvg
zsh: command not found: rch
@ipv6freely Also, I'm using M2 Macbook pro. Thank you:)
@GUNZE314532 you missed the a in arch, you should run arch -arm64 brew install pkg-config cairo pango jpeg giflib librsvg
instead.
Hi @bolshoytoster , It's mentioned "arch: Can't find brew in PATH". Please check the following. Thank you.
satoshishigeta@Satoshis-MacBook-Pro hashlips_art_engine-main % arch -arm64 brew install pkg-config cairo pango jpeg giflib librsvg
arch: Can't find brew in PATH
satoshishigeta@Satoshis-MacBook-Pro hashlips_art_engine-main % /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
==> Checking for sudo
access (which may request your password)...
Password:
==> This script will install:
/opt/homebrew/bin/brew
/opt/homebrew/share/doc/homebrew
/opt/homebrew/share/man/man1/brew.1
/opt/homebrew/share/zsh/site-functions/_brew
/opt/homebrew/etc/bash_completion.d/brew
/opt/homebrew
==> The following new directories will be created:
/opt/homebrew/bin
/opt/homebrew/etc
/opt/homebrew/include
/opt/homebrew/lib
/opt/homebrew/sbin
/opt/homebrew/share
/opt/homebrew/var
/opt/homebrew/opt
/opt/homebrew/share/zsh
/opt/homebrew/share/zsh/site-functions
/opt/homebrew/var/homebrew
/opt/homebrew/var/homebrew/linked
/opt/homebrew/Cellar
/opt/homebrew/Caskroom
/opt/homebrew/Frameworks
Press RETURN/ENTER to continue or any other key to abort:
rch -arm64 brew install pkg-config cairo pango jpeg giflib librsvg%
satoshishigeta@Satoshis-MacBook-Pro hashlips_art_engine-main % rch -arm64 brew install pkg-config cairo pango jpeg giflib librsvg
zsh: command not found: rch
satoshishigeta@Satoshis-MacBook-Pro hashlips_art_engine-main % arch -arm64 brew install pkg-config cairo pango jpeg giflib librsvg
arch: Can't find brew in PATH
satoshishigeta@Satoshis-MacBook-Pro hashlips_art_engine-main %
@GUNZE314532 you could try restarting your terminal or running source ~/.zshrc
to use the updated PATH.
Also, you only need to install brew once.
@bolshoytoster It was same.... Please check the following.🙏
satoshishigeta@Satoshis-MacBook-Pro hashlips_art_engine-main % arch -arm64 brew install pkg-config cairo pango jpeg giflib librsvg arch: Can't find brew in PATH satoshishigeta@Satoshis-MacBook-Pro hashlips_art_engine-main % source ~/.zshrc source: no such file or directory: /Users/satoshishigeta/.zshrc satoshishigeta@Satoshis-MacBook-Pro hashlips_art_engine-main % arch -arm64 brew install pkg-config cairo pango jpeg giflib librsvg arch: Can't find brew in PATH satoshishigeta@Satoshis-MacBook-Pro hashlips_art_engine-main %
@GUNZE314532 did you try restarting your terminal?
@bolshoytoster Yes, I did. I deleted the terminal, then made new terminal.
@GUNZE314532 I noticed at the brew installation it ends at
Press RETURN/ENTER to continue or any other key to abort:
Did you actually complete the brew installation or did you press another key at that point?
@bolshoytoster I tried it many times, so I don't remember much, but the first time I did it, I ran another command. I still got an error, so I typed "RETURN" next.
@GUNZE314532 you gave to press the return/enter key, not literally type 'RETURN'
Hi @bolshoytoster , It was same... Thanks for your help.
satoshishigeta@Kaitlins-iPhone hashlips_art_engine-main % /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
==> Checking for sudo
access (which may request your password)...
Password:
==> This script will install:
/opt/homebrew/bin/brew
/opt/homebrew/share/doc/homebrew
/opt/homebrew/share/man/man1/brew.1
/opt/homebrew/share/zsh/site-functions/_brew
/opt/homebrew/etc/bash_completion.d/brew
/opt/homebrew
==> The following new directories will be created:
/opt/homebrew/bin
/opt/homebrew/etc
/opt/homebrew/include
/opt/homebrew/lib
/opt/homebrew/sbin
/opt/homebrew/share
/opt/homebrew/var
/opt/homebrew/opt
/opt/homebrew/share/zsh
/opt/homebrew/share/zsh/site-functions
/opt/homebrew/var/homebrew
/opt/homebrew/var/homebrew/linked
/opt/homebrew/Cellar
/opt/homebrew/Caskroom
/opt/homebrew/Frameworks
Press RETURN/ENTER to continue or any other key to abort: satoshishigeta@Kaitlins-iPhone hashlips_art_engine-main % RETURN/ENTER zsh: no such file or directory: RETURN/ENTER satoshishigeta@Kaitlins-iPhone hashlips_art_engine-main %
Hi @bolshoytoster , Thanks for your opinion again. And sorry I was typing actual "RETUR" text.
I tried again to just did return key, and It was seems like working to install Homebrew, but it happed another problem. Please check the following.
satoshishigeta@Satoshis-MacBook-Pro hashlips_art_engine-main % /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" to install Homebrew.
==> Checking for sudo
access (which may request your password)...
Password:
Sorry, try again.
Password:
==> This script will install:
/opt/homebrew/bin/brew
/opt/homebrew/share/doc/homebrew
/opt/homebrew/share/man/man1/brew.1
/opt/homebrew/share/zsh/site-functions/_brew
/opt/homebrew/etc/bash_completion.d/brew
/opt/homebrew
==> The following new directories will be created:
/opt/homebrew/bin
/opt/homebrew/etc
/opt/homebrew/include
/opt/homebrew/lib
/opt/homebrew/sbin
/opt/homebrew/share
/opt/homebrew/var
/opt/homebrew/opt
/opt/homebrew/share/zsh
/opt/homebrew/share/zsh/site-functions
/opt/homebrew/var/homebrew
/opt/homebrew/var/homebrew/linked
/opt/homebrew/Cellar
/opt/homebrew/Caskroom
/opt/homebrew/Frameworks
Press RETURN/ENTER to continue or any other key to abort: ==> /usr/bin/sudo /usr/bin/install -d -o root -g wheel -m 0755 /opt/homebrew ==> /usr/bin/sudo /bin/mkdir -p /opt/homebrew/bin /opt/homebrew/etc /opt/homebrew/include /opt/homebrew/lib /opt/homebrew/sbin /opt/homebrew/share /opt/homebrew/var /opt/homebrew/opt /opt/homebrew/share/zsh /opt/homebrew/share/zsh/site-functions /opt/homebrew/var/homebrew /opt/homebrew/var/homebrew/linked /opt/homebrew/Cellar /opt/homebrew/Caskroom /opt/homebrew/Frameworks ==> /usr/bin/sudo /bin/chmod ug=rwx /opt/homebrew/bin /opt/homebrew/etc /opt/homebrew/include /opt/homebrew/lib /opt/homebrew/sbin /opt/homebrew/share /opt/homebrew/var /opt/homebrew/opt /opt/homebrew/share/zsh /opt/homebrew/share/zsh/site-functions /opt/homebrew/var/homebrew /opt/homebrew/var/homebrew/linked /opt/homebrew/Cellar /opt/homebrew/Caskroom /opt/homebrew/Frameworks ==> /usr/bin/sudo /bin/chmod go-w /opt/homebrew/share/zsh /opt/homebrew/share/zsh/site-functions ==> /usr/bin/sudo /usr/sbin/chown satoshishigeta /opt/homebrew/bin /opt/homebrew/etc /opt/homebrew/include /opt/homebrew/lib /opt/homebrew/sbin /opt/homebrew/share /opt/homebrew/var /opt/homebrew/opt /opt/homebrew/share/zsh /opt/homebrew/share/zsh/site-functions /opt/homebrew/var/homebrew /opt/homebrew/var/homebrew/linked /opt/homebrew/Cellar /opt/homebrew/Caskroom /opt/homebrew/Frameworks ==> /usr/bin/sudo /usr/bin/chgrp admin /opt/homebrew/bin /opt/homebrew/etc /opt/homebrew/include /opt/homebrew/lib /opt/homebrew/sbin /opt/homebrew/share /opt/homebrew/var /opt/homebrew/opt /opt/homebrew/share/zsh /opt/homebrew/share/zsh/site-functions /opt/homebrew/var/homebrew /opt/homebrew/var/homebrew/linked /opt/homebrew/Cellar /opt/homebrew/Caskroom /opt/homebrew/Frameworks ==> /usr/bin/sudo /usr/sbin/chown -R satoshishigeta:admin /opt/homebrew ==> /usr/bin/sudo /bin/mkdir -p /Users/satoshishigeta/Library/Caches/Homebrew ==> /usr/bin/sudo /bin/chmod g+rwx /Users/satoshishigeta/Library/Caches/Homebrew ==> /usr/bin/sudo /usr/sbin/chown -R satoshishigeta /Users/satoshishigeta/Library/Caches/Homebrew ==> Downloading and installing Homebrew... remote: Enumerating objects: 239542, done. remote: Counting objects: 100% (2647/2647), done. remote: Compressing objects: 100% (1418/1418), done. remote: Total 239542 (delta 1275), reused 2478 (delta 1162), pack-reused 236895 Receiving objects: 100% (239542/239542), 70.41 MiB | 14.80 MiB/s, done. Resolving deltas: 100% (174945/174945), done. From https://github.com/Homebrew/brew
==> Homebrew has enabled anonymous aggregate formulae and cask analytics. Read the analytics documentation (and how to opt-out) here: https://docs.brew.sh/Analytics No analytics data has been sent yet (nor will any be during this install run).
==> Homebrew is run entirely by unpaid volunteers. Please consider donating: https://github.com/Homebrew/brew#donations
==> Next steps:
satoshishigeta@Satoshis-MacBook-Pro hashlips_art_engine-main % arch -arm64 brew install pkg-config cairo pango jpeg giflib librsvg arch: Can't find brew in PATH satoshishigeta@Satoshis-MacBook-Pro hashlips_art_engine-main % arch -arm64 brew install pkg-config cairo pango jpeg giflib librsvg arch: Can't find brew in PATH satoshishigeta@Satoshis-MacBook-Pro hashlips_art_engine-main % source ~/.zshrc source: no such file or directory: /Users/satoshishigeta/.zshrc
@GUNZE314532 did you try the bit in "Next steps":
Warning: /opt/homebrew/bin is not in your PATH.
Instructions on how to configure your shell for Homebrew
can be found in the 'Next steps' section below.
...
==> Next steps:
Run these two commands in your terminal to add Homebrew to your PATH:
(echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> /Users/satoshishigeta/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
Hi, @bolshoytoster Like below? But It didn't work...
Warning: /opt/homebrew/bin is not in your PATH. Instructions on how to configure your shell for Homebrew can be found in the 'Next steps' section below. ==> Installation successful!
==> Homebrew has enabled anonymous aggregate formulae and cask analytics. Read the analytics documentation (and how to opt-out) here: https://docs.brew.sh/Analytics No analytics data has been sent yet (nor will any be during this install run).
==> Homebrew is run entirely by unpaid volunteers. Please consider donating: https://github.com/Homebrew/brew#donations
==> Next steps:
satoshishigeta@Satoshis-MacBook-Pro hashlips_art_engine-main % satoshishigeta@Satoshis-MacBook-Pro hashlips_art_engine-main % 'eval "$(/opt/homebrew/bin/brew shellenv)"' zsh: no such file or directory: eval "$(/opt/homebrew/bin/brew shellenv)" satoshishigeta@Satoshis-MacBook-Pro hashlips_art_engine-main %
@GUNZE314532 you're meant to run:
(echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> /Users/satoshishigeta/.zprofile
then
eval "$(/opt/homebrew/bin/brew shellenv)"
This updates #812 which is no longer the recommended method. Downgrading software is never a good idea, especially to a version so old as v14. There may be bugs, or potentially very unsafe code and security vulnerabilities.
The correct method is as follows:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
to install Homebrew.arch -arm64 brew install pkg-config cairo pango jpeg giflib librsvg
npm install
@HashLips please go ahead and close/lock #812 since it's no longer relevant.