DEV Community

David McMurrey
David McMurrey

Posted on

Aris Zagaris express-api

Howdy! I am not a programmer although I know some Perl. I got lost trying to follow Aris's guide on setting up express-api.

This is the error message:

C:\Users\David McMurrey\Desktop\express-api\src\server.js:134
const app = require('./app');
^
SyntaxError: Identifier 'app' has already been declared
Can any one help?

David
Business, Government & Technical Communications
Austin Community College
https://mcmassociates.io/dmz_index.html

Top comments (0)