Fix package script command deploy:kit #160
@ -16,7 +16,7 @@
|
||||
"bootstrap": "npm run reset:hard && npm run seeds",
|
||||
"reset": "npm run deploy:kit && npm run deploy:dao",
|
||||
"reset:hard": "npm run deploy:apps && npm run reset",
|
||||
"deploy:kit": "npm run compile-contracts && aragon contracts exec scripts/deploy-kit.js",
|
||||
"deploy:kit": "aragon contracts exec scripts/deploy-kit.js",
|
||||
"deploy:dao": "aragon contracts exec scripts/new-dao.js",
|
||||
|
||||
"deploy:apps": "./scripts/every-app.sh \"aragon apm publish major\"",
|
||||
"devchain": "aragon devchain --port 7545",
|
||||
|
Loading…
x
Reference in New Issue
Block a user
what was actually broken? are the contracts still compiled?
ok, but then we need to fix the
compile-contracts
command?at which step are the contracts compiled?
I guess so. Frankly, I don't know what is needed and what isn't, but this one was consistently failing and nobody fixed it. So this change is more of a hotfix to get the bootstrap to work, because most people don't change the kit contract or other such contracts.
is there an issue for that?
compile-contracts
works fine for me (just tested it again)even though people won't change the kit, I assumed the kit still needs to be compiled to run the deploy script.
if you have a fresh clone (without the
build
directory) you'll now get a:Error: ENOENT: no such file or directory, scandir '[...]/build/contracts'
error.so contracts need to be deployed, it probably works for you now because you had deployed contracts in the
build
directory.I can not reproduce any compile error here. :(
Then we need to add the complete install and bootstrap on Travis, because @fsmanuel and I both have the same compilation errors on two different operating systems with different environments.
good idea. can you create an issue with the error you've seen? thanks