# X_EXERCISE_FILE_UNEDITABLE

## Means

x g could not add an entry to apps/web/exercise.ts

## Typical cause

the app keeps apps/web/exercise.ts in a shape the generator cannot edit safely: no single export const exercise = defineExercise({ … }) with an object literal

## Fix

`edit apps/web/exercise.ts — paste the entry the finding names into export const exercise = defineExercise({ … })`

[CLI and verify](/error-codes#cli-and-verify)
