-
-
Notifications
You must be signed in to change notification settings - Fork 628
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
Generator raises error when application.js is not found #78
Comments
@rupurt As a workaround, just create an empty file right now. If you could submit a PR for your enhancement, we'd take it! |
@justin808 that's what I did 😄 I'll see if I have some time to take a stab at it over the weekend. |
@rupurt That would be awesome! Definitely take a look at the |
Generator raises error when |
@robwise 👍 I can look into that today. |
@yorzi Would be awesome if you can submit a PR to fix the missing files! |
@robwise Can we close this one? |
@justin808 negative, I fixed a different issue that was with the application.scss, not js. This issue will still occur. I can come up with a fix if you want.
The latter solution would not actually really fix @rupurt's problem, though, but it would at least let the generator run through completion by default instead of essentially forcing him to figure out that he needs to make his own application.js file, run the generator, and then move the code manually to where he wants it. |
@robwise I vote for 2) with a warning as the user will see the diff and can take appropriate action. |
Fixes #78 Generator used to put a setup error message when it did not find application.js. Now, it will simply just create one with the necessary data in it.
Fixes #78 Generator used to put a setup error message when it did not find application.js. Now, it will simply just create one with the necessary data in it.
Fixes #78 Generator used to put a setup error message when it did not find application.js. Now, it will simply just create one with the necessary data in it.
Fixes #78 Generator used to put a setup error message when it did not find application.js. Now, it will simply just create one with the necessary data in it. Note that we don't generate a turbolinks sprockets requirement if we create the file for the user since this is not really related to implementing React on Rails. Users should add this manually if they want turbolinks.
Fixes #78 Generator used to put a setup error message when it did not find application.js. Now, it will simply just create one with the necessary data in it. Note that we don't generate a turbolinks sprockets requirement if we create the file for the user since this is not really related to implementing React on Rails. Users should add this manually if they want turbolinks.
Fixes #78 Generator used to put a setup error message when it did not find application.js. Now, it will simply just create one with the necessary data in it. Note that we don't generate a turbolinks sprockets requirement if we create the file for the user since this is not really related to implementing React on Rails. Users should add this manually if they want turbolinks.
We currently have our application split up into multiple smaller applications so don't use the main
application.js
file. It would nice if the generator allowed you to specify the name of the manifest file e.g.The text was updated successfully, but these errors were encountered: