All threads / URGENT! How do I solve the following error?

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

Are any of these helpful to you?
Join the discussion

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

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

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

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2020 GoRails, LLC. All rights reserved.