wails icon indicating copy to clipboard operation
wails copied to clipboard

Linux - Uncaught TypeError: window.wails is undefined

Open Mike97M opened this issue 6 years ago • 3 comments

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

Mike97M avatar Jul 08 '20 22:07 Mike97M

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

leaanthony avatar Jul 08 '20 22:07 leaanthony

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.

Mike97M avatar Jul 10 '20 19:07 Mike97M

Glad it was sorted!

leaanthony avatar Jul 10 '20 21:07 leaanthony