Closed adjwills closed 5 years ago
Hello, that's because main
is referenced in the compiled version of the source code.
It should be fixed after add postinstall
script.
Can you confirm to me if v1.1.4
is working fine for you?
Hey, no worries.
Same issue for v1.1.4
and v1.1.3
it seems. However, v.1.1.2
and below seem to work
v.1.12
is exporting main
lib/index.js
and this file doesn't exit in the zip I downloaded 🤔
Can you try to edit main
file manually? maybe could be a thing related of what code bundler are you using?
Testing this on a create-react-app install using webpack, have tried installing with yarn
and npm
. Still no joy for now.
Following basic usage outlined, i.e. install package
and then importing
ClapButton
Creates error
Looks like the module is missing the src files upon installation? I did it with a fresh CRA react app, and got the same issue.