AnsweredAssumed Answered

Sugar mobile SDK  init-native fail

Question asked by cheng yuzen on Jun 18, 2018
Latest reply on Jun 25, 2018 by cheng yuzen

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

 

Attachments

Outcomes