Ask A Question

Notifications

You’re not receiving notifications from this thread.

How do I import recurring_select in Rails 6?

Devan Moylan asked in Javascript

I keep getting the following error:

Uncaught Error: Cannot find module 'recurring_select'
at webpackMissingModule (application.js:1)
at Module. (application.js:1)
at Module../app/javascript/packs/application.js (application.js:31)
at webpack_require (bootstrap:19)
at bootstrap:83
at bootstrap:83

In app/javascript/packs/application.js, I've tried:

//= require recurring_select
require("recurring_select")
import 'recurring_select'

Reply

I am having this same issue. Did you manage to solve it Devan?

I would like to know where these files are actually compiled from when you install a gem so I may be able to fix these issues myself in the future :)

Reply
Join the discussion
Create an account Log in

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

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

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