`jsliteral not defined` error
See original GitHub issueHi, i recently updated my project packages and after that I have been experiencing the below mentioned error upon running the web app. May I ask, what could be causing this issue ?
Error:
Error: UndefVarError: jsliteral not defined
β Stacktrace:
β [1] getproperty
β @ .\Base.jl:26 [inlined]
β [2] deps(channel::String; core_theme::Bool)
β @ Stipple ~\.julia\packages\Stipple\Ab4El\src\Stipple.jl:1123
β [3] layout(output::Vector{AbstractString}; partial::Bool, title::String, class::String, style::String, head_content::String, channel::String, core_theme::Bool)
β @ Stipple.Layout ~\.julia\packages\Stipple\Ab4El\src\Layout.jl:47
β [4] page(elemid::String, args::Vector{Genie.Renderer.Html.ParsedHTMLString}; partial::Bool, title::String, class::String, style::String, channel::String, head_content::String, prepend::String, append::Vector{Any}, core_theme::Bool, kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
β @ Stipple.Layout ~\.julia\packages\Stipple\Ab4El\src\Layout.jl:88
β [5] #page#3
β @ ~\.julia\packages\Stipple\Ab4El\src\Layout.jl:98 [inlined]
β [6] ui(model::APP)
β @ Main.App ~\src\Webapp.jl:129
β [7] |>
β @ .\operators.jl:858 [inlined]
β [8] (::Main.App.var"#14#15")()
β @ Main.App ~\src\Webapp.jl:166
β [9] match_routes(req::HTTP.Messages.Request, res::HTTP.Messages.Response, params::Genie.Router.Params{Any})
β @ Genie.Router ~\.julia\packages\Genie\psIXJ\src\Router.jl:470
β [10] route_request(req::HTTP.Messages.Request, res::HTTP.Messages.Response)
β @ Genie.Router ~\.julia\packages\Genie\psIXJ\src\Router.jl:149
β [11] handle_request(req::HTTP.Messages.Request, res::HTTP.Messages.Response)
β @ Genie.AppServer ~\.julia\packages\Genie\psIXJ\src\AppServer.jl:235
β [12] #24
β @ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Distributed\src\macros.jl:127 [inlined]
β [13] run_work_thunk(thunk::Genie.AppServer.var"#24#25"{HTTP.Messages.Request, HTTP.Messages.Response}, print_error::Bool)
β @ Distributed C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Distributed\src\process_messages.jl:63
β [14] remotecall_fetch(::Function, ::Distributed.LocalProcess; kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
β @ Distributed C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Distributed\src\remotecall.jl:379
β [15] remotecall_fetch(::Function, ::Distributed.LocalProcess)
β @ Distributed C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Distributed\src\remotecall.jl:379
β [16] remotecall_fetch(::Function, ::Int64; kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
β @ Distributed C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Distributed\src\remotecall.jl:421
β [17] remotecall_fetch(::Function, ::Int64)
β @ Distributed C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Distributed\src\remotecall.jl:421
β [18] setup_http_listener(req::HTTP.Messages.Request, res::HTTP.Messages.Response)
β @ Genie.AppServer ~\.julia\packages\Genie\psIXJ\src\AppServer.jl:262
β [19] setup_http_listener
β @ ~\.julia\packages\Genie\psIXJ\src\AppServer.jl:261 [inlined]
β [20] handle
β @ ~\.julia\packages\HTTP\aTjcj\src\Handlers.jl:254 [inlined]
β [21] handle(::HTTP.Handlers.RequestHandlerFunction{typeof(Genie.AppServer.setup_http_listener)}, ::HTTP.Streams.Stream{HTTP.Messages.Request, HTTP.ConnectionPool.Transaction{Sockets.TCPSocket}})
β @ HTTP.Handlers ~\.julia\packages\HTTP\aTjcj\src\Handlers.jl:277
β [22] setup_http_streamer(http::HTTP.Streams.Stream{HTTP.Messages.Request, HTTP.ConnectionPool.Transaction{Sockets.TCPSocket}})
β @ Genie.AppServer ~\.julia\packages\Genie\psIXJ\src\AppServer.jl:251
β [23] (::Genie.AppServer.var"#7#14"{Int64})(http::HTTP.Streams.Stream{HTTP.Messages.Request, HTTP.ConnectionPool.Transaction{Sockets.TCPSocket}})
β @ Genie.AppServer ~\.julia\packages\Genie\psIXJ\src\AppServer.jl:117
β [24] macro expansion
β @ ~\.julia\packages\HTTP\aTjcj\src\Servers.jl:415 [inlined]
β [25] (::HTTP.Servers.var"#13#14"{Genie.AppServer.var"#7#14"{Int64}, HTTP.ConnectionPool.Transaction{Sockets.TCPSocket}, HTTP.Servers.Server{Nothing, Sockets.TCPServer}, HTTP.Streams.Stream{HTTP.Messages.Request, HTTP.ConnectionPool.Transaction{Sockets.TCPSocket}}})()
β @ HTTP.Servers .\task.jl:406
Thanks, would highly appreciate the advice and help !
Issue Analytics
- State:
- Created a year ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
JS template literals: not defined - javascript
As I'm writing this function which holds a parameter 'day', I'de like to log the chosen day to the console. I'm getting the...
Read more >SyntaxError: unterminated string literal - JavaScript | MDN
The JavaScript error "unterminated string literal" occurs when there is an unterminated string literal somewhere. String literals must be enclosed by singleΒ ...
Read more >SyntaxError: unterminated string literal - JavaScript
The JavaScript error "unterminated string literal" occurs when there is an unterminated String somewhere. String literals must be enclosed by singleΒ ...
Read more >no-throw-literal - ESLint - Pluggable JavaScript Linter
It is considered good practice to only throw the Error object itself or an object using the Error object as base objects for...
Read more >Node.js course - getting same error when using template ...
I get this error any time i try to run the app and I cant find any resources to help me. when the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I think some of the packages have not been updated. Can you post the output of
pkg> stCan you post your code? Or mwe