Ask A Question


You’re not receiving notifications from this thread.

URGENT! How do I solve the following error?

Ananya Singh asked in Rails
I am trying to run a test using rspec and I am getting the following error. Please help.

ReactOnRails: Set generated_assets_dir to default: public/webpack/development
rake aborted!
NameError: undefined local variable or method `webpack' for main:Object
There are some fixes for this issue here:

Are any of these helpful to you?
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 83,453+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.