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

"lib/index.js" not found #1

Closed
sungwoncho opened this issue May 27, 2016 · 1 comment
Closed

"lib/index.js" not found #1

sungwoncho opened this issue May 27, 2016 · 1 comment

Comments

@sungwoncho
Copy link
Contributor

Using the latest version v1.1.6, when I require the component, I get that

"lib/index.js" in /Users/mikecho/dev/my_project/node_modules/react-countup/package.json (web.browser)

I am requiring the component like this:

import CountUp from 'react-countup';

When I look inside /Users/mikecho/dev/my_project/node_modules/react-countup/, I don't see /lib. But that directory should have been built by babel. What would be the cause of this?

@glennreyes
Copy link
Owner

Thanks for filing that issue! I forgot to add the files field in package.json to specify which files to include to the project in the npm registry. Sorry for that!

This commit fixes it, simply uninstall and install v1.1.7

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