greppo-io / greppo

Build & deploy geospatial applications quick and easy.
https://greppo.io
Apache License 2.0
386 stars 34 forks source link

Error: 'GreppoApp' object has no attribute 'base_layer' #26

Closed sotosoul closed 2 years ago

sotosoul commented 2 years ago

That's a great project and I'm very happy to try it out! Unfortunately, after installing the necessary dependencies and create a sample app.py with app.base_layer( ... ) as shown in the demo section of the documentation, I keep getting errors like: AttributeError: 'GreppoApp' object has no attribute 'base_layer'.

Is there something I'm missing?

krish-adi commented 2 years ago

Hey @sotosoul,

Are you running the app.py in the terminal as the following?

greppo serve app.py