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

Component doesn't define main assets in bower.json #80

Closed
jkbennington opened this issue Jan 8, 2016 · 4 comments
Closed

Component doesn't define main assets in bower.json #80

jkbennington opened this issue Jan 8, 2016 · 4 comments

Comments

@jkbennington
Copy link

Hi, I use https://rails-assets.org/ to import react-components into rails. Saw this line:

Post-install message from rails-assets-react-list:
This component doesn't define main assets in bower.json.

I've seen others have this issue winmarkltd/BootstrapFormHelpers#218. I'll look into this more but if you have a quick-fix that would be much appreciated.

Best,

@caseywebdev
Copy link
Owner

Well there is a main property in package.json that points to the correct file. It seems like they should be able to derive that information from there right?

@jkbennington
Copy link
Author

Unfortunately they only pull from the bower.json file, serving as a proxy between bundler and bower.

@tfausak
Copy link

tfausak commented Jan 8, 2016

This project doesn't have a bower.json.

@jkbennington
Copy link
Author

Apologies, it was listed on rails-assets(which uses bower) for some reason which in turn gave me that error. I've since just loaded it in using browserify as an npm package. Thanks.

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

3 participants