tlienart / PkgPage.jl

Create a beautiful landing page for your package in less than 10 minutes.
https://tlienart.github.io/PkgPage.jl/
MIT License
113 stars 6 forks source link

DataFrames required but not installed when running serve for first time #33

Open KristofferC opened 3 years ago

KristofferC commented 3 years ago

After doing serve() I got

┌ Franklin Warning: in <index.md>
│ There was an error of type 'ArgumentError' when running a code block.
│ Checking the output files '/Users/kristoffercarlsson/Documents/JuliaPkgs/LazilyInitializedFields/page/__site/assets/index/code/output/ex.(out|res)'
│ might be helpful to understand and solve the issue.

and looking in the file ex.out I see

ArgumentError: Package DataFrames [a93c6f00-e57d-5684-b7b6-d8193f3e46c0] is required but does not seem to be installed:
 - Run `Pkg.instantiate()` to install all recorded dependencies.
KristofferC commented 3 years ago

I think maybe a Pkg.instatiate is needed after activating the new project in page.

tlienart commented 3 years ago

I agree there should be some automation here (there is some but I need to revisit this). The docs does kind of say you're supposed to do it yourself to ensure things work fine but I agree it's not ideal; thanks for the heads up

Screenshot 2020-10-05 at 11 24 20

(PS: this is tied to Franklin so I need to figure out how to fix it there in a more general way)

KristofferC commented 3 years ago

Oh, I guess I missed it in the docs because I got the error when I executed serve which is shown before the section about showing code.

tlienart commented 3 years ago

Ah dayum it activates it but it does not instantiate it, that's really dumb...