Conversation
id="org.geneanet.customcamera" , name can't be capital error while adding cordova plugin. so replaced name with small letter 'c' for customcamera
Contributor
|
Thank you. I will try to test this week before merge. |
Author
|
Could you please also add it in npm package manager so that it can be
accessed using npm install command.
On Wed, Feb 12, 2020 at 9:06 AM Christophe Boucaut ***@***.***> wrote:
Thank you. I will try to test this week before merge.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#102?email_source=notifications&email_token=ABNAN7NPR77QTI3AK5VW5B3RCQF6TA5CNFSM4KTFSV72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELRDGBI#issuecomment-585249541>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABNAN7LAWX3T2CC67VU7JIDRCQF6TANCNFSM4KTFSV7Q>
.
--
Thanks & Regards
Ashu Singh
|
Contributor
|
I tried with new project + plugin (with id="org.geneanet.customCamera"). I use cordova@9.0.0 + cordova-android@8.1.0 I don't have any problem to add, build and run the new project. When have you problem ? Which versions of cordova and cordova-android ? For npm version, I work on this project just 1 or 2 times by year. I don't know when I will have the time to do. |
Author
|
Thank you so much for your response.
i am using cordova@8.0.0 + cordova-android @8.1.0
when i tried adding this camera plugin with: id=org.geneanet.customCamera ,
i was getting error as name can't be in capital letter. Anyway i added the
plugin using git url: cordova plugin add
https://github.com/geneanet/customCamera.git
This works perfectly fine in my local but when we are moving the code in
our enterprise Jenkin it fails because it couldn't read github url instead
needs npm package manager . Your help is highly appreciated.
I believe once this gets added to npm, after npm install it won't add git+
https://github.com/geneanet/customCamera.git in package.json file
which is creating problem and instead it should add something with version
number: (eg: "@ionic-native/sqlite": "5.17.1",
"@ionic-native/status-bar": "5.17.1",
"@ionic/storage": "2.2.0",
)
Here is the failure output:
*14:05:32* npm ERR! code ENOENT*14:05:32* npm ERR! syscall spawn
git*14:05:32* npm ERR! path git*14:05:32* npm ERR! errno
ENOENT*14:05:32* npm ERR! enoent Error while executing:*14:05:32* npm
ERR! enoent undefined ls-remote -h -t
https://github.com/geneanet/customCamera.git*14:05:32* npm ERR! enoent
*14:05:32* npm ERR! enoent *14:05:32* npm ERR! enoent spawn git
ENOENT*14:05:32* npm ERR! enoent This is related to npm not being able
to find a file.*14:05:32* npm ERR! enoent
…On Fri, Feb 14, 2020 at 7:58 AM Christophe Boucaut ***@***.***> wrote:
I tried with new project + plugin (with id="org.geneanet.customCamera").
I use ***@***.*** + ***@***.***
I don't have any problem to add, build and run the new project.
When have you problem ?
For cordova plugin add https://github.com/geneanet/customCamera.git ?
Which versions of cordova and cordova-android ?
For npm version, I work on this project just 1 or 2 times by year. I don't
know when I will have the time to do.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#102?email_source=notifications&email_token=ABNAN7MKZ25C2WBG47PL35TRC2PO7A5CNFSM4KTFSV72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELZDGVY#issuecomment-586298199>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABNAN7PNZ4KR2HHKVT6BASLRC2PO7ANCNFSM4KTFSV7Q>
.
--
Thanks & Regards
Ashu Singh
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
id="org.geneanet.customcamera" , name can't be capital error while adding cordova plugin. so replaced name with small letter 'c' for customcamera