patw0929 / react-smartbanner

Rewrite Smart App Banner in React.js.
https://patw0929.github.io/react-smartbanner/
MIT License
74 stars 56 forks source link

Error: cannot find module 'react-smartbanner'. #2

Closed sergesemashko closed 8 years ago

sergesemashko commented 8 years ago

It seems like NPM 2.0.0 package does not have dist folder - http://take.ms/6lEl2, and referenced file from main property of package.json is not found.

omahlama commented 8 years ago

The dist folder should be created in the prepublish hook, I'm guessing that something went wrong when this package was released to npm.

patw0929 commented 8 years ago

Thanks for reporting this issue. I have fixed it in #3, and publish it as v2.0.1. I forget to put the .npmignore file. Could you please help to verify it? Thank you!

sergesemashko commented 8 years ago

Thanks, that worked 👍