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

[v3] wails3 init "Rel: can't make relative to <ProjectDir>" error #3255

Closed
nehzata opened this issue Feb 14, 2024 · 1 comment
Closed

[v3] wails3 init "Rel: can't make relative to <ProjectDir>" error #3255

nehzata opened this issue Feb 14, 2024 · 1 comment
Labels
Bug Something isn't working

Comments

@nehzata
Copy link

nehzata commented Feb 14, 2024

Description

debug.LocalModulePath is an empty string for non-local builds and causes an error in filepaths.Rel on this line in templates.Install.

To Reproduce

  1. go install github.com/wailsapp/wails/v3/cmd/wails3@v3-alpha
  2. wails3 init -n helloworld

Expected behaviour

Expect the template project to be installed. Instead receive the error below.

Screenshots

➜  test> wails3 init -n helloworld
  ERROR   Rel: can't make  relative to /tmp/test/helloworld

Attempted Fixes

No response

System Details

# Build Environment
Wails CLI      | v3.0.0-alpha.3
Go Version     | go1.22.0
-buildmode     | exe
-compiler      | gc
CGO_CFLAGS     |
CGO_CPPFLAGS   |
CGO_CXXFLAGS   |
CGO_ENABLED    | 1
CGO_LDFLAGS    |
DefaultGODEBUG | httplaxcontentlength=1,httpmuxgo121=1,tls10server=1,tlsrsakex=1,tlsunsafeekm=1
GOARCH         | arm64
GOOS           | darwin

# System
Name            | MacOS
Version         | 14.2.1
ID              | 23C71
Branding        | Sonoma
Platform        | darwin
Architecture    | arm64
Apple Silicon   | true
CPU             | Apple M1 Pro
Xcode cli tools | 2405
CPU             | Unknown
GPU             | Unknown
Memory          | Unknown

# Diagnosis
 SUCCESS  Your system is ready for Wails development!

Additional context

No response

@nehzata nehzata added the Bug Something isn't working label Feb 14, 2024
@leaanthony
Copy link
Member

Hi. I'm going to close this for the reasons mentioned in the PR. We can revisit it during Beta 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants