Closed alexandrsashin closed 1 year ago
Hey,
Problem is that tailwind didn't finish its initial run before remix ran, so the styles/ folder wasn't there. Running the npm run dev
command again should fix the issue. The problem will disappear once https://github.com/remix-run/indie-stack/pull/195 gets merged.
This is indeed needed for Prisma to work. The init phase should have copied the .env.example
file into .env
The README does say:
This step only applies if you've opted out of having the CLI install dependencies for you:
npx remix init
Did you opt out of having the CLI install deps for you?
I used Remix course (https://egghead.io/courses/up-and-running-with-remix-b82b6bb6) for template installation. The link to this course I found here: https://remix.run/docs/en/1.14.3/tutorials/blog#md-quickstart
To be honest, I didn't use CLI commands (https://remix.run/docs/en/1.14.3/tutorials/blog#md-quickstart) before errors fixing.
I checked, npx remix init
really solves such problems. Thanks!
Maybe it will be a good idea to update course in egghead.io or add comment to this course link in Quickstart.
/cc @kentcdodds so that he can see your suggestions
Have you experienced this bug with the latest version of the template?
yes
Steps to Reproduce
app/root.tsx:12
: import doesn't work because./styles
folder is absent..env
file is absent. It needs to copy.env.example
and rename it to.env
. It will be good to write about it in README.md.Expected Behavior
Working project after:
npx create-remix --template remix-run/indie-stack onewheel-blog
cd onewheel-blog && npm install
.env.example
and rename to.env
npm run dev
Actual Behavior
There are two errors described in Steps to Reproduce