Skip to content
This repository was archived by the owner on Jul 31, 2025. It is now read-only.
This repository was archived by the owner on Jul 31, 2025. It is now read-only.

Rails 6, turbolinks 5 Cannot find module 'cookies_eu' #85

@martinbarilik

Description

@martinbarilik

Gem doesn't work with latest version of RoR

rails g cookies_eu:install

helper doesn't work as well, it expects application.js to be in /app/assets/javascripts/application.js

and generates error

/app/assets/javascripts/application.js does not appear to exist

After that, when loading page, banner can't be dismissed because of

application.js:1 Uncaught Error: Cannot find module 'cookies_eu'
    at webpackMissingModule (application.js:1)
    at Module.<anonymous> (application.js:1)
    at Module../app/javascript/packs/application.js (application.js:41)
    at __webpack_require__ (bootstrap:19)
    at bootstrap:83
    at bootstrap:83

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions