question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Linux arm64 not working

See original GitHub issue
  • I am on the latest Hyper.app version
  • I have searched the issues of this repo and believe that this is not a duplicate

Issue

Hyper Linux arm64 not working giving the errors

    at Module._resolveFilename (node:internal/modules/cjs/loader:940:15)
    at Function.n._resolveFilename (node:electron/js2c/browser_init:249:1105)
    at Module._load (node:internal/modules/cjs/loader:785:27)
    at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
    at Function._load (/tmp/.mount_Hyper-rUBHOP/resources/app.asar/plugins.js:99:37)
    at Module.require (node:internal/modules/cjs/loader:1012:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (/tmp/.mount_Hyper-rUBHOP/resources/app.asar/node_modules/node-pty/lib/unixTerminal.js:30:15)
    at Module._compile (node:internal/modules/cjs/loader:1116:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1169:10) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/tmp/.mount_Hyper-rUBHOP/resources/app.asar/node_modules/node-pty/lib/unixTerminal.js',
    '/tmp/.mount_Hyper-rUBHOP/resources/app.asar/node_modules/node-pty/lib/index.js',
    '/tmp/.mount_Hyper-rUBHOP/resources/app.asar/session.js',
    '/tmp/.mount_Hyper-rUBHOP/resources/app.asar/ui/window.js',
    '/tmp/.mount_Hyper-rUBHOP/resources/app.asar/index.js',
    undefined
  ]
}
A JavaScript error occurred in the main process
Uncaught Exception:
Error: `node-pty` failed to load. Typically this means that it was built incorrectly. Please check the `readme.md` to more info.
    at createNodePtyError (/tmp/.mount_Hyper-rUBHOP/resources/app.asar/session.js:35:34)
    at Object.<anonymous> (/tmp/.mount_Hyper-rUBHOP/resources/app.asar/session.js:42:11)
    at Module._compile (node:internal/modules/cjs/loader:1116:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1169:10)
    at Module.load (node:internal/modules/cjs/loader:988:32)
    at Module._load (node:internal/modules/cjs/loader:829:12)
    at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
    at Function._load (/tmp/.mount_Hyper-rUBHOP/resources/app.asar/plugins.js:99:37)
    at Module.require (node:internal/modules/cjs/loader:1012:19)
    at require (node:internal/modules/cjs/helpers:102:18)

node-pty.node: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=5e9f50a0d8eb59de2c535c68623728922193c815, not stripped

This is the output of file app.asar/node_modules/node-pty/bin/node-pty-node from arm64 deb from the above artifacts app.asar is the folder where app.asar ( grabbed from opt/Hyper/resources ) is extracted using npx asar extract app.asar destfolder npx asar extract opt/Hyper/resources/app.asar app.asar The output should actually be something like ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked, BuildID[sha1]=xxxxxxx....., not stripped i.e; it should state ARM aarch64 instead of x86_64

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:16

github_iconTop GitHub Comments

3reactions
LabhanshAgrawalcommented, May 6, 2022

Also can you add armv7l linux builds to workflows and releases

sure

2reactions
LabhanshAgrawalcommented, Jun 22, 2022

@LabhanshAgrawal how’s the progress going???

Not much really, caught up with new job, will pick this up again soon.

Read more comments on GitHub >

github_iconTop Results From Across the Web

docker pull --platform=linux/arm64 silently falls back ... - GitHub
I have tried with the latest version of Docker Desktop; I have tried disabling enabled experimental features (had not enabled any)
Read more >
Multi-platform images | Docker Documentation
Multi-platform images. Docker images can support multiple platforms, which means that a single image may contain variants for different architectures, ...
Read more >
ReactJS arm64 docker image not working on AWS Gravitas ...
What I am trying to do. Package ReactJS app in Docker Container from Windows 11; Tag Image and Push to AWS ECR; Use...
Read more >
Intellisense broken on aarch64 (ARM64)
Using VSLinux extension to cross compile an ARM64 project give an unexpected problem with intellisense. The code is correctly cross-building on the remote ......
Read more >
linux/arm64/v8 - You.com | The AI Search Engine You Control
However, even though using an Arm64 Linux machine to work on V8 is not officially supported, overcoming those hurdles is pretty straightforward.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found