Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
KristofferC opened this issue Oct 4, 2020 · 4 comments
Labels
documentation Improvements or additions to documentation project

Comments

@KristofferC
Copy link

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
Copy link
Author

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

@tlienart
Copy link
Owner

tlienart commented Oct 5, 2020

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
Copy link
Author

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
Copy link
Owner

tlienart commented Oct 5, 2020

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

@tlienart tlienart added documentation Improvements or additions to documentation project labels Oct 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation project
Projects
None yet
Development

No branches or pull requests

2 participants