Closed nishantkp closed 9 months ago
It might be that your Node runs in x64 emulation mode instead of arm64. What does require('os').arch()
report? Expected: arm64
.
@OrKoN Yeah, you are right, its x64
Welcome to Node.js v21.5.0.
Type ".help" for more information.
> require('os').arch()
'x64'
How can I change it to arm64?
I guess you are running a Node x64 binary somehow. I am not sure how to fix it but you can force a custom platform
npx @puppeteer/browsers install chrome@113 --platform mac_arm
@OrKoN thanks so much!
I have to fix this Node x64 but your platform-specific solution works.
and one more question, how can I get Chrome 112 and lower with npx @puppeteer/browsers install
? Every time I try to do that, I get an error.
See https://github.com/GoogleChromeLabs/chrome-for-testing?tab=readme-ov-file#json-api-endpoints for minimally supported versions.
Hello,
I have an M1 Mac Pro.
Tried to install Chrome 113 with,
After it was installed, I tried to open it, it gave the following message,
I tried
xattr
command but it didn't do anything and gave the same message as above.Not sure entirely but could M1 has anything to do with it? If not then how would I resolve this?