meinstein / react-file-picker

Sensible file input wrappers. Demo included.
19 stars 15 forks source link

Invalid "main" value in package.json #6

Closed GitaMonster closed 5 years ago

GitaMonster commented 5 years ago

I believe I'm having the same problem as described in this closed issue: https://github.com/meinstein/react-file-picker/issues/3

Tests aren't passing due to an error "Cannot find module 'react-file-picker' from XXX.js"

It seems to be because in package.json, the value of "main" is "index.js", when it should probably be "lib/index.js".

Thank you for any help on this.