Skip to main content
Ask A Question
You’re not receiving notifications from this thread.

URGENT! How do I solve the following error?

Rails • Asked by Ananya Singh
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?

Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 30,005+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.