In glitch I’m trying to create a model in myApp.js. I can’t make a personSchema because in the server.js (on line 69): “SyntaxError: Identifier Person has already been declared”.
If I change the words in myApp.js to something other than the word Person it runs, but it fails the challenge. I’ve already tried three other tutorials and I’m still stuck.
solution: https://nonchalant-scalloped-zydeco.glitch.me
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:85.0) Gecko/20100101 Firefox/85.0
.
Challenge: Create a Model
Link to the challenge: