flow-coverage-report
flow-coverage-report copied to clipboard
Error: Cannot find module 'react/lib/ReactDOMServer' | (devDependency installation)
When I install this module locally to the project as a devDependency, running flow-coverage-report with my custom flags yields:
Error: Cannot find module 'react/lib/ReactDOMServer'
However, if I install this module globally and run the same command, it works. Ideas? My app uses...
"react": "^15.4.2",
@joncursi It looks like there was a problem with react v15.4.1, https://github.com/facebook/react/issues/8588, but it was resolved with 15.4.2.
Try updating flow-coverage-report to the master branch. It has had it's dependencies updated!
@ryan953 When you install from github:rpl/flow-coverage-report#master
, there is another issue, because the npm run build
is called only in prepublish
, sot the dist
directory doesn't exist, I think that it should be called in postinstall
i will open PR and we will see