These instructions are outdated as of Redwood v0.24. See the “Solution” below for updated instructions.
If you’ve tried yarn create redwood-app my-dir-name
and only run into errors despite updating versions and checking prerequisites, there is one more option. You can manually bootstrap your own app. We don’t recommend this path, but we know sometimes you gotta do what you gotta do.
1. Get the latest release of create-redwood-app
Go to redwoodjs/create-redwood-app. Then download and unpack the latest release. You’ll probably want to rename the folder.
You can also clone via git from the master branch (note: the master branch often contains commits not yet in a stable release.)
$ git clone git@github.com:redwoodjs/create-redwood-app.git your-dir-name
2. Set .gitignore
and README.md
files to app versions
Remove the file .gitignore
and change the name of .gitignore.app
to .gitignore
.
To do this by command line, use:
$ rm .gitignore && mv .gitignore.app .gitignore
Remove the file README.md
and change the name of README_APP.md
to README.md
. To do this by command line, use:
$ rm README.md && mv README_APP.md README.md
3. Install packages
Note: if your node and yarn versions don’t meet the requirements in
package.json
, the installation process will give an error. See the Redwood tutorial for node and yarn upgrade instructions.
$ yarn install
4. Initialize git and add your first commit
$ git init && git add .
$ git commit -m 'I rocked the manual bootstrap!'