#2889 Newbs - Docs: HelloWorld - fan build.fan

Gary Sat 8 Apr 2023

I'm new to Fantom and going through HelloWorld tutorial.

I ran into a bit of a snag at this point:

C:\projects> cd hello
C:\projects\hello> fan build.fan

which shows the build command being effectuated in the home folder. I get the following error:

ERROR: sys::UnknownPodErr: build.fan

If I dive into the src folder where the build.fan is located:

C:\projects\hello> cd src 
C:\projects\hello\src fan build.fan

.. then it BUILDS successfully.

Perhaps the tutorial should be updated to reflect that one has to be in the src folder where the build.fan file is located to run fan build.fan? Or am I missing something? I know experienced programmers can figure this out quickly, but I'm just looking out for the newbs. :->

Thank you,

Gary

brian Fri 19 May 2023

Thanks for reporting, we pushed a fix (will be deployed next time we do a release)

Login or Signup to reply.