Ask coding questions

← Back to all posts
Express app not allowing me to add any new views
h
StefanGisi (2)

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??????

Commentshotnewtop
StefanGisi (2)

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