git clone [repository url] //Step 2: cd [local repository] //Step 3: //Check package.json file and ensure scripts are notated as below: "scripts": { "start": "react-scripts start", "build": "react-scripts build", "test": "react-scripts test", "eject": "react-scripts eject" }, //Step 4: /* Delete the node_modules folder and any 'lock' files such as yarn.lock or package-lock.json if present.*/ //Step 5: npm install //Step 6: npm start In case of issues shown after npm install, run the below to automatically fix the issues: npm audit fix Alternatively, use the below to see the errors: npm audit
========> To start NODE App 1. download from Git 2. $npm i 3. $node app.js ========> To start Angular APP. 1. download from Git 2. Check Git application supported (node -v and npm -v) 3. using nvm change to above version in command prompt(Ex: $nvm use 10.14.2) 4. $npm i 5. $ng serve --port 2224 -o =========> To start React App. 1. download from Git 2. Check Git application React Version for (npm and node) and install (npm i) 3. To start React Application $PORT=3034 npm start npm install npm start open http://localhost:8080 (should start automatically ) Available Commands npm start - start the dev server npm run dev - create a developer build in `dist` folder npm run build - create a production ready build in `dist` folder
Comments
Post a Comment