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

Cannot find module '../../build/Release/agora_node_ext' #6

Open
tomaspavlin opened this issue Mar 14, 2021 · 2 comments
Open

Cannot find module '../../build/Release/agora_node_ext' #6

tomaspavlin opened this issue Mar 14, 2021 · 2 comments

Comments

@tomaspavlin
Copy link

tomaspavlin commented Mar 14, 2021

After running yarn start I get the following compile error:

Cannot find module '../../build/Release/agora_node_ext'

I ran it on MacOS Big Sur. Any ideas how to solve it?

@silui
Copy link

silui commented Mar 15, 2021

For my windows build, I had the same issue. I tried the yarn package and used the exe and it works.

@chinfeng
Copy link
Owner

I do not have any mac. I guess there are two problems on mac:

  • I declare agora-electron-sdk as external module in gui/craco.config.js. But I am not sure the module path under mac environment.

  • I have no idea about agora-electron-sdk prebuild binary for mac. It may have some issues if yarn/npm trying to build it from sources.

Can anyone help me with that ?

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

3 participants