Javis: Error in the first tutorial ERROR: UndefVarError: `Object` not defined in `Main`

I am following the steps in the (very well written) Javis first tutorial: Tutorial 1: Making Your First Javis Animation! · Javis.jl

There are errors right off the bat when I try simple things like:

julia> Background(1:70, ground)
ERROR: UndefVarError: Background not defined in Main
Suggestion: check for spelling errors or missing imports.
Stacktrace:
** [1] top-level scope**
** @ REPL[25]:1**

OR

julia> red_ball = Object(1:70, (args…) → object(O, “red”), Point(100, 0))
ERROR: UndefVarError: Object not defined in Main
Suggestion: check for spelling errors or missing imports.
Stacktrace:
** [1] top-level scope**
** @ REPL[26]:1**

I created a new environment with only the required package:
(SVG) pkg> status
Status C:\CODE\Julia\SVG\Project.toml
[27a7e980] Animations v0.4.2
[159f3aea] Cairo v1.1.1
[4f61f5a4] FFTViews v0.3.2
[7a1cc6ca] FFTW v1.9.0
⌃ [78b212ba] Javis v0.1.5
⌅ [ae8d54c2] Luxor v2.7.0
[8c8f4381] TravelingSalesmanHeuristics v0.3.4

Note: I also removed all packages except Javis, I get the same result.
Any suggestions?

your versions look very old:

⌃ [78b212ba] Javis v0.1.5
⌅ [ae8d54c2] Luxor v2.7.0

Javis is at 0.9.0, Luxor is at 4.3.0. :scream:

and I think Javis needs a bit of maintenance…

That error indicates that those types (Background and Object) are not loaded in your REPL session. Make sure you load the package with using Javis first. Those types may also have been introduced in a later version of Javis, so it is a good idea to try updating the packages first with ]up.

I installed Javis yesterday for the first time ever but I assume there was some other package that forced Javis to a previous version (I ran into some precompiling issues, see my previous post here)

I ran “]up” and it now works!

Thanks!