Error when debugging

Hello,
I have the following errors in Visual Studio on the output log:
code OtherCompilationError(5)

MSB3073 The command ““C:\Program Files (x86)\Epic Games\4.11\Engine\Build\BatchFiles\Build.bat” TutorialCodeEditor Win64 DebugGame “C:\Users\Documents\Unreal Projects\TutorialCode\TutorialCode.uproject” -waitmutex” exited with code -1.

Could you help please how to solve this?
I uploaded the files with the code

Is OnPickedUp_Implementation() defined in PickUp.h ?
If so make it virtual:

virtual void OnPickedUp_Implementation() override;

Also, please paste the error (look into the output, not the error tab)

The error is pretty clear man, “BlueprintReadWrite should not be used on private members” line 17 BatteryPickup.h. -_-
Make your property protected.

here is the output log:
1>------ Build started: Project: TutorialCode, Configuration: DebugGame_Editor x64 ------
1> Creating makefile for TutorialCodeEditor (no existing makefile)
1> Parsing headers for TutorialCodeEditor
1> Running UnrealHeaderTool “C:\Users\Documents\Unreal Projects\TutorialCode\TutorialCode.uproject” “C:\Users\Documents\Unreal Projects\TutorialCode\Intermediate\Build\Win64\TutorialCodeEditor\DebugGame\UnrealHeaderTool.manifest” -LogCmds=“loginit warning, logexit warning, logdatabase error” -Unattended -WarningsAsErrors -installed
1> C:/Users//Documents/Unreal Projects/TutorialCode/Source/TutorialCode/BatteryPickup.h(17) : BlueprintReadWrite should not be used on private members
1>Error : Failed to generate code for TutorialCodeEditor - error code: OtherCompilationError (5)
1> UnrealHeaderTool failed for target ‘TutorialCodeEditor’ (platform: Win64, module info: C:\Users\Documents\Unreal Projects\TutorialCode\Intermediate\Build\Win64\TutorialCodeEditor\DebugGame\UnrealHeaderTool.manifest).
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets(37,5): error MSB3073: The command ““C:\Program Files (x86)\Epic Games\4.11\Engine\Build\BatchFiles\Build.bat” TutorialCodeEditor Win64 DebugGame “C:\Users\Documents\Unreal Projects\TutorialCode\TutorialCode.uproject” -waitmutex” exited with code -1.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Also i tried the example you gave me but still the same error

every thing under GENERATED_BODY() are private by default.

UCLASS()
class TUTORIALCODE_API ABatteryPickup : public APickup
{
	GENERATED_BODY()

		/* Set the amount of power the battery gives to the player */
		UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = Power)
		float PowerLevel; // **------------------------<<private>>-----------------**
	
	/*Override the OnPickedUp function (use implementation because this is a BlueprintNativeEvent)*/
	void OnPickedUp_Implementation();//**----------------<<private>>----------------**
	
};

and BlueprintReadWrite can not be in private section.

you must modify your code and write every declarations that have BlueprintReadWrite macro under public: or protected:

as below:

 UCLASS()
    class TUTORIALCODE_API ABatteryPickup : public APickup
    {
    	GENERATED_BODY()

            public:

                  
    		/* Set the amount of power the battery gives to the player */
    		UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = Power)
    		float PowerLevel;                    //public
    	
    	/*Override the OnPickedUp function (use implementation because this is a BlueprintNativeEvent)*/
    	void OnPickedUp_Implementation();       //public
    	
    };

in battery collector tutorial Ms Lauren Ridge mentioned to reasons of using private, protected and public keywords if you pay more attention you will find out.