Skip to content

server_rendering.js not found following README #1309

@paul-mesnilgrente

Description

@paul-mesnilgrente

Steps to reproduce

I simply followed the https://github.com/reactjs/react-rails#get-started-with-shakapacker to the letter with one commit per step. The result is on this repo: https://github.com/paul-mesnilgrente/react-rails-shakapacker-bug

Expected behavior

The server side rendering is working

Actual behavior

Server-side rendering should not throw this error:

ActionView::Template::Error (No such file or directory @ rb_sysopen - /home/paul/Dev/blog-v2/public/packs/server_rendering.js)

System configuration

  • Shakapacker or Sprockets version: Shapacker 7.0.3
  • React-Rails version: 3.1.1
  • React_UJS version: 3.1.1
  • Rails version: 7.0.8
  • Ruby version: 3.0.3

The server-side rendering does not work, if I turn it off, everything's fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions