Skip to content

Commit

Permalink
fix(package.json): use yarn to build packages instead because npm@7 h…
Browse files Browse the repository at this point in the history
…as npm script execution issue

See official issue: npm/cli#1904
  • Loading branch information
yukisato committed Dec 30, 2020
1 parent d060735 commit 935a225
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ npm install --only-dev && npm install

# Build the backend project
cd ${CURRENT_DIR}/packages/backend
npm run build
npx yarn build

# Build the frontend project
cd ${CURRENT_DIR}/packages/frontend
npm run build
npx yarn build

0 comments on commit 935a225

Please sign in to comment.