Express app not allowing me to add any new views
StefanGisi (3)

I just added a new contact and portfolio route to my express app but they're not showing when I click the link in my landing page's nav.

When I try to refresh the server by clicking the start button, I'm getting a fork error: fork/exec /usr/local/bin/node: operation not permitted

After forking my own repl, I get this error on startup: Error: Cannot find module './routes/portfolio'

But I have the portfolio route established in my routes directory.

Is portfolio a reserved keyword??????

You are viewing a single comment. View All
StefanGisi (3)

I updated my route and view to my_work instead of portfolio and it worked.