Closed dlchung closed 7 years ago
When I try to deploy to heroku I am getting this error:
Module not found: Error: Can't resolve 'react-tap-event-plugin' in '/tmp/build_5fcfd3c359f7a770ba414883585e63bb/src/components'
I have it imported and initialized correctly in my index.js. I have no issues when running "npm run build".
import injectTapEventPlugin from 'react-tap-event-plugin'; // Needed for onTouchTap // http://stackoverflow.com/a/34015469/988941 injectTapEventPlugin();
versions: node 6.11.1 npm 5.3.0 react 15.6.1 react-tap-event-plugin 2.0.1
Any idea what the problem is?
I was able to fix this issue by committing to my repo again.
When I try to deploy to heroku I am getting this error:
Module not found: Error: Can't resolve 'react-tap-event-plugin' in '/tmp/build_5fcfd3c359f7a770ba414883585e63bb/src/components'
I have it imported and initialized correctly in my index.js. I have no issues when running "npm run build".
versions: node 6.11.1 npm 5.3.0 react 15.6.1 react-tap-event-plugin 2.0.1
Any idea what the problem is?