I created a vite using tailwindcss project and ran
npm run dev
This is the error message from my terminal
enter image description here
this is the index.html
I recently started working with 'npm' and while installing 'nodemon' using command -
npm i -g nodemon
but it is showing ERR!
npm ERR! code EACCES
npm ERR! syscall rename
npm ERR! path /usr/local/lib/node_modules/nodemon
npm ERR! dest…
I have an EditProfile functional component that initially loads perfect, but loses state whenever the user refreshes their page with the form open. Instead of pre-filling the inputs with the 'user' state/values, it now sets the inputs as blank, and…
On my website switching between pages is completely fine and works (it doesnt refresh or load due to redux) but the moment the page is refreshed or i manually enter a link to access, it logs me out. Also it just started happening now, yesterday when…
Ok, so my question is actually a bit more complex.
I know how to develop Node.js apps using Express.js. I also know how to build React apps. The problem is putting it together. I've seen many tutorials do it, but they just use the Express backend as…
I want to write a method in node js with mongodb that filters users by
both batch and course
2)only batch if course not enterted
3)only course if batch not enterted
//filter students by either course or batch
export const getUsersByCourseOrBatch…
Project folder structure:
backend/
frontend/
node_modules/
.env
.gitignore
package-lock.json
package.json
I have this snippet that I would like to add to my frontend (which is created with create-react-app):