Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

FileNotFoundError: Source file does not exist .../site-packages/reactpy_router/static/bundle.jss #256

Discussion options

I'm not able to get started with ReactPy-Django because ReactPy-Router appears to expect an internal file at static/bundle.js which does not seem to exist. Manually creating an empty bundle.js file in the expected location makes the error go away, but I don't imagine that's what I'm supposed to do.

Given the absence of discussions and issues describing similar problems (I also checked the ReactPy and ReactPy-Router repositories and found nothing), I am inclined to believe there is something I am doing wrong, but cannot for the life of me figure out what it is.

Steps to Reproduce

  1. Create a new Django project.
  2. Follow ReactPy-Django's setup documentation. The FileNotFoundError will occur when you try to execute python manage.py migrate as instructed in step 5. (Strictly speaking, it seems to occur when running manage.py at all, even without a command).

Environment Details

Python version: 3.12.1
Operating system: macOS Sequoia 15.0.1
ReactPy version: 1.0.2
ReactPy-Router version: 1.0.1
ReactPy-Django version: 5.0.0

You must be logged in to vote

ReactPy Router version 1.0.2 has been released that includes the missing bundle.js file.

Replies: 1 comment 1 reply

Comment options

This might be the result of the reactpy-router 1.0.1 release from last night.

As a temporary fix, you can downgrade to reactpy-router 1.0.0. I will work on resolving this issue today.

You must be logged in to vote
1 reply
Comment options

ReactPy Router version 1.0.2 has been released that includes the missing bundle.js file.

Answer selected by Archmonger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /