electrode-native icon indicating copy to clipboard operation
electrode-native copied to clipboard

Container generator stuck with Node.js 17

Open friederbluemle opened this issue 4 years ago • 3 comments

Still needs to be investigated more, but it appears in some cases, container generation (e.g. ern create-container, or running a miniapp) with Node.js 17 simply stops, with no more console output, waiting forever.

It happens at the end of the Injecting JavaScript engine step, right before the line starting with cp below:

popd
~/.ern/containergen/out/android /path/to/test-miniapp
cp -Rf /private/var/folders/xb/4lt2zppd3cnc6qhcc09wxb8r0000gn/T/tmp-92135-YPGFhV9Qp5gE/jni ~/.ern/containergen/out/android/lib/src/main/jniLibs
[ Injecting JavaScript engine [JavaScriptCore] (Completed in 0s)]

friederbluemle avatar Nov 05 '21 18:11 friederbluemle

This also affects commands that depend on container generation (e.g. ern run-android).

friederbluemle avatar Jan 15 '22 00:01 friederbluemle

@friederbluemle - I am facing the same issue with Node Version 18.7. Are there any resolution/workarounds for this issue? image

➜ MovieListMiniApp git:(master) node --version v18.7.0

bdsines avatar Aug 23 '22 16:08 bdsines

any help on this? I tried by changing the node version to 16 on my macbook M1 but still have the same issue

bdsines avatar Sep 01 '22 18:09 bdsines

Same problem! Any helps?

quanghoang0101 avatar Feb 27 '23 07:02 quanghoang0101

I have detected the issue. The problem with compressed-zib lib. OnExtract is not called so it waits forever.

quanghoang0101 avatar Mar 02 '23 07:03 quanghoang0101

Great thank you very much for the investigation @quanghoang0101 - A third party dependency has also been my suspicion as the culprit of this error.

I've replaced compress-zip with adm-zip in #1878

friederbluemle avatar Mar 02 '23 22:03 friederbluemle