Ask A Question

Notifications

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
Reply
There are some fixes for this issue here: https://github.com/shakacode/react_on_rails/issues/956

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

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

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

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