maxs15 / react-native-spinkit

A collection of animated loading indicators for React Native
MIT License
2.36k stars 300 forks source link

Package react-native-spinkit has been ignored during build with RN 0.60.4 #124

Open heikir opened 5 years ago

heikir commented 5 years ago

When building my project with RN 0.60.4 and react-native-spinkit 1.4.0 I get the following warning:

warn Package react-native-spinkit has been ignored because it contains invalid configuration. Reason: "commands" must be an array

sboyd17 commented 5 years ago

I have the same problem in my app!

My temporary fix is: 1) yarn remove react-native-spinkit or npm uninstall --save react-native-spinkit 2) yarn add react-native-spinkit@1.3.0 or npm install --save react-native-spinkit@1.3.0

Does anyone else have a more permanent solution as this will only last until the next release?

ChauVV commented 5 years ago

I have the same problem!

Elvinra commented 5 years ago

On the folder node_modules/react-native-spinkit. Delete the file react-native.config.js After that add on the file android/build.gradle

allprojects { repositories { ... // ADD THIS maven { url "https://jitpack.io" } } }

edcrampin commented 5 years ago

PR opened to fix this - #125

sboyd17 commented 5 years ago

Will this patch be merged into the master branch? I have to keep copying the patch into the files every time that I install a new package to add to my app to avoid getting the error.

PR opened to fix this - #125

edcrampin commented 5 years ago

PR now has been merged in... fixed in v1.4.1 of react-native-spinkit 🎉

ziaulrehman40 commented 4 years ago

If it is merged, why is issue not closed?

It makes bad impact to see this much issues open.

stephanoparaskeva commented 4 years ago

getting issue on 1.5.0