Closed m3ndis closed 7 years ago
That's a funny issue, I cannot reproduce it. Which version of NPM do you use?
I think it was 2.x, I'm not sure, but this dependency surely was not in the package.json
On Dec 14, 2016 06:53, "Alexis" notifications@github.com wrote:
That's a funny issue, I cannot reproduce it. Which version of NPM do you use?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/alexmngn/react-native-authentication/issues/2#issuecomment-266942423, or mute the thread https://github.com/notifications/unsubscribe-auth/ANwI6jbxdosZXFlCkx3m2Nz0oBFaDjfiks5rH3ZAgaJpZM4LKcLv .
No it's not, react-native-vector-icons
is a dependency of native-base
and not of this project, that's why it's not present in the package.json
. I've only tested the project with npm 3.8.x and I don't plan to make it work with older versions of npm.
@alexmngn Hi. I have another problem with the vector-icons. The package is not missing, but it produces errors about missing drawable resources. Below is one of the errors, but there are 20-30 like that. Could that be a different package version?
C:\Users\User\Documents\Projects\SC\__react-native-authentication-master\client\MobileApp\node_modules\react
-native-vector-icons\android\build\intermediates\exploded-aar\com.android.support\appcompat-v7\23.0.1\res\drawable\abc_t
extfield_search_material.xml:21:29-78 : No resource found that matches the given name (at 'drawable' with value '@drawab
le/abc_textfield_search_default_mtrl_alpha').
:react-native-vector-icons:processReleaseResources FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':react-native-vector-icons:processReleaseResources'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Andro
id\sdk\build-tools\23.0.1\aapt.exe'' finished with non-zero exit value 1
@vldgeorgiev Looks like an issue with Windows. Did you have a look to this post? https://github.com/oblador/react-native-vector-icons/issues/102
Now that you mentioned Windows, I had a better look at the path length. It is longer than 255 chars, which causes issues on Windows. Moving the project to a shorter path fixes it.
Hi, I have faced the error on vector-icons and I use Ubuntu 16.4.
:react-native-vector-icons:processReleaseResources /home/nikunj/Android/Sdk/build-tools/26.0.1/aapt: 1: /home/nikunj/Android/Sdk/build-tools/26.0.1/aapt: Syntax error: ")" unexpected
:react-native-vector-icons:processReleaseResources FAILED
FAILURE: Build failed with an exception.
com.android.ide.common.process.ProcessException: Failed to execute aapt
To fix this and add react-native-vector-icons to dependencies please run:
npm install react-native-vector-icons --save