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

打包之后运行错误 #37

Open
chimeiwang opened this issue Jun 18, 2020 · 7 comments
Open

打包之后运行错误 #37

chimeiwang opened this issue Jun 18, 2020 · 7 comments

Comments

@chimeiwang
Copy link

我这边只是用最简单的demo,react的那个,本地运行没问题,但是打包出来一直在报错

image

Uncaught Error: \?\C:\Users\25009\AppData\Local\Programs\electron-react-webpack\resources\app\node_modules\agora-electron-sdk\build\Release\agora_node_ext.node is not a valid Win32 application.
\?\C:\Users\25009\AppData\Local\Programs\electron-react-webpack\resources\app\node_modules\agora-electron-sdk\build\Release\agora_node_ext.node

@plutoless
Copy link
Contributor

打包的时候arch要选择32位

@bai042828
Copy link

怎么选择32位啊。。。

@bai042828
Copy link

打包的时候arch要选择32位

怎么选择32位啊。。。

@denglouhen
Copy link

你解决没啊?我打包win32报这个错误,打包win64是正常的

@bai042828
Copy link

你解决没啊?我打包win32报这个错误,打包win64是正常的

npm install -D --arch=ia32 electron

@denglouhen
Copy link

你解决没啊?我打包win32报这个错误,打包win64是正常的

npm install -D --arch=ia32 electron

我执行了这个之后反而npm run start本地都跑不起来

@bai042828
Copy link

你解决没啊?我打包win32报这个错误,打包win64是正常的

npm install -D --arch=ia32 electron

我执行了这个之后反而npm run start本地都跑不起来

那就不知道了

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

No branches or pull requests

4 participants