Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build failing #82

Open
gedw99 opened this issue Feb 15, 2022 · 0 comments
Open

build failing #82

gedw99 opened this issue Feb 15, 2022 · 0 comments

Comments

@gedw99
Copy link

gedw99 commented Feb 15, 2022

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 [email protected]: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/[email protected]
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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant