Closed strawstack closed 7 years ago
Solved. I had to use the following line to import. However, this is unintuitive and should be changed or documented
import Popover from 'react-popover/lib/platform'
but this actually doesn't work. I think the underlying issue is https://github.com/littlebits/react-popover/issues/118
@strawstack Yup its #118. Sorry about this! Should be fixed now.
Installing the module with: "npm install --save react-popover" Importing with this: "import Popover from 'react-popover'" Results in the error below when "npm start" is run
Error: Module not found: 'react-popover'
The react-popover module is present in the "node_modules" folder