Closed jamesray1 closed 5 years ago
Actually, I hadn't ran git pull
.
Now I get the same error as I was getting in https://github.com/holochain/holochain-rust/pull/1463.
This is currently already using Holochain v0.0.18-alpha1 so you may need to update your toolchain. You can make sure you have the correct version of hc
within the coolcats2 directory by running make update-cli
. You can also run make update-conductor
to build and install the correct version for multiuser testing.
Thanks. They are the latest version at the moment. Perhaps I didn't update before trying. At the moment http://localhost:8000 works but not http://localhost:8001, with the errror #not currently working with two or more conductors
11:58:26 jr@fm ~/coolcats2 ⬡ v8.16.0 master ✘ ✭
$ holochain --version
holochain 0.0.18-alpha1
11:59:24 jr@fm ~/coolcats2 ⬡ v8.16.0 master ✘ ✭
$ hc --version
hc 0.0.18-alpha1
11:59:46 jr@fm ~/coolcats2 ⬡ v8.16.0 master ✘ ✭
$ make start
(cd dna-src; mkdir dist; rustup run nightly-2019-01-24 hc package -o dist/coolcats.dna.json)
mkdir: cannot create directory ‘dist’: File exists
> cargo build --release --target=wasm32-unknown-unknown --target-dir=target
Finished release [optimized] target(s) in 0.18s
> cargo build --release --target=wasm32-unknown-unknown --target-dir=target
Finished release [optimized] target(s) in 0.08s
Created DNA package file at "dist/coolcats.dna.json"
DNA hash: QmRoaKg9JaZN1LdYLBzfhHP6hr8t3wMGY5PSmjcKRNxoRn
ln -s coolcats.dna.json dna-src/dist/dna-src.dna.json
ln: failed to create symbolic link 'dna-src/dist/dna-src.dna.json': File exists
make: [Makefile:49: dna-build] Error 1 (ignored)
(cd ui-src; yarn -s; yarn deploy)
yarn run v1.16.0
$ webpack; cargo +stable web deploy --release; patch -p0 target/deploy/*.js < deploy-js.diff
[hardsource:241fcee8] Writing new cache 241fcee8...
[hardsource:241fcee8] Tracking node dependencies with: yarn.lock.
clean-webpack-plugin: removed static
Hash: d5572ccee472ae4a5d16
Version: webpack 4.33.0
Time: 4956ms
Built at: 2019-06-07 12:00:30
Asset Size Chunks Chunk Names
../static/cat-eating-bird-circle.png 259 KiB [emitted]
../static/cats.jpg 54.9 KiB [emitted]
../static/favicon.png 7.12 KiB [emitted]
../static/index.html 657 bytes [emitted]
favicon.png 7.12 KiB [emitted]
runtime.js 28.6 KiB 0 [emitted] main
Entrypoint main = runtime.js
[0] ./src/runtime.ts 234 bytes {0} [built]
[1] ./src/application/interfaces/app.css 1.07 KiB {0} [built]
[2] ./node_modules/css-loader/dist/cjs.js!./src/application/interfaces/app.css 8.06 KiB {0} [built]
[5] ./src/application/interfaces/images/cats.jpg 30 bytes {0} [built]
[8] ./src/application/interfaces/images/favicon.png 33 bytes {0} [built]
[9] ./src/application/interfaces/images/cat-eating-bird-circle.png 48 bytes {0} [built]
+ 4 hidden modules
Child html-webpack-plugin for "../static/index.html":
1 asset
Entrypoint undefined = ../static/index.html
[2] (webpack)/buildin/global.js 472 bytes {0} [built]
[3] (webpack)/buildin/module.js 497 bytes {0} [built]
+ 2 hidden modules
Compiling serde v1.0.92
Compiling coolcats2 v0.1.0 (/home/jr/coolcats2/ui-src)
Compiling serde_json v1.0.39
Compiling bincode v1.0.1
Compiling stdweb-derive v0.5.1
Compiling stdweb-internal-macros v0.2.7
Compiling stdweb v0.4.17
Compiling yew v0.7.0 (https://github.com/DenisKolodin/yew#0f4ca793)
Compiling yew-router v0.1.0 (https://github.com/saschagrunert/yew-router#e12a8cb7)
Finished release [optimized] target(s) in 38.87s
Processing "coolcats2.wasm"...
Finished processing of "coolcats2.wasm"!
The `coolcats2` was deployed to "/home/jr/coolcats2/ui-src/target/deploy"!
patching file target/deploy/coolcats2.js
Done in 52.58s.
holochain -c conductor/conductor-config-agent1.toml > /tmp/dna-testnet.log 2>&1 &
tail: cannot open '+1' for reading: No such file or directory
#not currently working with two or more conductors
#holochain -c /tmp/conductor-config-agent2.toml > /tmp/dna-testnet2.log 2>&1 &
12:25:07 jr@fm ~/coolcats2 ⬡ v8.16.0 master ✘ ✭ 1m39s
$
You're using an older version of Coolcats2 now. Sorry about that. Do a git pull
then make update
and try again.
Got it to work!