Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

"New not declared by package engine (compile)" (app.go:20:25) #45

@arnlen

Description

@arnlen

Device:

  • OS: MacOS
  • Version: Big Sur 11.2.3
  • Go Version: 1.16.3

Describe the bug
On a freshly generated app, when configured with "webview", the command guark run raises the error:

[...]/app.go:20:25 New not declared by package engine (compile)

To Reproduce

  1. guark init --template vue -mod github.com/arnlen/guark_training
✔ Remote template validated
✔ Template downloaded successfully.
✔ App module name refactored
⏺ Setup commands:
  - "yarn install" (dir: ui)
  - "go mod download"
  - "go mod tidy"
  - "go mod verify"
✔ Running setup command: yarn install
warning " > [email protected]" has unmet peer dependency "webpack@^4.36.0 || ^5.0.0".
✔ Running setup command: go mod download
✔ Running setup command: go mod tidy
✔ Running setup command: go mod verify
✔ Done! cd to /[...]/guark_training and run `guark run`.
  1. In to guark.yaml, change engineName to webview
# App engine name. Values: webview, chrome, hybrid
engineName: webview
  1. guark run
  2. See error

Expected behavior
Should run the app. 😄

Maybe a configuration related issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions