Closed rakeshostwal closed 10 years ago
Thanks for reporting this.
Can you please share the steps you used to create your project and install the EmailComposer plugin? I will use these steps to reproduce the error.
Thanks! Steve
Yes sure,
I have created one sample project (on cordova 3.0.0), Then tried to install this plugin using "cordova plugin add emailcomposer" command. But Getting above error
Hi @rakeshostwal,
I tried to reproduce this error on OS X 10.8 with the latest cordova bits.
I found a few similar reports for cordova-cli like this one and another one.
Can you share your exact command history to create the sample project and add the plugin? I assume you are on OS X since you want to build an iOS project...
Thanks, Steve
laptop:tmp us$ uname -v
Darwin Kernel Version 12.5.0: Sun Sep 29 13:33:47 PDT 2013; root:xnu-2050.48.12~1/RELEASE_X86_64
laptop:tmp us$ sudo npm update cordova
laptop:tmp us$ cordova --version
3.0.6
laptop:tmp us$ cordova create helloworld
laptop:tmp us$ cd helloworld/
laptop:helloworld us$ cordova platforms add ios
laptop:helloworld us$ cordova plugins add emailcomposer
laptop:helloworld us$ ls -lahr *
www:
total 24
-rw-r--r-- 1 us wheel 2.5K Jan 15 20:37 spec.html
drwxr-xr-x 5 us wheel 170B Jan 15 20:37 spec
drwxr-xr-x 4 us wheel 136B Jan 15 20:37 res
drwxr-xr-x 3 us wheel 102B Jan 15 20:37 js
-rw-r--r-- 1 us wheel 1.7K Jan 15 20:37 index.html
drwxr-xr-x 3 us wheel 102B Jan 15 20:37 img
drwxr-xr-x 3 us wheel 102B Jan 15 20:37 css
-rw-r--r-- 1 us wheel 610B Jan 15 20:37 config.xml
drwxr-xr-x 7 us wheel 238B Jan 15 20:37 ..
drwxr-xr-x 10 us wheel 340B Jan 15 20:37 .
plugins:
total 8
-rw-r--r-- 1 us wheel 386B Jan 15 20:38 ios.json
drwxr-xr-x 12 us wheel 408B Jan 15 20:38 emailcomposer
drwxr-xr-x 7 us wheel 238B Jan 15 20:37 ..
drwxr-xr-x 4 us wheel 136B Jan 15 20:38 .
platforms:
total 0
drwxr-xr-x 9 us wheel 306B Jan 15 20:38 ios
drwxr-xr-x 7 us wheel 238B Jan 15 20:37 ..
drwxr-xr-x 3 us wheel 102B Jan 15 20:37 .
merges:
total 0
drwxr-xr-x 2 us wheel 68B Jan 15 20:37 ios
drwxr-xr-x 7 us wheel 238B Jan 15 20:37 ..
drwxr-xr-x 3 us wheel 102B Jan 15 20:37 .
laptop:helloworld us$ ls -lah plugins/emailcomposer/plugin.xml
-rw-r--r-- 1 us wheel 1.6K Jan 15 20:38 plugins/emailcomposer/plugin.xml
laptop:helloworld us$ ls -lah platforms/ios/HelloCordova/Plugins/emailcomposer/
total 64
drwxr-xr-x 6 us wheel 204B Jan 15 20:38 .
drwxr-xr-x 4 us wheel 136B Jan 15 20:38 ..
-rw-r--r-- 1 us wheel 675B Jan 15 20:38 EmailComposer.h
-rw-r--r-- 1 us wheel 8.1K Jan 15 20:38 EmailComposer.m
-rw-r--r-- 1 us wheel 1.3K Jan 15 20:38 NSData+Base64.h
-rw-r--r-- 1 us wheel 8.7K Jan 15 20:38 NSData+Base64.m
Hi @rakeshostwal, did sudo npm update cordova
fix your issue? I'd like to close this issue.
Thanks, Steve
@rakeshostwal I'm closing this due to a lack of activity. Feel free to reopen.
{ [Error: ENOENT, no such file or directory 'emailcomposer/plugin.xml'] errno: 34, code: 'ENOENT', path: 'emailcomposer/plugin.xml', syscall: 'open' }