View Code? Open in Web Editor
NEW
Find Voting Information, Region, Constituencies and Polling Stations for Namibia's Regional, Local and Presidential Elections.
Home Page: http://www.vote.com.na
License: MIT License
JavaScript 88.52%
Pug 11.48%
votenamibia-api's Issues
Not sure what is causing the error below but whenever I do $ npm run dev
OR $ npm run start
it pops up and I can't do anything else. I am using Ubuntu 16.04.
(base) tangos@ubuntu:~/votenamibia$ npm run dev
[email protected] dev
nodemon server.js
[nodemon] 2.0.6
[nodemon] to restart at any time, enter rs
[nodemon] watching path(s): .
[nodemon] watching extensions: js,mjs,json
[nodemon] starting node server.js
UNCAUGHT EXCEPTION! Shutting down...
TypeError Cannot read property 'replace' of undefined
[nodemon] app crashed - waiting for file changes before starting...
Here is my npm and node version not sure if it has anything to do with this but i had to upgrade from an earlier:
(base) tangos@ubuntu:/votenamibia$ npm -v
7.0.14
(base) tangos@ubuntu:/votenamibia$ node -v
v15.3.0