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.

tsjs-node: sh: line 1: 18590 Illegal instruction: 4

See original GitHub issue

System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04): MacOS 11.6 (Big Sur)
  • Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: N/A
  • TensorFlow.js installed from (npm or script link): npm
  • TensorFlow.js version: 3.10.0
  • CUDA/cuDNN version: N/A

Describe the problem

Getting error sh: line 1: 18590 Illegal instruction: 4 when trying to use tfjs-node. Works with tfjs (non-node version).

Provide the exact sequence of commands / steps that you executed before running into the problem

Just initializing instance using const tf = require('@tensorflow/tfjs-node').

Any other info / logs N/A.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
vladmandiccommented, Oct 28, 2021

Thats a question for underlying tensorflow shared library, not tfjs
See https://github.com/tensorflow/tensorflow/issues?q=M1

0reactions
google-ml-butler[bot]commented, Oct 28, 2021

Are you satisfied with the resolution of your issue? Yes No

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is the "Illegal Instruction: 4" error and why does "
I got the Illegal Instruction: 4 while running the binary on the same system I had compiled it on, so -mmacosx-version-min didn't help....
Read more >
"Illegal instruction: 4" after porting app to Swift - Apple Developer
I can run my app on my MacBook Pro running macOS 10.14.6, but an App Store user reached out to report that it...
Read more >
Illegal instruction 4 with old Mac · Issue #764 · ANTsX/ANTs
Any binary from compiling the latest ANTs gives me the error "Illegal instruction: 4". I traced it to this change.
Read more >
Fixing "Illegal instruction 4 error in macOS terminal when ...
Following entering the code pythonw -m deeplabcut, I am encountering this error message: line 3: 7606 Illegal instruction: 4.
Read more >
42337 Illegal instruction: 4 - Intel Communities
Hi, The Intel Fortran compiler on Mac, is giving me the error message: Illegal instruction: 4 What does this mean? And what can...
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