Git Product home page Git Product logo

Comments (4)

sophiezzhou avatar sophiezzhou commented on July 17, 2024

首先,可以确认下你在arm64架构上 $ node -p process.arch arm64

然后可以通过以下命令切换到 x64 架构环境上 $ arch -x86_64 zsh

可以查看下现在的架构环境是否正确

$ node -p process.arch x64

再使用nvm安装node

nvm install v14.15.4

接着,再次确认下现在的架构环境是否正确

$ node -p process.arch x64

现在就可以进行依赖安装,并启动Electron控制台

后续也可以继续回到 arm64架构环境 $ exit $ arch arm64

目前我们的 electron sdk 是暂时没有支持 arm64 架构的 .node 文件的。

from trtcsdk.

AllenTom avatar AllenTom commented on July 17, 2024

问题已经解决了,使用x64架构的Nodejs就可以了,Rosetta可以自动转译,目前没发现任何问题。

from trtcsdk.

szwang-seedtech avatar szwang-seedtech commented on July 17, 2024

你好,能详细说一下使用“x64架构的Nodejs”是什么意思嘛?我这边也遇到了这个问题,而且我用得应该就是x64架构的
bdfb079f0608248af40e9a4dcc165e2
7163705d38c2c74fd44fd83d3783862
24983cebc67dad559c18b599eee13d0

from trtcsdk.

sophiezzhou avatar sophiezzhou commented on July 17, 2024

目前从electron 10.6.403 版本已经支持了双架构 Screen Shot 2023-01-11 at 11 46 56
详细可看下腾讯云文档:https://cloud.tencent.com/document/product/647/62562#90d73165-fbbd-4aea-90d2-4a0a9bbf4d8a

你好,能详细说一下使用“x64架构的Nodejs”是什么意思嘛?我这边也遇到了这个问题,而且我用得应该就是x64架构的 bdfb079f0608248af40e9a4dcc165e2 7163705d38c2c74fd44fd83d3783862 24983cebc67dad559c18b599eee13d0

from trtcsdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.