wailsapp / wails

Create beautiful applications using Go
https://wails.io
MIT License
24.51k stars 1.18k forks source link

Linux - Uncaught TypeError: window.wails is undefined #458

Closed Mike97M closed 4 years ago

Mike97M commented 4 years ago

Description

I get the error Uncaught TypeError: window.wails is undefined when I try to view the frontend app from firefox by using npm run serve. I've tried from another browser and I got a similar error.

To Reproduce Steps to reproduce the behaviour:

  1. wails init
  2. select Vuetify2/Vuetify1.5
  3. Try to server only the frontend using npm run serve

Expected behaviour To see the same frontend I see when I build and open the app. But, I see a blank page.

System Details

Name Value
Wails Version v1.7.1
Go Version go1.14.4
Platform linux
Arch amd64
GO111MODULE (Not Set)
GCC 10.1.0
Npm 6.14.5
Node v14.3.0
leaanthony commented 4 years ago

I can check tonight, but perhaps @tmclane might be available before then. Unusual as this is core functionality used every day.

Mike97M commented 4 years ago

Hi @leaanthony,

Did you had the time to reportduce the issue yet?

Edit: actually nevermind, it was my fault, I've tried again now.

Not sure why I wasunt running wails serve when I got that error, now I feel stupid, sorry for wasting your time.

leaanthony commented 4 years ago

Glad it was sorted!