AlexDisler / cordova-icon

Automatic icon resizing for Cordova
MIT License
689 stars 292 forks source link

Not building, npm error #128

Closed northkode closed 6 years ago

northkode commented 6 years ago

on mac os high serria

fresh install npm install -g cordova-icon



  ✓  platforms found: android
  ✓  icon.png exists
  ✓  config.xml exists

 Generating Icons for android

events.js:167
      throw er; // Unhandled 'error' event
      ^

Error: spawn convert ENOENT
    at Process.ChildProcess._handle.onexit (internal/child_process.js:231:19)
    at onErrorNT (internal/child_process.js:406:16)
    at process._tickCallback (internal/process/next_tick.js:63:19)
Emitted 'error' event at:
    at Process.ChildProcess._handle.onexit (internal/child_process.js:237:12)
    at onErrorNT (internal/child_process.js:406:16)
    at process._tickCallback (internal/process/next_tick.js:63:19)```
northkode commented 6 years ago

ah you need image magic installed.. probably should have an error and warn the user to install.