Sugar mobile SDK  init-native fail

Hi, everyone 

I have a problem in using the SDK

I followed the Mobile SDK Quick Start Guide

http://support.sugarcrm.com/Documentation/Mobile_Solutions/Mobile_SDK/Mobile_SDK_Quick_Start_Guide/

But when I do the 

$ ./sdk init-native -p ios

and  here is the error logs

Error: Cannot find module 'librsvg'

    at Function.Module._resolveFilename (module.js:536:15)

    at Function.Module._load (module.js:466:25)

    at Module.require (module.js:579:17)

    at require (internal/module.js:11:18)

    at Object.<anonymous> (/Users/h281/Downloads/sugar/sugarsdk/6.1.2.459-1.4.1-2/tools/util/svg-to-pdf.js:16:16)

    at Module._compile (module.js:635:30)

    at Object.Module._extensions..js (module.js:646:10)

    at Module.load (module.js:554:32)

    at tryModuleLoad (module.js:497:12)

    at Function.Module._load (module.js:489:3)

    at Module.require (module.js:579:17)

    at require (internal/module.js:11:18)

    at Object.<anonymous> (/Users/h281/Downloads/sugar/sugarsdk/6.1.2.459-1.4.1-2/tools/tasks/launch-logo-ios.js:18:18)

    at Module._compile (module.js:635:30)

    at Object.Module._extensions..js (module.js:646:10)

 

/sugarsdk/6.1.2.459-1.4.0-2/tools/gulp-error-handling.js:59

        throw error;

        ^

FAIL

 

 

Did anyone knows how can i fix this problem

 

_eorror.rtf
Parents Reply Children
No Data