Open hasnat23 opened 5 years ago
Can you please make a video to clone this project and run safely. Thank you
hello did you manage to solve the errors above
just avoid the errors, it only mentions about upgrading.If u don't upgrade the packages it will still work fine. Just follow his steps in given video link
The packages you used, do you mind sharing the versions.
On 00:14, Thu, 9 Apr 2020 sagargada73 <notifications@github.com wrote:
just avoid the errors, it only mentions about upgrading if u dont upgrade the packages it will still work fine. Just follow his steps in given video link
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/amand1996/Votechain/issues/5#issuecomment-611197842, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJTGSJQ5J5FWLYWS5B7LVR3RLTSJ3ANCNFSM4IUJ7F7A .
The packages you used, do you mind sharing the versions. … On 00:14, Thu, 9 Apr 2020 sagargada73 @.*** wrote: just avoid the errors, it only mentions about upgrading if u dont upgrade the packages it will still work fine. Just follow his steps in given video link — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#5 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJTGSJQ5J5FWLYWS5B7LVR3RLTSJ3ANCNFSM4IUJ7F7A .
{
"name": "votechain-node",
"version": "0.0.0",
"private": true,
"scripts": {
"start": "./node_modules/nodemon/bin/nodemon.js --inspect index.js",
"test": "./node_modules/mocha/bin/mocha tests/index.js --require babel-register --reporter mochawesome --timeout 30000 || exit 0",
"testrpc": "node_modules/ethereumjs-testrpc/build/cli.node.js"
},
"dependencies": {
"body-parser": "~1.17.1",
"chai": "^4.1.2",
"chai-http": "^4.0.0",
"cookie-parser": "~1.4.3",
"debug": "~2.6.3",
"ejs": "^2.5.7",
"ethereumjs-testrpc": "^4.1.3",
"express": "~4.15.2",
"express-unless": "^0.5.0",
"ganache-cli": "^6.9.1",
"jimp": "^0.2.28",
"jsonwebtoken": "^8.2.0",
"mocha": "^5.0.5",
"mochawesome": "^3.0.2",
"mongoose": "^5.0.12",
"morgan": "~1.8.1",
"multer": "^1.3.0",
"qrcode": "^1.2.0",
"qrcode-reader": "^1.0.4",
"request": "^2.85.0",
"serve-favicon": "~2.4.2",
"solc": "^0.4.17",
"web3": "^0.20.6"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-polyfill": "^6.26.0",
"babel-preset-es2015": "^6.24.1",
"nodemon": "^1.17.2"
}
}
Try running:
node index.js
or if u have nodemon then :
nodemon index.js
Thanks that's quite helpful.let me have a look at it again
On 23:35, Sun, 12 Apr 2020 sagargada73 <notifications@github.com wrote:
The packages you used, do you mind sharing the versions. … <#m-8631543007699811906> On 00:14, Thu, 9 Apr 2020 sagargada73 @.*** wrote: just avoid the errors, it only mentions about upgrading if u dont upgrade the packages it will still work fine. Just follow his steps in given video link — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#5 (comment) https://github.com/amand1996/Votechain/issues/5#issuecomment-611197842>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJTGSJQ5J5FWLYWS5B7LVR3RLTSJ3ANCNFSM4IUJ7F7A .
my package.json file
{
"name": "votechain-node",
"version": "0.0.0",
"private": true,
"scripts": {
"start": "./node_modules/nodemon/bin/nodemon.js --inspect index.js", "test": "./node_modules/mocha/bin/mocha tests/index.js --require babel-register --reporter mochawesome --timeout 30000 || exit 0", "testrpc": "node_modules/ethereumjs-testrpc/build/cli.node.js"
},
"dependencies": {
"body-parser": "~1.17.1", "chai": "^4.1.2", "chai-http": "^4.0.0", "cookie-parser": "~1.4.3", "debug": "~2.6.3", "ejs": "^2.5.7", "ethereumjs-testrpc": "^4.1.3", "express": "~4.15.2", "express-unless": "^0.5.0", "ganache-cli": "^6.9.1", "jimp": "^0.2.28", "jsonwebtoken": "^8.2.0", "mocha": "^5.0.5", "mochawesome": "^3.0.2", "mongoose": "^5.0.12", "morgan": "~1.8.1", "multer": "^1.3.0", "qrcode": "^1.2.0", "qrcode-reader": "^1.0.4", "request": "^2.85.0", "serve-favicon": "~2.4.2", "solc": "^0.4.17", "web3": "^0.20.6"
},
"devDependencies": {
"babel-cli": "^6.26.0", "babel-core": "^6.26.0", "babel-polyfill": "^6.26.0", "babel-preset-es2015": "^6.24.1", "nodemon": "^1.17.2"
}
}
Try running:
node index.js
or if u have nodemon then :
nodemon index.js
And testrpc is renamed to ganache, so follow the steps to install ganache cli and how to use it
https://www.npmjs.com/package/ganache-cli http://url
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/amand1996/Votechain/issues/5#issuecomment-612672456, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJTGSJQOKU56RQJYR3NEAWLRMIQZTANCNFSM4IUJ7F7A .
when i run------- npm run testrpc I get the following error...Any help please node_modules/ethereumjs-testrpc/build/cli.node.js
'node_modules' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! votechain-node@0.0.0 testrpc:
node_modules/ethereumjs-testrpc/build/cli.node.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the votechain-node@0.0.0 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\h\AppData\Roaming\npm-cache_logs\2020-04-14T02_12_27_833Z-debug.log
On Wed, 8 Apr 2020 at 14:14, sagargada73 notifications@github.com wrote:
just avoid the errors, it only mentions about upgrading if u dont upgrade the packages it will still work fine. Just follow his steps in given video link
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/amand1996/Votechain/issues/5#issuecomment-611197842, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOLPBKIELYYSIWJIN3ULAXDRLTSJ3ANCNFSM4IUJ7F7A .
when i run------- npm run testrpc I get the following error...Any help please node_modules/ethereumjs-testrpc/build/cli.node.js 'node_modules' is not recognized as an internal or external command, operable program or batch file. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! votechain-node@0.0.0 testrpc:
node_modules/ethereumjs-testrpc/build/cli.node.js
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the votechain-node@0.0.0 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\h\AppData\Roaming\npm-cache_logs\2020-04-14T02_12_27_833Z-debug.log … On Wed, 8 Apr 2020 at 14:14, sagargada73 @.***> wrote: just avoid the errors, it only mentions about upgrading if u dont upgrade the packages it will still work fine. Just follow his steps in given video link — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#5 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOLPBKIELYYSIWJIN3ULAXDRLTSJ3ANCNFSM4IUJ7F7A .
hey just try to run ganache-cli run testrpc this should work
what is the password for admin panel
$ npm run testrpc
'.' is not recognized as an internal or external command, operable program or batch file. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! votechain-node@0.0.0 testrpc:
./node_modules/ethereumjs-testrpc/build/cli.node.js
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the votechain-node@0.0.0 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