Error while building custom app using sugarcrm sdk - 47.1.664-1.4.2-2

Hi,

I'm having trouble while creating custom mobile app using sugarcrm sdk version - 47.1.664-1.4.2-2

but same process working for sugarcrm sdk version - 42.0.645-1.4.2-2

application creation failed with below error - 

I think process fails while integrating plugin for actionsheet, could you please suggest some solution on this.

Thanks,

Shrikant

Error details as below ---

[15:08:04] Finished 'clean-native' after 1.43 s
[15:08:04] Starting 'install-native-plugins'...
[15:08:04.724-P53329] Forking: '../sugar-mobile-sdk/47.1.664-1.4.2-2/node_modules/.bin/cordova' 'plugin' 'add' '--noregistry' '../sugar-mobile-sdk/47.1.664-1.4.2-2/native_plugins/cordova-plugin-actionsheet' '--verbose' cwd: '../native' pid: 53329
[15:08:05.528-P53329] No scripts found for hook "before_plugin_add".
[15:08:05.528-P53329] Calling plugman.fetch on plugin "../47.1.664-1.4.2-2/native_plugins/cordova-plugin-actionsheet"
[15:08:05.536-P53329] fetch: Installing ../sugar-mobile-sdk/47.1.664-1.4.2-2/native_plugins/cordova-plugin-actionsheet to ..//native
[15:08:05.536-P53329] Running command: npm install ../sugar-mobile-sdk/47.1.664-1.4.2-2/native_plugins/cordova-plugin-actionsheet --save-dev
[15:08:07.440-P53329] Command finished with error code 1: npm install,../sugar-mobile-sdk/47.1.664-1.4.2-2/native_plugins/cordova-plugin-actionsheet,--save-dev
[15:08:07.445-P53329] Error: npm: Command failed with exit code 1 Error output:
[15:08:07.445-P53329] npm WARN com.acme.crm@ No description
[15:08:07.445-P53329] npm WARN com.acme.crm@ No repository field.
[15:08:07.445-P53329] npm WARN com.acme.crm@ No license field.
[15:08:07.445-P53329] npm ERR! code EEXIST
[15:08:07.445-P53329] npm ERR! path ..//native/node_modules/.bin/create
[15:08:07.445-P53329] npm ERR! Refusing to delete ..//native/node_modules/.bin/create: is outside ..//native/node_modules/cordova-android and not a link
[15:08:07.445-P53329] npm ERR! File exists: ..//native/node_modules/.bin/create
[15:08:07.446-P53329] npm ERR! Remove the existing file and try again, or run npm
[15:08:07.446-P53329] npm ERR! with --force to overwrite files recklessly.
[15:08:07.446-P53329] npm ERR! A complete log of this run can be found in:
[15:08:07.446-P53329] npm ERR! ../.npm/_logs/2022-08-03T09_38_07_407Z-debug.log
[15:08:07.446-P53329] at ChildProcess.whenDone (../sugar-mobile-sdk/47.1.664-1.4.2-2/node_modules/cordova-common/src/superspawn.js:136:25)
[15:08:07.446-P53329] at ChildProcess.emit (events.js:375:28)
[15:08:07.446-P53329] at maybeClose (internal/child_process.js:1055:16)
[15:08:07.446-P53329] at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5) {
[15:08:07.446-P53329] stderr: 'npm WARN com.acme.crm@ No description\n' +
[15:08:07.446-P53329] 'npm WARN com.acme.crm@ No repository field.\n' +
[15:08:07.446-P53329] 'npm WARN com.acme.crm@ No license field.\n' +
[15:08:07.446-P53329] '\n' +
[15:08:07.447-P53329] 'npm ERR! code EEXIST\n' +
[15:08:07.447-P53329] 'npm ERR! path ..//native/node_modules/.bin/create\n' +
[15:08:07.447-P53329] 'npm ERR! Refusing to delete ..//native/node_modules/.bin/create: is outside ../native/node_modules/cordova-android and not a link\n' +
[15:08:07.447-P53329] 'npm ERR! File exists: ..//native/node_modules/.bin/create\n' +
[15:08:07.447-P53329] 'npm ERR! Remove the existing file and try again, or run npm\n' +
[15:08:07.447-P53329] 'npm ERR! with --force to overwrite files recklessly.\n' +
[15:08:07.447-P53329] '\n' +
[15:08:07.447-P53329] 'npm ERR! A complete log of this run can be found in:\n' +
[15:08:07.447-P53329] 'npm ERR! ../.npm/_logs/2022-08-03T09_38_07_407Z-debug.log\n',
[15:08:07.447-P53329] code: 1
[15:08:07.447-P53329] }
[15:08:07.447-P53329] CordovaError: Error: npm: Command failed with exit code 1 Error output:

Parents Reply Children
No Data