All Collections
Help & Troubleshooting Guides
Compilation Fails Despite the Compiler Not Showing Any Errors
Compilation Fails Despite the Compiler Not Showing Any Errors

This articles details certain scenarios that might result in the compiler not showing the errors during the compilation process

Henry avatar
Written by Henry
Updated over a week ago

Background

In certain scenarios, the compiler might not show your errors.

In this article, we'll discuss some of the common reasons that might cause this problem. Our team is continuously improving error detection, but in the meantime, you can check for these problems in your project:



Scenario 1: Different Package Versions​

​You might be using some packages with a different version compared to the already existing packages in your project found in Pubspec.yaml file.

In order to resolve this problem, remove the existing pubspec dependencies.

Scenario 2: Differences in Code​

The custom code defined in the project is different compared to the code, which might have different parameter names, null safety, return types, etc.

You'll need to confirm that the code matches the defined custom code. You can also compare your code structure with the boilerplate code.


Scenario 3: Forgetting to Press Save

After modifying the code, the save button was not pressed before compiling, this might result in the same error.

To resolve this, please click the save button before compiling the code.



Issue still not resolved?

If this article does not address your issue, please contact support via Chat or Email at support@flutterflow.io.

Did this answer your question?