Got a build error and could not find any description for the error when deploying a live project which is backtested well. I also tried it with creating a new Algorithm(python), the template project without any changes, follow the same steps to deploy live, and got the build error too.
Steps to reproduce:
1)go to my quantconnect account
2) create a new algorithm (python)
# region imports
from AlgorithmImports import *
# endregion
class PensiveGreenChinchilla(QCAlgorithm):
def Initialize(self):
self.SetStartDate(2022, 4, 1) # Set Start Date
self.SetCash(100000) # Set Strategy Cash
self.AddEquity("SPY", Resolution.Minute)
self.AddEquity("BND", Resolution.Minute)
self.AddEquity("AAPL", Resolution.Minute)
def OnData(self, data: Slice):
if not self.Portfolio.Invested:
self.SetHoldings("SPY", 0.33)
self.SetHoldings("BND", 0.33)
self.SetHoldings("AAPL", 0.33)
3) from the left pannel in the browser, choose “live projects”→"launch Algorithm" select the new algorithm(project) created, then you will see the build error indicator,

4) clicking on the build error and did not show any description or hint, Checking the code and did not see any red lines in the codes
Is this a bug? Any suggestions and recommendations are welcome and appreciated.