Skip to content

Commit 2190491

Browse files
committed
Also add yarn install to develop.sh, in case that is run first
1 parent cf7b651 commit 2190491

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ provisionersdk/proto: provisionersdk/proto/provisioner.proto
7474
.PHONY: provisionersdk/proto
7575

7676
site/out:
77-
cd site && yarn install
77+
cd site && yarn install
7878
cd site && yarn build
7979
cd site && yarn export
8080
.PHONY: site/out

develop.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ function create_initial_user() {
2121
http://localhost:3000/api/v2/user
2222
}
2323

24+
# Run yarn install, to make sure node_modules are ready to go
25+
yarn --cwd=./site install
26+
2427
# Do initial build - a dev build for coderd.
2528
# It's OK that we don't build the front-end before - because the front-end
2629
# assets are handled by the `yarn dev` devserver.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy