Initialize NPM
Rany ElHousieny, PhD???
Generative AI ENGINEERING MANAGER | ex-Microsoft | AI Solutions Architect | Generative AI & NLP Expert | Proven Leader in AI-Driven Innovation | Former Microsoft Research & Azure AI | Software Engineering Manager
We will need to initialize npm to get the default package.json and install dependencies
Initialize NPM
mkdir new-react-app
cd new-react-app
npm init
npm init will initiate the project and add the needed boilerplate for you. You be prompted to answer some questions/options as follows (inside the red boxes):
Then provide you with the content of the package.json to review and accept
Write “yes” and click enter. Now, you have an empty project. You can open it inside Visual Studio Code (Code .).
The directory will only contain package.json
===========================