Cursor knows nothing of my codebase and its frustrating

I am using composer on a current codebase. When I ask it to fix an error on a certain page it will give me suggestions but they are assumptions.

For example I am developing a React Native app and this error is occuring on app load

Getting this error now (NOBRIDGE) ERROR Invariant Violation: TurboModuleRegistry.getEnforcing(…): ‘RNGestureHandlerModule’ could not be found. Verify that a module by this name is registered in the native binary.

So I tell it the page its happening on and if it can fix it. It tells me to run a command in the library and it says

“Assuming you are using React Native CLI, you might need to also run this command”

Like what? Just look at the repository package.json and find out what is already there and what needs to be installed.

Cline already does this out of the box. Why cant Cursor?

Cline also fixes its own errors automatically. Why cant Cursor do the same?

Are you using the normal composer mode or are you in agent mode here?

The normal composer doesn’t know about files unless you @ them, which may be why it doesn’t know about the package.json.

The agent should be able to read files on its own and may do so if you tell it to, but for something as minor as knowing about what packages are installed, it may have decided that a tool call is not worthwhile here. You may be able to add some rules for the AI so that it checks what packages and modules are installed before responding like this!