rogchap/wombat

build failing

gedw99 opened this issue · 0 comments

i matched the version of wails your using but it fails...

But maybe i have some other dependency wrong ?

makefile:

# https://github.com/rogchap/wombat
# GRPC reflection gui tool


REPO_NAME=wombat

#WAILS_URL=github.com/wailsapp/wails/v2/cmd/wails
#WAILS_VERSION=latest

WAILS_URL=github.com/wailsapp/wails/cmd/wails
WAILS_VERSION=v1.16.3

print:
	@echo

	@echo OS: $(shell uname)
	@echo GO version: $(shell go version)
	@echo npm version: $(shell npm version)

all: print dep-os f-build b-build

dep:
	git clone git@github.com:rogchap/wombat.git -b master
dep-delete:
	rm -rf $(REPO_NAME)

dep-os:
	# wails cli. 
	go install $(WAILS_URL)@$(WAILS_VERSION)


	
f-build:
	cd $(REPO_NAME)/frontend && npm install
	cd $(REPO_NAME)/frontend && npm run build
f-serve:
	# not used
	#cd $(REPO_NAME)/frontend && npm run serve


b-doctor:
	cd $(REPO_NAME) && wails doctor
b-dev:
	cd $(REPO_NAME) && wails dev
b-serve:
	cd $(REPO_NAME) && wails serve
b-build:
	cd $(REPO_NAME) && wails build
b-dist:
	# mac in this case
	cd $(REPO_NAME) && wails build -platform darwin/arm64 -clean

bundle:
	# not used
	cd $(REPO_NAME) && chmod +x ./build.osx.sh && ./build.osx.sh

out:


 make all

OS: Darwin
GO version: go version go1.17.6 darwin/amd64
npm version: { apple: 0.0.0, npm: 8.4.1, node: 17.5.0, v8: 9.6.180.15-node.13, uv: 1.43.0, zlib: 1.2.11, brotli: 1.0.9, ares: 1.18.1, modules: 102, nghttp2: 1.46.0, napi: 8, llhttp: 6.0.4, openssl: 1.1.1m, cldr: 39.0, icu: 69.1, tz: 2021a, unicode: 13.0 }
# wails cli. TODO. modify to correct version as needed
go install github.com/wailsapp/wails/cmd/wails@v1.16.3
cd wombat/frontend && npm install

up to date, audited 258 packages in 2s

21 packages are looking for funding
  run `npm fund` for details

3 moderate severity vulnerabilities

To address issues that do not require attention, run:
  npm audit fix

To address all issues (including breaking changes), run:
  npm audit fix --force