Categories
Mastering Development

Django + React Able to create new user in database, but token-auth returns 400 bad request

So I have an app that I’m writing. It’s working, for the most part, so far. I only currently have a login and signup setup, with a ‘homepage’ that just has a logout button and some text on it so I can test. When I do signup, it posts the user to the database, but […]

Categories
Mastering Development

Hosting .Net Core app and Angular app under IIS Default website

I’m using ASP.net core Boilerplate with angular. I tried hosting both apps individually website for Angular and website for .NET core under IIS localhost with no problem. : But When I want to deploy my App on public I encountered this problem : 1- I have only one public IP which is redirecting to the […]

Categories
Development React

Why npm start is throwing events.js:187 throw er; // Unhandled ‘error’ event in my react project?

While starting the server for the first time just after the code checkout , my react js project is throwing error “events.js:187 throw er; // Unhandled ‘error’ event” . I have node 12.13.0 and npm 6.12.0 . Log file attached log file events.js:187 throw er; // Unhandled ‘error’ event ^ Error: spawn cmd ENOENT at […]