example-todo
example-todo copied to clipboard
Cannot run `yarn redwood prisma migrate dev` command
After yarn
command receiving error:
error Couldn't find a package.json file in "/Users/iowens/Repos/Redwood/example_todo" info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
I have tried copying in the package.json file from the remote repo into my local and still am receiving this error.
Hi @isaac-owens I just upgrade the main
branch to v0.33.3 including a lot of code modifications. Not sure if that is directly related to your issue or not, but I suggest you pull in changes from the repo main
if possible.
I'm not sure why you'd be encountering that error. I'm assuming you did the following:
- Clone the repo locally using
git
(either from fork or from this repo):git clone [email protected]:redwoodjs/example-todo.git
-
cd /Users/iowens/Repos/Redwood/example_todo
(your directory cloned into) -
yarn
-
yarn redwood prisma migrate dev
-
yarn redwood dev
These steps will 1) install node_modules packages 2) apply the data model to a local SQLite that it will also create and 3) run the dev server and open in a browser
I just ran through these steps and everything completed successfully. Is there anything you might have done differently during the setup?
Lastly, for quicker help, you might want to try our online communities:
- https://community.redwoodjs.com
- https://discord.gg/jjSYEQd
And the Redwood Tutorial is also a fantastic way to get started!
- https://learn.redwoodjs.com/docs/tutorial/welcome-to-redwood/