Onboarding Flow Notes →
Getting Started with Next.js
- I didn’t set up my terminal to accept this command: npx create-next-app --example https://github.com/vercel/platforms/tree/main platforms. Having a message like “You need to have a Node environment on your computer” would have been helpful. Since I didn’t have Node installed locally, I had to install it first.
- Before installing Node, I had to install Xcode command line tools.
- After installing Node.js, I was asked to ’input the command.’ The directions didn’t mention this so I was unsure if it’s okay to install the package.
- The version I installed is too new, so I needed to install an older version.
- After installation, I would add a suggestion for the user to type “ls” in order to verify that the folder platforms has been created.
- The instructions at the bottom incude Note: Don't forget to convert the .env.example file that’s located at the root of the repo into a .env file – it'll come in handy later. I didn't see instructions on how to do that.
Using a Template
- Using the examples in the Next.js documentation seemed much easier, since it uses a 1-click deployment.
- I ran into too many errors using the available examples from the Next.js examples repo, so I decided to start with a totally new Next.js project.
- I was able to deploy without any problems.
- I liked the milestone message with confetti.
- I was able to edit my site in VS code.
- I used my terminal to push my changes to github.