CODAIT / magicat

🧙😺 magicat - Deep learning magic.. with the convenience of cat!
Apache License 2.0
26 stars 5 forks source link

Abort trap: 6 #2

Closed glynnbird closed 5 years ago

glynnbird commented 5 years ago

Platform: Mac running MacOS 10.14.1 (latest), Node.js v8.11.1

Having installed with npm,

$ npm install -g magicat
/usr/local/bin/magicat -> /usr/local/lib/node_modules/magicat/app.js
+ magicat@1.4.9
updated 1 package in 14.014s

if I run

$ magicat myimage.jpg

(on any image), I get:

dyld: lazy symbol binding failed: Symbol not found: __ZN2v87Isolate19CheckMemoryPressureEv
  Referenced from: /usr/local/lib/node_modules/magicat/node_modules/canvas/build/Release/canvas.node
  Expected in: flat namespace

dyld: Symbol not found: __ZN2v87Isolate19CheckMemoryPressureEv
  Referenced from: /usr/local/lib/node_modules/magicat/node_modules/canvas/build/Release/canvas.node
  Expected in: flat namespace

Abort trap: 6

I get the same output with magicat --help.

it's a trap

ptitzler commented 5 years ago

@glynnbird I ran into the same issue with node 8.11 as well. If you upgrade to 10.x the problem should go away.

glynnbird commented 5 years ago

Thanks. That fixes it for me. Maybe mention that in the README?

kastentx commented 5 years ago

@glynnbird Thanks for raising this issue and @ptitzler thanks for the nice catch! I'll add that to the docs