Compile Failed. Exiting

Same thing with me. Usually it happens 2-3 times in a row before actually succeeding. This means that every time I go to compile, I’m typically spending about 5-8 minutes… this is killing my productivity!!!

I’m guessing the particle compile farm isn’t designed for larger apps, as it seems that both my app and @incorvia both have lots of files getting uploaded. I can confirm that I am having no errors ever when compiling smaller projects.

I wouldn’t be surprised if the build traffic grows exponentially as this problem begins to become an issue for more and more developers as their projects get bigger. Think hundreds of developers getting compile timeouts in Particle CLI and just sitting there re-initiating the request each time it times out… starts to snowball pretty quickly with that kind of positive feedback loop!

It would appear that the compile is returning the server error message exactly 1 minute after Particle CLI says that its uploading the files. So, this doesn’t jive with the 2 minute timeout that @suda is talking about above.

Unfortunately I can’t use the Particle Dev method of compiling now that Particle Dev has gone the route of “library manager” features, which effectively break compiling of old-style file structures (see my post on this here)

@suda: Can you look into my info like you did for @incorvia please?

Here is what I get with Particle-CLI:

C:\Users\Boompy\Documents\Bitbucket\JazaHub Controller\mainMash>particle compile electron --target 0.6.1

Compiling code for electron
Targeting version: 0.6.1

Including:
    main.cpp
    AFE\DataManager.h
    AFE\jazaAFE.h
    AFE\MAX11610_registers.h
    AFE\MAX11610.h
    AFE\systemData.h
    CAN\bitMasks.h
    CAN\CM_CAN.h
    CAN\jazaCAN_config.h
    CAN\jazaCAN.h
    Charging\jazaHubChannel.h
    Charging\jazaPackManager_config.h
    Charging\jazaPackManager.h
    Charging\transactionDataTypes.h
    Control\JazaControl.h
    Network\CellularCredentials.h
    Network\IMSI.h
    Network\NetworkManager.h
    PCB\jazaPinout.h
    Publishing\JazaCloud.h
    Publishing\JazaPublish.h
    SD\SdFat\ArduinoFiles.h
    SD\SdFat\ArduinoStream.h
    SD\SdFat\bufstream.h
    SD\SdFat\FatApiConstants.h
    SD\SdFat\FatFile.h
    SD\SdFat\FatFileSystem.h
    SD\SdFat\FatLib.h
    SD\SdFat\FatLibConfig.h
    SD\SdFat\FatStructs.h
    SD\SdFat\FatVolume.h
    SD\SdFat\FmtNumber.h
    SD\SdFat\FreeStack.h
    SD\SdFat\fstream.h
    SD\SdFat\ios.h
    SD\SdFat\iostream.h
    SD\SdFat\istream.h
    SD\SdFat\ostream.h
    SD\SdFat\SdFat.h
    SD\SdFat\SdFatConfig.h
    SD\SdFat\SdInfo.h
    SD\SdFat\SdSpi.h
    SD\SdFat\SdSpiCard.h
    SD\SdFat\SoftSPIParticle.h
    SD\SdFat\StdioStream.h
    SD\SdFat\SysCall.h
    SD\SdFat\SystemInclude.h
    Reboot\RebootManager.h
    SD\EscapeChars.h
    SD\JazaSD.h
    UI\jazaBitmaps.h
    UI\SparkFunSX1509.h
    UI\ST7565.h
    UI\sx1509_registers.h
    UI\userInterface.h
    AFE\DataManager.cpp
    AFE\jazaAFE.cpp
    AFE\MAX11610.cpp
    AFE\systemData.cpp
    CAN\CM_CAN.cpp
    CAN\jazaCAN.cpp
    Charging\jazaHubChannel.cpp
    Charging\jazaPackManager.cpp
    Control\JazaControl.cpp
    Network\CellularCredentials.cpp
    Network\IMSI.cpp
    Network\NetworkManager.cpp
    Publishing\JazaCloud.cpp
    Publishing\JazaPublish.cpp
    SD\SdFat\FatFile.cpp
    SD\SdFat\FatFileLFN.cpp
    SD\SdFat\FatFilePrint.cpp
    SD\SdFat\FatFileSFN.cpp
    SD\SdFat\FatVolume.cpp
    SD\SdFat\FmtNumber.cpp
    SD\SdFat\fstream.cpp
    SD\SdFat\istream.cpp
    SD\SdFat\ostream.cpp
    SD\SdFat\SdFat.cpp
    SD\SdFat\SdSpiCard.cpp
    SD\SdFat\SdSpiParticle.cpp
    SD\SdFat\StdioStream.cpp
    Reboot\RebootManager.cpp
    SD\EscapeChars.cpp
    SD\JazaSD.cpp
    UI\SparkFunSX1509.cpp
    UI\ST7565.cpp
    UI\userInterface.cpp
    UI\glcdfont.c
attempting to compile firmware
Compile failed. Exiting.
Server error

_
_
_
Also: not sure if this helps but here are my particle.include and particle.ignore files:

Particle include:

#particle.include
# from current dir
*.h
*.ino 
*.cpp
*.c

# and from any subdirectories
 **/*.h
 **/*.ino
 **/*.cpp
 **/*.c

Particle ignore:

#particle.ignore
# from current dir


# and from any subdirectories