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

How to add third-party modules to nodejs-assets/nodejs-project? #82

Open
clydee-geng opened this issue Sep 22, 2024 · 2 comments
Open

Comments

@clydee-geng
Copy link

clydee-geng commented Sep 22, 2024

I generated a node_modules directory by executing npm i xxx under nodejs-assets/nodejs-project, but when executing sync in android studio, an error was reported:

Build file 'C:\Users\xxx\Desktop\DMZ_rn\node_modules\nodejs-mobile-react-native\android\build.gradle' line: 300
A problem occurred evaluating project ':nodejs-mobile-react-native'.
> Unsupported operating system for nodejs-mobile native builds: Windows 11
@staltz
Copy link
Member

staltz commented Sep 23, 2024

The error has nothing to do with third-party modules, but instead, about your host operating system:

Unsupported operating system for nodejs-mobile native builds: Windows 11

Read more: https://nodejs-mobile.github.io/docs/guide/faq#are-nodejs-native-addons-supported

@clydee-geng
Copy link
Author

The error has nothing to do with third-party modules, but instead, about your host operating system:该错误与第三方模块无关,而是与您的主机操作系统有关:

Unsupported operating system for nodejs-mobile native builds: Windows 11

Read more: https://nodejs-mobile.github.io/docs/guide/faq#are-nodejs-native-addons-supported了解更多: https://nodejs-mobile.github.io/docs/guide/faq#are-nodejs-native-addons-supported

Excuse me,Is there any plan to support Windows system in the future?

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

2 participants