YAES icon indicating copy to clipboard operation
YAES copied to clipboard

Clean install issue

Open jamesgrubb opened this issue 4 years ago • 2 comments

Hello again, sorry ran yarn dev and received the following log

[eleventy] Command exited with error code: Error: Command was killed with SIGABRT (Aborted): eleventy --watch
dyld: lazy symbol binding failed: Symbol not found: _g_once_impl
  Referenced from: /Users/jamesgrubb/Dropbox/Dev/allornaught/node_modules/sharp/build/Release/sharp.node
  Expected in: /Users/jamesgrubb/Dropbox/Dev/allornaught/node_modules/@11ty/eleventy-img/node_modules/sharp/build/Release/../../vendor/lib/libvips.42.dylib

dyld: Symbol not found: _g_once_impl
  Referenced from: /Users/jamesgrubb/Dropbox/Dev/allornaught/node_modules/sharp/build/Release/sharp.node
  Expected in: /Users/jamesgrubb/Dropbox/Dev/allornaught/node_modules/@11ty/eleventy-img/node_modules/sharp/build/Release/../../vendor/lib/libvips.42.dylib


▼ eleventy

  dyld: lazy symbol binding failed: Symbol not found: _g_once_impl
    Referenced from: /Users/jamesgrubb/Dropbox/Dev/allornaught/node_modules/sharp/build/Release/sharp.node
    Expected in: /Users/jamesgrubb/Dropbox/Dev/allornaught/node_modules/@11ty/eleventy-img/node_modules/sharp/build/Release/../../vendor/lib/libvips.42.dylib

  dyld: Symbol not found: _g_once_impl
    Referenced from: /Users/jamesgrubb/Dropbox/Dev/allornaught/node_modules/sharp/build/Release/sharp.node
    Expected in: /Users/jamesgrubb/Dropbox/Dev/allornaught/node_modules/@11ty/eleventy-img/node_modules/sharp/build/Release/../../vendor/lib/libvips.42.dylib

jamesgrubb avatar Jan 28 '21 11:01 jamesgrubb

this seems to be caused by two different versions of sharp being installed with incompatible versions of libvips.42.dylib.

Try changing your sharp dev dependency to: "sharp": "^0.25.4", and then run yarn

bentorkington avatar Mar 26 '21 21:03 bentorkington

I ran into this same issue and your suggestion fixed it for me! Thanks!

jkup avatar Nov 10 '21 01:11 jkup