Closed Vandivier closed 1 year ago
recipe is importing from next so i don't think it's build against the legacy blitz framework, it's beta-compatible.
import Document, {
NextScript,
DocumentContext,
Head,
DocumentInitialProps,
Html,
Main,
} from "next/document"
^ snippet from recipe
so, this recipe code should be updated IMO:
.setRepoLink("https://github.com/blitz-js/legacy-framework")
should point to new repo
Hey @Vandivier we should definitely update this. I believe part of the issue is that the new default for blitz apps is to use the src
directory. Thankfully there is a PR open to help determine if you're using src
or app
directory. Once we get that merged, we can use the helper and update all the recipes https://github.com/blitz-js/blitz/pull/3997
What's the recommended path for installing material-ui
at this point? I tried the recipe but things did not work out of the box.
Hey @jelling could you specify the error you are facing with the recipe, is it the same as mentioned in this issue? so that it can be fixed ASAP.
idk if the issue is still technically ongoing as of current versions (i think yes it's still out of date)
but, pretty easy to add material without the recipe. ChatGPT can walk devs through it 💪
What is the problem?
when I
blitz install material-ui
the CLI hangs on the final step when it saysGenerating file diff...
and the process never* exits.*i think i actually waited 20 min
Paste all your error logs here:
n/a
Paste all relevant code snippets here:
n/a
What are detailed steps to reproduce this?
video here https://www.youtube.com/watch?v=BsVyDgDImlc
multiple ways to generate, but one scenario would be:
Run
blitz -v
and paste the output here:note: I installed blitz via
yarn global add blitz
so the npm manager is a touch misleading...although yarn itself is installed via npm so it says that...Please include below any other applicable logs and screenshots that show your problem:
possibly important note that i'm using git bash on windows 10 inside of vs code
image where it's hanging: