Giter Club home page Giter Club logo

Comments (7)

essenciary avatar essenciary commented on June 19, 2024 1

Yes, that's right GenieBuilder uses Genie but the generators and the apps are different.

OK - so then try the other thing: please remove the ~/.julia/geniebuilder folder, restart VSCode and try starting the GenieBuilder server again. It will attempt to reinstall all the dependencies.

from geniebuilder.jl.

essenciary avatar essenciary commented on June 19, 2024

@hbonnavaud do you have julia in PATH?

from geniebuilder.jl.

hbonnavaud avatar hbonnavaud commented on June 19, 2024

julia is in /snap/bin/, and /snap/bin/ is in PATHso I guess yes.

This is not a problem with julia I guess because Pkg.add("Genie") work but not Pkg.add("GenieBuider").
According to this index https://github.com/JuliaRegistries/General/tree/master/G, there is no package "GenieBuilder" so julia is right and the question is, why the "start server" button try to use the package "GenieBuilder" if it do not exists?

Btw, I was able to create a genie app using:

:~/$ julia
julia> using Pkg
julia> Pkg.add("Genie")
julia> Genie.Generator.newapp("MyApp")    // Edited

And to start the server using

:~/MyApp/$ bin/repl
julia> up()

And everything work well. But I when I use the interface of the VSCode plugin and try to start the server using the "start server" button, I get the error above, and I am then not able to load the editor.

I also tried to uninstall GeniBuilder plugin and install Genie Builder Insider, but it gave me the same problem.

from geniebuilder.jl.

essenciary avatar essenciary commented on June 19, 2024

@hbonnavaud You're not supposed to install GenieBuilder.jl manually - indeed, the package is not registered and is instead managed by the VSCode plugin. The flow is: install the VSCode plugin from marketplace, start server -- and the plugin will install/update needed dependencies. If you did this and Julia is in PATH and starting the server still doesn't work, please remove the ~/.julia/geniebuilder folder, restart VSCode and try starting the GenieBuilder server again.

Regarding what you say, not sure what you've actually done, but Genie.Builder does not exist so Genie.Builder.newapp("MyApp") can not work. Maybe you mean Genie.Generators.newapp which is a different thing. Also Genie and GenieBuilder are two different packages.

from geniebuilder.jl.

hbonnavaud avatar hbonnavaud commented on June 19, 2024

The flow is: install the VSCode plugin from marketplace, start server

Yes, this is exactly what I did. THEN, because it didn't worked, it tried to modify some stuff to make it work without success. Then, I uninstalled the plugin, and reinstalled it. But I didn't installed it manually.

The error

ERROR: ArgumentError: Package GenieBuilder not found in current path.
- Run `import Pkg; Pkg.add("GenieBuilder")` to install the GenieBuilder package.

Whas the error I meet right after installing the VS code plugin and clicking "start server" without any modification of my own.

Yes Genie.Generators.newapp is what I did (I edited the previous message) I did that to check if Genie was installed well, because I guess that GenieBuilder use it right ?

from geniebuilder.jl.

hbonnavaud avatar hbonnavaud commented on June 19, 2024

Ok, for some reason, removing ~/.julia/geniebuilder and restart both VSCode and server made the trick. I don't know why It didn't worked last time I removed It, and right after installation though... Thank you for your help !

from geniebuilder.jl.

essenciary avatar essenciary commented on June 19, 2024

You're welcome!

from geniebuilder.jl.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.