Skip to content

Javascript don't working after solidus_stripe installation #126

Description

@joyboy67

Solidus Version:
Solidus 3.2.2
solidus_stripe (4.3.0)

To Reproduce

rails new store -d=mysql --skip-javascript
bundle add solidus
rails g solidus:install (solidus_starter_frontend)
bundle add solidus_stripe
rails g solidus_stripe:install

Current behavior

Javascript console:

Uncaught ReferenceError: $ is not defined
    <anonymous> http://localhost:3000/assets/spree/frontend/solidus_starter_frontend-b03c93961bdbee4504f4d86e8e9f075d5c500a1f96043f2187a767f5606603a9.js:1129
    <anonymous> http://localhost:3000/assets/spree/frontend/solidus_starter_frontend-b03c93961bdbee4504f4d86e8e9f075d5c500a1f96043f2187a767f5606603a9.js:1282

Uncaught ReferenceError: Solidus is not defined
    <anonymous> http://localhost:3000/:54

Expected behavior
Javascript working

Screenshots

Desktop (please complete the following information):

  • Rails Version: 7.0.4
  • Ruby Version: 3.1.2
  • Browser: Firefox 100

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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