react-native-spotify-remote icon indicating copy to clipboard operation
react-native-spotify-remote copied to clipboard

Problem in running examples folder

Open kuabhish opened this issue 3 years ago • 4 comments

Warning: Failed prop type: Invalid prop `tabStyle` of type `array` supplied to `DefaultTabBar`, expected `object`.

I am seeing a lot of errors like this while running the examples folder. Please help.

kuabhish avatar Mar 20 '21 22:03 kuabhish

Am seeing this error too trying to run the example folder, after I have yarn installed:

C:\Users\BEN\Documents\spotify-test\example>yarn start yarn run v1.22.5 $ react-native start error Cannot find module '../package.json'

What am I missing here?

wiredmatrix avatar Mar 26 '21 02:03 wiredmatrix

Make sure you install all the dependencies first.

$ cd example
$ yarn

djwillcaine avatar Mar 29 '21 23:03 djwillcaine

@wiredmatrix perhaps its because your on windows and it's currently referencing the package via ../package.json instead of ..\package.json. You could try and modify the dependency in the examples package.json and see if it helps.

cjam avatar Apr 02 '21 12:04 cjam

@kuabhish / @wiredmatrix Did either of you end up figuring this out? My guess is that it was a windows thing, but am interested to know it was that or something else.

cjam avatar May 18 '21 02:05 cjam