-
Notifications
You must be signed in to change notification settings - Fork 20
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
Issues with Node #1
Comments
Could you SSH and provide a detailed log (verbose output would be appreciated)? This repo is just a playground for myself (see qemu for example). Codesigning is a PIA sometimes, but you shouldn't need the symlink (remove it); dyld should pick the correct dylib, but even Sam knows about that issue. EPERM comes from iOS refusing to execute shebangs in scripts, but ENOENT is sort of interesting. I wouldn't personally expect a fix pushed anytime soon (I haven't DM bingner for like 4 months), I made promises to look into stuff and got really busy since 2020 threw plans out the window. |
Why doesn’t iOS execute shebangs? I’ll grab that log but which verbose
options do you want enabled? I remember enabling a few but they added very
little.
Without the symlink dyld finds the right lib but complains that it’s signed
incorrectly.
…On Tue, May 26, 2020 at 3:39 AM Mac ***@***.***> wrote:
Could you SSH and provide a detailed log (verbose output would be
appreciated)? This repo is just a playground for myself (see qemu for
example).
Codesigning is a PIA sometimes, but you shouldn't need the symlink (remove
it); dyld should pick the correct dylib, but even Sam knows about that
issue.
EPERM comes from iOS refusing to execute shebangs in scripts, but ENOENT
is sort of interesting. I wouldn't personally expect a fix pushed anytime
soon (I haven't DM bingner for like 4 months), I made promises to look into
stuff and got really busy since 2020 threw plans out the window.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAMJTRUUWBOZJJBC3ZIWNUDRTNW4JANCNFSM4NJ2JWSA>
.
|
I personally don't use npm/node often (just ported it for clout and interest), so just use your best judgement and upload to a gist. Mind me asking what iOS version and device you're using? Try to reinstall nodejs because it's confusing where that codesigning bug comes from. iOS will refuse to execute scripts when using something like exec as part of codesigning since (iirc) iOS 10/11. |
fs.copyFile problem: https://pastebin.com/G1Ex4YrZ I reinstalled multiple times with the version on bingner and your Test repo, the signing error remained until I created that symlink. I’m on iOS 13.5 + 3rd gen iPad Pro using Unc0ver. Re exec: I thought jailbreaking disabled codesigning checks? Is there a patch to fix these scripts somewhere? Sorry, I’m a inexperienced in the jailbreaking world. |
Okay, funny enough I've talked to TheNoim before (I won't link the issue he posted because it'll ping everyone) but the system call was fixed in the issue he made. The only issue is I don't get EPERM when installing expo-cli, could you post a log of that also? |
Could you post a link-shortened version of that issue to avoid pinging? It would probably be useful for future people as well. Will this fix be added into a future build on apt.bingner or mcapollo.github.io? Or is there some way I can patch my install with this? The expo-cli install seems to succeed, but the error is half way through the install log. I haven’t tested expo-cli enough to know whether the error breaks the install. See this screenshot: https://imgur.com/a/jc6mIwd . Also, is JIT enabled on this build? I think I saw you discussing how you made progress on it in a Reddit thread a while back. |
Also, here’s a screenshot of the signing error on a fresh install (before I create the symlink): |
Fix is live now at - https://test.apt.bingner.com/ (Download ngttp/c-ares) and then remove the test repo when done Could you tell me if this works? |
I downloaded the latest Node build and libc-ares2 from test.apt.bingner. The error with expo-cli remained. The installation error disappeared from the code-server installation but was replaced with another error with node-gyp: Though the code-server installation completes, the app is almost completely non-functional once started. We’re getting closer! May I ask what changed in this build (apart from the Node version bump?) I apologize for all of the screenshot errors. Neither NewTerm nor MobileTerminal seem to have the ability to copy and paste. |
I have tried to download the latest version of Node 12.7.0-1 both on my iPhone 11 Pro and on the iPad Pro (2020) but I cannot install them correctly. |
@nVitius please refer to my previous comments on this issue, which included the solution: create a symlink from the place the library actually is to the long path it mentions in the error (/Users/Sam/etc...) @Fede-z8na Did you install the version from test.apt.bingner? |
@zaptrem Could you run the command with the exit code 126? What's the shebang on that script? I got a maintainer email listed and don't know why people are using the testing repo |
@nVitius Sorry if I came off as rude, I didn’t see your first deleted comment and you had the same issue as @zaptrem. This is a ping message, could anyone seeing this could provide more debug/verbose messages? I’ll try to invest more time why dpkg dislikes updating hopefully this week. More logs from any package manager but Cydia, would be great, thanks! |
Also having a node-gyp issue, but that's unrelated. Going to ask them about that one. Actually, I just noticed fs-events is an OSX-specific package. I'm not sure what in my dependency tree was installing it, but it seems like most packages are detecting iOS as an OSX environment. EDIT - Turns out the fsevents issue was due to an optional dependency on a library called choked ar. Was solved with running |
@MCApollo (or anyone that can assist on this) I've created a minimum repro for the EPERM bug that does the
Here are the logs from my run with
I could only make it happen whenever I am trying to spawn a child process with the NPM binary. Calls to native binaries such as Let me know if you want me to run it with any specific arguments or more debug options. Edit: |
As of now, the dpkg install issue is figured out to be a issue of the perl packager- dm.pl- that is still used to support lzma on older targets. And as the EPERM issue, I know what code to change, but bingner wants to straight out patch EPERM issues on all supported jailbreaks. |
Out of interest - is the EPREM error a jailbreak issue, node issue or an ios specific issue? Can you provide any rough details? |
Also curious as to the nature of the issue. Can you provide specific details? |
Any fix for this discovered yet? |
I installed NodeJS off of apt.bingner.com (though I think they mirrored this repo) and got an error related to an unsigned lib node.dyld. I solved it by symlinking to where the program seemed to expect it to be (Users/Sam/...).
However, many system calls seem to be broken. For example, running yarn add global code-server results in ENOENT: function not implemented copyfile (very long path). Calling fs.copyFile results in Bad system call: 12. For example, running npm install -g expo-cli results in Error: spawn EPERM (see link: https://imgur.com/a/1mAqcp2). As a result, no major program I’ve tried has worked.
Is this related to a messed up build? Would a new version fix these issues?
Thanks
Edit: node ver 12.3.1-3
The text was updated successfully, but these errors were encountered: