prettycron
prettycron copied to clipboard
create-react-app & webpack error with later.js
When using create-react-app I get the following error at compile time:
Module not found: Can't resolve './later-cov' in 'C:\node_modules\later'
This can be temporarily resolved by changing line 26 from this:
var later = require('later');
to this:
var later = require('later/later.js');
This doesn't actually work with the latest version of webpack, I had to fork prettycron
and later
similar to @RickCarlino here https://github.com/bunkat/later/issues/155#issuecomment-280387784
There's now a maintained fork of the later library, which the original version even refers you to on npm. See the deprecation message here: https://www.npmjs.com/package/later
Maybe someone could fork this to use the forked later library?