DF9004: Onboarding State File Unreadable
The onboarding state file could not be read or written.
Message
The onboarding state file {file} could not be read or written.Cause
createOnboarding() reads <stateDir>/hub-ui-onboard.json at start to learn whether the user disabled DevTools, and the Disable button writes it. The file exists but is not valid JSON, or the directory is not writable.
Fix
Delete the file if it is corrupt. If the directory is read-only, pass another stateDir. The default is <cwd>/node_modules/.devframe.
Source
packages/hub-ui-onboard/src/index.ts:readDisabledwarns and treats the state as not disabled;disable()answers the request with status 500 and this code.