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

Cannot run yarn redwood prisma migrate dev command #45

Open
isaac-owens opened this issue Jun 11, 2021 · 1 comment
Open

Cannot run yarn redwood prisma migrate dev command #45

isaac-owens opened this issue Jun 11, 2021 · 1 comment

Comments

@isaac-owens
Copy link

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.

@thedavidprice
Copy link
Contributor

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:

  1. Clone the repo locally using git (either from fork or from this repo): git clone [email protected]:redwoodjs/example-todo.git
  2. cd /Users/iowens/Repos/Redwood/example_todo (your directory cloned into)
  3. yarn
  4. yarn redwood prisma migrate dev
  5. 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:

And the Redwood Tutorial is also a fantastic way to get started!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants