Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create-react-app & webpack error with later.js #36

Open
hughmp opened this issue Aug 10, 2017 · 1 comment
Open

create-react-app & webpack error with later.js #36

hughmp opened this issue Aug 10, 2017 · 1 comment

Comments

@hughmp
Copy link

hughmp commented Aug 10, 2017

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 bunkat/later#155 (comment)

@hughmp hughmp changed the title create-react-app & Webpack error with later.js create-react-app & webpack error with later.js Aug 10, 2017
@neodescis
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants