using Pkg Pkg.generate("MyApp")
It works for me adding the above lines. Once run, it will generate a Project file in the folder. The compiler is looking for the specified folder with this Project tile in order to compile.