question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Stipple v0.12.0 not precompiling

See original GitHub issue

Hello, afair Stipple-Demo-GermanCredits was working a month ago when I quickly tested it.

Using the simple code

using Revise

using Genie.Router, Genie.Renderer.Html
using Stipple

Base.@kwdef mutable struct Name <: ReactiveModel
  name::R{string} = ""
end

model = Stipple.init(Name)

function ui()
  layout(
    page(root(model), class="container", [
        hi([
          "Hello "
          span("", @text(:name))
        ])
    ])
  , title="Basic Stipple") |> html
end

# routes
route("/", ui)

# start server
up()

I follow the instructions ] activate . ] instantiate

I have to explicitly ] add Stipple

Now, just on the line using Stipple I get the error:

(Stipple-Demo-GermanCredits-master) pkg> precompile
Precompiling project...
  ✗ Stipple
  ✗ StippleUI
  ✗ StippleCharts
  0 dependencies successfully precompiled in 11 seconds (58 already precompiled)

ERROR: The following 3 direct dependencies failed to precompile:

Stipple [4acbeb90-81a0-11ea-1966-bdaff8155998]

Failed to precompile Stipple [4acbeb90-81a0-11ea-1966-bdaff8155998] to C:\Users\Giovanni Pietrobon\.julia\compiled\v1.6\Stipple\jl_6173.tmp.
ERROR: LoadError: UndefVarError: attrparser not defined
Stacktrace:
 [1] getproperty(x::Module, f::Symbol)
   @ Base .\Base.jl:26
 [2] top-level scope
   @ C:\Users\Giovanni Pietrobon\.julia\packages\Stipple\kWz7t\src\Stipple.jl:38
 [3] include
   @ .\Base.jl:386 [inlined]
 [4] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::Nothing)
   @ Base .\loading.jl:1235
 [5] top-level scope
   @ none:1
 [6] eval
   @ .\boot.jl:360 [inlined]
 [7] eval(x::Expr)
   @ Base.MainInclude .\client.jl:446
 [8] top-level scope
   @ none:1
in expression starting at C:\Users\Giovanni Pietrobon\.julia\packages\Stipple\kWz7t\src\Stipple.jl:1

StippleCharts [30ddb3f0-912f-4f34-9804-e4bb31290777]

....

status is

(Stipple-Demo-GermanCredits-master) pkg> st
      Status `D:\Julia\Web\Stipple-Demo-GermanCredits-master\Project.toml`
  [336ed68f] CSV v0.9.4
  [a93c6f00] DataFrames v1.2.2
  [c43c736e] Genie v1.18.1
  [c6228e60] GenieAutoReload v0.2.0
  [e6f89c97] LoggingExtras v0.4.7
  [295af30f] Revise v3.1.19
  [4acbeb90] Stipple v0.12.0
  [30ddb3f0] StippleCharts v0.8.0
  [a3c5d34a] StippleUI v0.6.0

How should I go about in order to fix it?

The biggest issue is that I was thinking to (urgently) use it for a website, but now I wonder, is stipple.js (and related packages) ready for production? using it would save me a month of work minimum and with many other advantages.

Thank you, M

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
essenciarycommented, Dec 4, 2021

@marcello-pietrobon can we close this?

To be notified of updates - for now starring/following the repos is the only way. But we’ll start announcing these on social media and we’ll set up a newsletter, so I’ll recommend following/signing up soon.

0reactions
marcello-pietroboncommented, Dec 10, 2021

Please wait two weeks more, I should go back to this soon, and check it again. Thank you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues · GenieFramework/Stipple.jl - GitHub
Issues · GenieFramework/Stipple.jl. ... Stipple.init: vue_app_name does not affect HTML root element name ... Stipple v0.12.0 not precompiling.
Read more >
essenciary/Genie.jl - Gitter
I'm using the Dockerfile template from Genie v4.18. The build process fails while executing the line "RUN julia -e "using Pkg; Pkg.activate(\".\"); Pkg....
Read more >
Rails not precompiling images in the app/assets/images folder?
I have some images (svg) in my app/assets/images folder. According to the Rails Guides, all the files in the assets folder should be...
Read more >
Updated StatsPlots and got error messages. How to fix?
I just updated some package and got the following error messages. What can I do about it?
Read more >
Precompiling websites - Xperience 13 Documentation - Kentico
When deploying websites, you have the option of precompiling the web project ... Faster initial response times – the system does not need...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found