Skip to content

Commit

Permalink
fix: fix vue example ui server not starting (#284)
Browse files Browse the repository at this point in the history
  • Loading branch information
c12i committed May 14, 2024
1 parent 62d1d30 commit b311a0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/vue/web-app/package.json.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
],
"scripts": {
"start": "AGENTS=${AGENTS:-2} BOOTSTRAP_PORT=$(port) SIGNAL_PORT=$(port) npm run network",
"network": "hc sandbox clean && npm run build:happ && UI_PORT=$(port) concurrently \"npm run launch:happ\" \"holochain-playground\"",
"network": "hc sandbox clean && npm run build:happ && UI_PORT=$(port) concurrently \"npm start -w ui\" \"npm run launch:happ\" \"holochain-playground\"",
"test": "npm run build:zomes && hc app pack workdir --recursive && npm t -w tests",
"launch:happ": "hc-spin -n $AGENTS --ui-port $UI_PORT workdir/{{app_name}}.happ",
"start:tauri": "AGENTS=${AGENTS:-2} BOOTSTRAP_PORT=$(port) SIGNAL_PORT=$(port) npm run network:tauri",
"network:tauri": "hc sandbox clean && npm run build:happ && UI_PORT=$(port) concurrently \"npm run launch:tauri\" \"holochain-playground\"",
"network:tauri": "hc sandbox clean && npm run build:happ && UI_PORT=$(port) concurrently \"npm start -w ui\" \"npm run launch:tauri\" \"holochain-playground\"",
"launch:tauri": "concurrently \"hc run-local-services --bootstrap-port $BOOTSTRAP_PORT --signal-port $SIGNAL_PORT\" \"echo pass | RUST_LOG=warn hc launch --piped -n $AGENTS workdir/{{app_name}}.happ --ui-port $UI_PORT network --bootstrap http://127.0.0.1:\"$BOOTSTRAP_PORT\" webrtc ws://127.0.0.1:\"$SIGNAL_PORT\"\"",
{{#if holo_enabled}}
"start:holo": "AGENTS=${AGENTS:-2} npm run network:holo",
Expand Down

0 comments on commit b311a0d

Please sign in to comment.