Module loading error when using rn-sliding-up-panel

Getting the below error after installing a new library “rn-sliding-up-panel.”

I only use the library in my app, and not in my web project, but short of making them two different projects I’m not sure how I can only use some libraries in my app code.

/Users/Varun/Documents/workspace/clyme/node_modules/rn-sliding-up-panel/SlidingUpPanel.js 35:19Module parse failed: Unexpected token (35:19)You may need an appropriate loader to handle this file type.| | class SlidingUpPanel extends React.PureComponent {>   static propTypes = {|     height: PropTypes.number,|     animatedValue: PropTypes.instanceOf(Animated.Value),

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.