Hi guys. Followed these instructions verbatim.
Running the project
- Create an empty directory which will hold the node infraestructure, the identity provider and the MemeVote Aepp:
mkdir MemeVote-aeproject
- Install aeproject globally
npm install -g aeproject
cd MemeVote-aeproject
aeproject init
git clone https://github.com/aeternity/aepp-aeproject-js
- Clone aepp-aeproject-shape-vueI have forked this awesome project because it includes the base functionality of the identity provider, which is in other words a configurable wallet. This fork add some UI improvements that facilitates the configuration and connection to the network from the browser.
git clone https://github.com/snaphuman/aepp-aeproject-shape-vue.git
On each cloned repository folder (MemeVote and aepp-aeproject) fetch all their
dependencies.
npm install
# In Meme vote folder run:
npm start
# In aepp-aeproject-shape-vue run:
npm run serve
but once I went to npm start and npm run serve I received these errors
Leo-1:aepp-aeproject-js user$ npm start
npm ERR! missing script: start
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/user/.npm/_logs/2020-02-19T05_38_39_325Z-debug.log
Leo-1:aepp-aeproject-shape-vue user$ npm run serve
npm ERR! missing script: serve
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/user/.npm/_logs/2020-02-19T05_29_28_647Z-debug.log
didnt see a script to enter for serve or start in the package.json so I’ve clearly missed something
.json for js
{
"name": "aeproject-monorepo",
"version": "0.0.1",
"private": true,
"scripts": {
"test": "mocha ./test/**/*.js --timeout 0 --exit",
"aetest": "aeproject test",
"link": "lerna bootstrap && cd packages/aeproject-cli && yarn link",
"develop": "lerna bootstrap && cd packages/aeproject-cli && yarn link && cd .. && cd aeproject-config && npm install && yarn link && cd .. && cd aeproject-logger && npm install && yarn link && cd .. && cd aeproject-utils && npm install && yarn link && yarn link aeproject-logger && cd .. && cd aeproject-lib && npm install && yarn link && yarn link aeproject-config && yarn link aeproject-logger && yarn link aeproject-utils",
"develop-npm": "lerna bootstrap && cd packages/aeproject-cli && npm link && cd .. && cd aeproject-config && npm install && npm link && cd .. && cd aeproject-logger && npm install && npm link && cd .. && cd aeproject-utils && npm install && npm link && npm link aeproject-logger && cd .. && cd aeproject-lib && npm install && npm link && npm link aeproject-config && npm link aeproject-logger && npm link aeproject-utils",
"unlink": "cd packages/aeproject-cli && yarn unlink && cd .. && cd aeproject-lib && yarn unlink && yarn unlink aeproject-config && yarn unlink aeproject-utils && yarn unlink aeproject-logger && cd .. && cd aeproject-config && yarn unlink && cd .. && cd aeproject-utils && yarn unlink && yarn unlink aeproject-logger && cd .. && cd aeproject-logger && yarn unlink",
"unlink-npm": "cd packages/aeproject-cli && npm unlink && cd .. && cd aeproject-lib && npm unlink && npm unlink aeproject-config && npm unlink aeproject-utils && npm unlink aeproject-logger && cd .. && cd aeproject-config && npm unlink && cd .. && cd aeproject-utils && npm unlink && npm unlink aeproject-logger && cd .. && cd aeproject-logger && npm unlink"
},
"dependencies": {
"@aeternity/aepp-sdk": "7.0.0",
"aeproject-lib": "^2.0.1",
"esm": "^3.0.77",
"fs-extra": "^7.0.1",
"prompts": "^2.2.1"
},
"devDependencies": {
"@typescript-eslint/parser": "^1.7.0",
"chai": "^4.1.2",
"chai-as-promised": "^7.1.1",
"chai-files": "^1.4.0",
"docker-cli-js": "^2.5.1",
"eslint": "^5.15.1",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-import": "^2.17.2",
"eslint-plugin-node": "^8.0.1",
"eslint-plugin-promise": "^4.1.1",
"eslint-plugin-standard": "^4.0.0",
"lerna": "^3.14.1",
"mocha": "^5.0.0",
"promisify-child-process": "^2.1.2",
"shelljs": "^0.8.2",
"sinon": "^7.1.1",
"typescript": "^3.5.2",
"yarn": "^1.21.0"
}
}
.json for shape-vue which is confusing because I see a serve script
{
"name": "vue-project",
"version": "0.1.0",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint"
},
"dependencies": {
"@aeternity/aepp-components": "https://github.com/aeternity/aepp-components.git#develop",
"@aeternity/aepp-sdk": "6.0.2",
"vue": "^2.6.6",
"vue-loading-overlay": "^3.2.0",
"vuex": "^3.0.1"
},
"devDependencies": {
"@vue/cli-plugin-babel": "^3.5.0",
"@vue/cli-plugin-eslint": "^3.5.0",
"@vue/cli-service": "^3.5.0",
"babel-eslint": "^10.0.1",
"eslint": "^5.8.0",
"eslint-plugin-vue": "^5.0.0",
"vue-template-compiler": "^2.5.21"
}
}