nrednav / final-year-project Goto Github PK
View Code? Open in Web Editor NEWUniversity Final Year Project
University Final Year Project
Hello there,
First of all thank you very much for preparing this project. It has end to end - what a project blockchain based project needs.
I have successfully setup the whole project on my windows 10 system. I have followed all the steps till 'Buyer' need to pay deposit.
'Buyer' get the request to pay the deposit, but when clicking on the button following error occurred.
When I looked into the code I found that there are 3 oracles used in the project setup.
In the 'Oracles' - all oracle.js are using contracts.js files (where for holdingDeposit and Escrow - there are factory version and not for verifier) - not sure why.
However in the hdOracle.js file hd and escrow (in the import) are not using the factory version but holdingDeposit.js and escrow.js (which are internally using build version of contracts) and not holdingDepositFactory.js and escrowFactory.js - respectively. I tried to use the factory version but it is still throwing some other error that some function is missing. Let me know if you need more information.
In the 'Contracts' - I found that there are only factory versions are being deployed (which are taking abi and address from myconfig file)
Can you please help me solve the error in the screenshot 1? - when buyer click on 'Pay Deposit' button.
Thanks in advaance.
error: volumes.authority1 value 'authority2', 'ipam' do not match any of the regexes: '^x-'
The definition of 'authority1' and 'authority2' is incorrect. They are defined on the same line without a colon separator. Also, the mongodb-data and MongoDB-config are defined in the same line without a colon separator.
The ipam section should be placed under the networks section, not under the volumes section.
bhai ap ka project use kr skta hon main kya??
Operating system used
Problem
I have installed all the dependencies correctly.
Can someone please help me to solve this error?
Opened cmd in the client directory and ran NPM INSTALL command. I got this error in the server directory as well.
I have installed Desktop development with C++ via visual studio.But it didn't help.
npm ERR! code 1
npm ERR! path C:\Users\thisi\Downloads\final-year-project\client\node_modules\scrypt
npm ERR! command failed
npm ERR! command C:\windows\system32\cmd.exe /d /s /c node-gyp rebuild
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | win32 | x64
npm ERR! gyp info find Python using Python version 3.9.4 found at "C:\Users\thisi\AppData\Local\Programs\Python\Python39\python.exe"
npm ERR! gyp ERR! find VS
npm ERR! gyp ERR! find VS msvs_version was set from command line or npm config
npm ERR! gyp ERR! find VS - looking for Visual Studio version 2022
npm ERR! gyp ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt
npm ERR! gyp ERR! find VS unknown version "undefined" found at "C:\Program Files\Microsoft Visual Studio\2022\Community"
npm ERR! gyp ERR! find VS could not find a version of Visual Studio 2017 or newer to use
npm ERR! gyp ERR! find VS looking for Visual Studio 2015
npm ERR! gyp ERR! find VS - not found
npm ERR! gyp ERR! find VS not looking for VS2013 as it is only supported up to Node.js 8
npm ERR! gyp ERR! find VS
npm ERR! gyp ERR! find VS valid versions for msvs_version:
npm ERR! gyp ERR! find VS
npm ERR! gyp ERR! find VS **************************************************************
npm ERR! gyp ERR! find VS You need to install the latest version of Visual Studio
npm ERR! gyp ERR! find VS including the "Desktop development with C++" workload.
npm ERR! gyp ERR! find VS For more information consult the documentation at:
npm ERR! gyp ERR! find VS https://github.com/nodejs/node-gyp#on-windows
npm ERR! gyp ERR! find VS **************************************************************
npm ERR! gyp ERR! find VS
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: Could not find any Visual Studio installation to use
npm ERR! gyp ERR! stack at VisualStudioFinder.fail (C:\Users\thisi\node_modules\node-gyp\lib\find-visualstudio.js:121:47)
npm ERR! gyp ERR! stack at C:\Users\thisi\node_modules\node-gyp\lib\find-visualstudio.js:74:16
npm ERR! gyp ERR! stack at VisualStudioFinder.findVisualStudio2013 (C:\Users\thisi\node_modules\node-gyp\lib\find-visualstudio.js:351:14)
npm ERR! gyp ERR! stack at C:\Users\thisi\node_modules\node-gyp\lib\find-visualstudio.js:70:14
npm ERR! gyp ERR! stack at C:\Users\thisi\node_modules\node-gyp\lib\find-visualstudio.js:372:16
npm ERR! gyp ERR! stack at C:\Users\thisi\node_modules\node-gyp\lib\util.js:54:7
npm ERR! gyp ERR! stack at C:\Users\thisi\node_modules\node-gyp\lib\util.js:33:16
npm ERR! gyp ERR! stack at ChildProcess.exithandler (child_process.js:302:5)
npm ERR! gyp ERR! stack at ChildProcess.emit (events.js:210:5)
npm ERR! gyp ERR! stack at maybeClose (internal/child_process.js:1021:16)
npm ERR! gyp ERR! System Windows_NT 10.0.19043
npm ERR! gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\thisi\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd C:\Users\thisi\Downloads\final-year-project\client\node_modules\scrypt
npm ERR! gyp ERR! node -v v12.13.0
npm ERR! gyp ERR! node-gyp -v v7.1.2
npm ERR! gyp ERR! not ok
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\thisi\AppData\Local\npm-cache\_logs\2022-05-15T10_09_11_651Z-debug-0.log
Everything is up to date, there is nothing to compile.
Something went wrong while attempting to connect to the network at undefined. Check your network configuration.
connection not open on send()
Truffle v5.5.3 (core: 5.5.3)
Node v17.6.0
It would help me in further understanding this project, thank you
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.