Giter Site home page Giter Site logo

votechain's Introduction

votechain's People

Contributors

amand1996 avatar amanofb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

votechain's Issues

Admin login is not working

I tried to login by using Username : "admin" and password : "admin" but it is not working. if password is not 'admin' then please share the password.
else if there is another problem then share solution for it.

" '.' is not recognized as an internal or external command

I am trying to execute the index.js with "npm run test" command. on the package.json the test field is : " "test": "./node_modules/mocha/bin/mocha tests/index.js --require babel-register --reporter mochawesome --timeout 30000 || exit 0",
"

when i run this command , i receive this error :
" '.' is not recognized as an internal or external command, operable program or batch file. "

what is the problem ???

Npm Modules Error. This code is not working any more. Help me to run this project.

$ npm run testrpc

[email protected] testrpc C:\Users\Ch Muhammad Hasnat\Desktop\E-Voting\Bitvote-Update\Votechain
./node_modules/ethereumjs-testrpc/build/cli.node.js

'.' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] testrpc: ./node_modules/ethereumjs-testrpc/build/cli.node.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] testrpc script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Ch Muhammad Hasnat\AppData\Roaming\npm-cache_logs\2019-09-06T14_57_06_277Z-debug.log

run issue

Can someone help me to run this project

Mongo Network Error

I'm trying to start up the application using npm start.
But while starting up, I'm constantly faced with this error

mongoose connection error: MongoNetworkError: failed to connect to server [ds127589.mlab.com:27589] on first connect [Error: getaddrinfo ENOTFOUND ds127589.mlab.com at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:109:26) { name: 'MongoNetworkError' }]

Here is the complete error :

`npm start

[email protected] start
node ./node_modules/nodemon/bin/nodemon.js --inspect index.js

[nodemon] 1.19.4
[nodemon] to restart at any time, enter rs
[nodemon] watching dir(s): .
[nodemon] watching extensions: js,mjs,json
[nodemon] starting node --inspect index.js
Debugger listening on ws://127.0.0.1:9229/6f11fd40-e21e-45f6-ad66-b83df1610649
For help, see: https://nodejs.org/en/docs/inspector
mongoose: Cannot specify a custom index on _id for model name "Voter", MongoDB does not allow overwriting the default _id index. See http://bit.ly/mongodb-id-index
mongoose: Cannot specify a custom index on _id for model name "Admin", MongoDB does not allow overwriting the default _id index. See http://bit.ly/mongodb-id-index
mongoose: Cannot specify a custom index on _id for model name "Candidate", MongoDB does not allow overwriting the default _id index. See http://bit.ly/mongodb-id-index
(node:24508) DeprecationWarning: current URL string parser is deprecated, and will be removed in a future version. To use the new parser, pass option { useNewUrlParser: true } to MongoClient.connect.
(Use node --trace-deprecation ... to show where the warning was created)
(node:24508) [MONGODB DRIVER] Warning: Current Server Discovery and Monitoring engine is deprecated, and will be removed in a future version. To use the new Server Discover and Monitoring engine, pass option { useUnifiedTopology: true } to the MongoClient constructor.
Listening on port 3000
mongoose connection error: MongoNetworkError: failed to connect to server [ds127589.mlab.com:27589] on first connect [Error: getaddrinfo ENOTFOUND ds127589.mlab.com
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:109:26) {
name: 'MongoNetworkError'
}]
at Pool. (C:\Users\91960\Votechain\node_modules\mongodb\lib\core\topologies\server.js:441:11)
at Pool.emit (node:events:513:28)
at C:\Users\91960\Votechain\node_modules\mongodb\lib\core\connection\pool.js:564:14
at C:\Users\91960\Votechain\node_modules\mongodb\lib\core\connection\pool.js:1000:11
at C:\Users\91960\Votechain\node_modules\mongodb\lib\core\connection\connect.js:32:7
at callback (C:\Users\91960\Votechain\node_modules\mongodb\lib\core\connection\connect.js:300:5)
at Socket. (C:\Users\91960\Votechain\node_modules\mongodb\lib\core\connection\connect.js:330:7)
at Object.onceWrapper (node:events:628:26)
at Socket.emit (node:events:513:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
onnection\pool.js:1000:11
at C:\Users\91960\Votechain\node_modules\mongodb\lib\core\connection\connect.js:32:7
at callback (C:\Users\91960\Votechain\node_modules\mongodb\lib\core\connection\connect.js:300:5)
at Socket. (C:\Users\91960\Votechain\node_modules\mongodb\lib\core\connection\connect.js:330:7)
at Object.onceWrapper (node:events:628:26)
at Socket.emit (node:events:513:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21)[nodemon] app crashed - waiting for file changes before starting... `

Help will be appreciated !

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.