Unity can't add one of my scripts because it can't find the script class

I attached a image of the error. I’m trying to add a script called inputManager.cs to my player, and that error keeps coming up.

8187438--1066923--unity.PNG

NVM found an answer

You need to do what the error message suggests.

First, look at your console window and ensure there are no compile errors. If there are any errors you must fix all of them before proceeding.

Next, make sure the class name and filename match. That means if you filename is inputManager.cs your class must be defined as public class inputManager : MonoBehaviour