Open OscarCanek opened 7 years ago
Experiencing the same problem.
./src/App.js Module not found: Can't resolve 'react-music-player' in '/project/src'
The same issue!! Any fix soon?
The error comes because the The author of this Component has imported PropTypes from 'react' which was true for older version of react but prop-types package is now removed from the core react package. You can get it working by copying the component code by going into node_modules and searching for react-music-player directory and copying the content of the component and removing the PropTypes import from react to import PropTypes from 'prop-types'
I always get the message Module not found: 'react-music-player'.
I only ran: npm install react-music-player --save
then: npm start
Finally at my jsx: import ReactMusicPlayer from "react-music-player";