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

java.lang.UnsupportedOperationException: StartNodeJS Not Supported. #392

Closed
adonnini opened this issue Apr 9, 2018 · 6 comments
Closed

Comments

@adonnini
Copy link

adonnini commented Apr 9, 2018

Hi,

When running node.js in my Android app via J2V8, I am getting the following error:

java.lang.UnsupportedOperationException: StartNodeJS Not Supported.

Would you be able to produce an updated aar with

with
-D NODE_COMPATIBLE=1
option?

Thanks,

Alex Donnini

@DenBond7
Copy link

Please see #216

@adonnini
Copy link
Author

Thanks. I appreciate your response. Very disappointing.

Frankly, I wonder (not just because of this response) whether this project is becoming dormant.

Am I offbase? I need to have a reliable/stable JS engine for my Android Java app. I was hoping J2V8 was the one.

Again, thanks for your response.

@irbull
Copy link
Member

irbull commented Jan 11, 2019

We are reducing the scope of this project to better server JS on Android (see #441) and better set honest expectations. However, Node will not be supported (it never worked on Android), but V8 on Android with J2V8 has been pretty stable for our use cases. I'm closing this as out-of-scope.

@irbull irbull closed this as completed Jan 11, 2019
@adonnini
Copy link
Author

adonnini commented Jan 11, 2019 via email

@irbull
Copy link
Member

irbull commented Jan 11, 2019

I don't know what Bigchaindb is, but as long as you can get all your dependencies loaded, this should be possible. We've run some pretty big JS apps on J2V8 without problems. But if they rely on the Node.js APIs, this won't work (unless you can provide shims for them).

@adonnini
Copy link
Author

adonnini commented Jan 11, 2019 via email

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