Posts

Showing posts from September, 2023

Run next-app (commend)

 PS C:\Users\adaka\OneDrive\Desktop\next-firxtapp> cd first-next-app PS C:\Users\adaka\OneDrive\Desktop\next-firxtapp\first-next-app> npm run dev > first-next-app@0.1.0 dev > next dev - ready started server on [::]:3000, url: http://localhost:3000 - event compiled client and server successfully in 214 ms (18 modules) - wait compiling... - event compiled client and server successfully in 240 ms (18 modules) - wait compiling / (client and server)... 🌼 daisyUI 3.7.6 https://daisyui.com ╰╮  ╰─ ✔︎ [ 2 ] themes are enabled. You can add more themes or make your own theme:       https://daisyui.com/docs/themes     ❤︎ Support daisyUI: https://opencollective.com/daisyui - event compiled client and server successfully in 2.2s (217 modules) - wait compiling... - event compiled client and server successfully in 520 ms (217 modules)

change the react app and deploy it on github

PS C:\Users\adaka\OneDrive\Desktop\react-app> cd react-git             // react-git is the name of the folder   PS C:\Users\adaka\OneDrive\Desktop\react-app\react-git> git status On branch main Your branch is up to date with 'origin/main'. Changes not staged for commit:   (use "git add <file>..." to update what will be committed)   (use "git restore <file>..." to discard changes in working directory)         modified:   src/App.js no changes added to commit (use "git add" and/or "git commit -a") PS C:\Users\adaka\OneDrive\Desktop\react-app\react-git> git add . warning: in the working copy of 'src/App.js', LF will be replaced by CRLF the next time Git touches it PS C:\Users\adaka\OneDrive\Desktop\react-app\react-git> git status On branch main Your branch is up to date with 'origin/main'. Changes to be committed:   (use "git restore --staged <file>..." to unstage) ...

Process of deploy the modified react app on netlify .

             /*    1.  Green --> you have to write . */ PS C:\Users\adaka\OneDrive\Desktop\react-app> cd   PS C:\Users\adaka\OneDrive\Desktop\react-app> cd to-do-app PS C:\Users\adaka\OneDrive\Desktop\react-app\to-do-app> npm run build >>  > my-apps@0.1.0 build > react-scripts build Creating an optimized production build... One of your dependencies, babel-preset-react-app, is importing the "@babel/plugin-proposal-private-property-in-object" package without declaring it in its dependencies. This is currently working because "@babel/plugin-proposal-private-property-in-object" is already in your node_modules folder for unrelated reasons, but it may break at any time. babel-preset-react-app is part of the create-react-app project, which is not maintianed anymore. It is thus unlikely that this bug will ever be fixed. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to wo...