Home:ALL Converter>Using styleguidist in a react native application

Using styleguidist in a react native application

Ask Time:2018-07-11T02:40:06         Author:A.Chakroun

Json Formatter

I'm trying to use styleguidist in a react native application application;

I come across this link and implemented the exact same set up in my application:

https://github.com/styleguidist/react-styleguidist/tree/master/examples/react-native

After running npx styleguidist build, i got this output:

FAIL Failed to compile build/bundle.f44bbfd4.js from UglifyJs Unexpected token punc «:», expected punc «,» [build/bundle.f44bbfd4.js:372,1165]

Any ideas how to solve this ?

Thanks in advance.

Author:A.Chakroun,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/51272090/using-styleguidist-in-a-react-native-application
yy