Skip to content

Error: Cannot find module #757

Closed
Closed
@mkrajewski90

Description

@mkrajewski90

Help us help you! Please choose one:

  • My app crashes with react-rails, so I've included the stack trace and the exact steps which make it crash.
  • My app doesn't crash, but I'm getting unexpected behavior. So, I've described the unexpected behavior and suggested a new behavior.
  • I'm trying to use react-rails with another library, but I'm having trouble. I've described my JavaScript management setup (eg, Sprockets, Webpack...), how I'm trying to use this other library, and why it's not working.
  • I have another issue to discuss.

Hey,

I try to install React-rails with Webpacker. After run commands, creating app/javascript/components/ProjectRoles.jsx file and invoke it:
<%= react_component("ProjectRoles", { project_id: @project.id }) %>

I receive error:
screen shot 2017-07-29 at 13 21 48

I spent some hours trying to figure out the error, but nothing found.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions