You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
package.json is copied from reflex.lock/ to .web/ without processing #6765
Describe the bug
If the user removes the scripts or other sections that reflex puts into package.json during reflex init, a subsequent hot reload can result in the dev server not being able to start.
To Reproduce
reflex run
truncate -s 0 reflex.lock/package.json then touch a python file -> trigger hot reload
get the lockfile out of sync warning
exit reflex, delete reflex.lock
reflex run -> dev server cannot start since package.json is missing the scripts section
Expected behavior
Reflex shouldn't blindly copy package.json without ensuring the necessary dev scripts are in place.
Activity
linear-code commentedon Jul 15, 2026
ENG-10331