I had some problems after entering the following in the console as per the class video:
setInterval( () => console.log(‘done’), 1000)
-
the result ‘done’ every second continued even after i cleared the console. Then I got many error messages as I was trying to enter something else in the console to over-ride this command so I closed the browser and the text editor.
-
when i ran npm start again in the text editor to resume what I was doing, it said that port 3000 was being used did I want a new port. I said no and restarted computer.
-
then npm start again
-
then it said production was not optimized and to type:
npm run build (I’ve never seen this message before)
So, I’m not sure if I should have done that and what it has done to my environment for developing going forward. Here is the screen shot.
Can you advise. Can I reverse this? Can I just go back to the normal state? Revert back to before I entered “npm run build”
I don’t know why I keep running into these issues.
Thanks,
Julie