tiny-rdm icon indicating copy to clipboard operation
tiny-rdm copied to clipboard

[BUG] wails dev files not found

Open TaibiaoGuo opened this issue 1 year ago • 3 comments

Tiny RDM Version What version of Tiny RDM are you using?

release 1.1.14

OS Version

wails doctor
  • wails: v2.9.1
  • os: macos
  • version: 10.14.6
  • go: go1.21.4
  • platform: darwin
  • architecture: amd64
  • cpu: Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
  • nodejs: 20.16.0
  • npm:10.8.1
  • upx:3.96

Describe the bug

files not found when run wails doctor command.

wails dev
Wails CLI v2.9.1

Executing: go mod tidy
  • Generating bindings: 2024/08/06 18:03:37 2024/08/06 18:03:37 preferences path: /Users/jarvis/Library/Preferences/TinyRDM/preferences.yaml

......

Done.
  • Installing frontend dependencies: Done.
  • Compiling frontend: Done.

> [email protected] dev
> vite


  VITE v5.3.3  ready in 416 ms

Vite Server URL: http://localhost:5173/
  ➜  Local:   http://localhost:5173/
  ➜  Network: use --host to expose
Running frontend DevWatcher command: 'npm run dev'
Building application for development...
  • Generating bindings: 2024/08/06 18:04:02 2024/08/06 18:04:02 preferences path: /Users/jarvis/Library/Preferences/TinyRDM/preferences.yaml
KnownStructs: convutil.CmdConvert	types.Connection	types.ConnectionCluster	types.ConnectionConfig	types.ConnectionProxy	types.ConnectionSSH	types.ConnectionSSL	types.ConnectionSentinel	types.GetHashParam	types.JSResp	types.KeyDetailParam	types.KeySummaryParam	types.Preferences	types.PreferencesBehavior	
......

Done.
  • Compiling application: Done.
  • Packaging application: Done.
 WARNING  This darwin build contains the use of private APIs. This will not pass Apple's AppStore approval process. Please use it only as a test build for testing and debug purposes.

Using DevServer URL: http://localhost:34115
Using Frontend DevServer URL: http://localhost:5173/
Using reload debounce setting of 100 milliseconds
2024/08/06 18:04:05 preferences path: /Users/jarvis/Library/Preferences/TinyRDM/preferences.yaml
INF | Serving assets from frontend DevServer URL: http://localhost:5173/
DEB | [DevWebServer] Serving DevServer at http://localhost:34115
DEB | [AssetHandler] Handling request '/' (file='.')
DEB | [AssetHandler] File '.' not found, serving '/' by AssetHandler
DEB | [ExternalAssetHandler] Loading 'http://localhost:5173/'

....

DEB | [AssetHandler] File 'node_modules/monaco-editor/esm/vs/editor/contrib/colorPicker/browser/colorPicker.css' not found, serving '/node_modules/monaco-editor/esm/vs/editor/contrib/colorPicker/browser/colorPicker.css' by AssetHandler
DEB | [ExternalAssetHandler] Loading 'http://localhost:5173/node_modules/monaco-editor/esm/vs/editor/standalone/browser/inspectTokens/inspectTokens.css'
DEB | [ExternalAssetHandler] Loading 'http://localhost:5173/node_modules/monaco-editor/esm/vs/editor/contrib/colorPicker/browser/colorPicker.css'
DEB | [AssetHandler] Handling request '/node_modules/monaco-editor/esm/vs/editor/contrib/inlineEdit/browser/inlineEdit.css' (file='node_modules/monaco-editor/esm/vs/editor/contrib/inlineEdit/browser/inlineEdit.css')
DEB | [ExternalAssetHandler] Loading 'http://localhost:5173/node_modules/monaco-editor/esm/vs/editor/contrib/symbolIcons/browser/symbolIcons.css'
DEB | [AssetHandler] File 'node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.css' not found, serving '/node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.css' by AssetHandler
DEB | [ExternalAssetHandler] Loading 'http://localhost:5173/node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.css'
DEB | [AssetHandler] File 'node_modules/.vite/deps/chunk-VS7FPXAJ.js' not found, serving '/node_modules/.vite/deps/chunk-VS7FPXAJ.js' by AssetHandler
DEB | [AssetHandler] File 'node_modules/monaco-editor/esm/vs/base/browser/ui/codicons/codicon/codicon.css' not found, serving '/node_modules/monaco-editor/esm/vs/base/browser/ui/codicons/codicon/codicon.css' by AssetHandler
DEB | [AssetHandler] File 'node_modules/monaco-editor/esm/vs/editor/contrib/inlineEdit/browser/inlineEdit.css' not found, serving '/node_modules/monaco-editor/esm/vs/editor/contrib/inlineEdit/browser/inlineEdit.css' by AssetHandler
DEB | [AssetHandler] File 'node_modules/monaco-editor/esm/vs/editor/contrib/codelens/browser/codelensWidget.css' not found, serving '/node_modules/monaco-editor/esm/vs/editor/contrib/codelens/browser/codelensWidget.css' by AssetHandler
DEB | [ExternalAssetHandler] Loading 'http://localhost:5173/node_modules/monaco-editor/esm/vs/editor/contrib/inlineEdit/browser/inlineEdit.css'
DEB | [ExternalAssetHandler] Loading 'http://localhost:5173/node_modules/monaco-editor/esm/vs/base/browser/ui/codicons/codicon/codicon.css'
DEB | [ExternalAssetHandler] Loading 'http://localhost:5173/node_modules/monaco-editor/esm/vs/editor/contrib/codelens/browser/codelensWidget.css'
DEB | [AssetHandler] Handling request '/node_modules/monaco-editor/esm/vs/editor/standalone/browser/iPadShowKeyboard/iPadShowKeyboard.css' (file='node_modules/monaco-editor/esm/vs/editor/standalone/browser/iPadShowKeyboard/iPadShowKeyboard.css')
DEB | [AssetHandler] File 'node_modules/monaco-editor/esm/vs/editor/standalone/browser/iPadShowKeyboard/iPadShowKeyboard.css' not found, serving '/node_modules/monaco-editor/esm/vs/editor/standalone/browser/iPadShowKeyboard/iPadShowKeyboard.css' by AssetHandler
DEB | [AssetHandler] Handling request '/node_modules/monaco-editor/esm/vs/editor/contrib/unicodeHighlighter/browser/bannerController.css' (file='node_modules/monaco-editor/esm/vs/editor/contrib/unicodeHighlighter/browser/bannerController.css')
DEB | [ExternalAssetHandler] Loading 'http://localhost:5173/node_modules/monaco-editor/esm/vs/editor/standalone/browser/iPadShowKeyboard/iPadShowKeyboard.css'
DEB | [AssetHandler] Handling request '/node_modules/monaco-editor/esm/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.css' (file='node_modules/monaco-editor/esm/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.css')
DEB | [AssetHandler] File 'node_modules/monaco-editor/esm/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.css' not found, serving '/node_modules/monaco-editor/esm/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.css' by

 ....


To develop in the browser and call your bound Go methods from Javascript, navigate to: http://localhost:34115


Caught quitCtrl+C detected. Shutting down...

2024/08/06 18:04:12 after save {{false 300 960 659 false 392 250} {auto auto  [] 14 3000 0 false false true  true} { [] 14 true true true true} {[] 14 block} []}
Development mode exited
 ♥   If Wails is useful to you or your company, please consider sponsoring the project:
https://github.com/sponsors/leaanthony

Steps to Reproduce:

  1. download release 1.1.14 and unpack
  2. wails dev

TaibiaoGuo avatar Aug 06 '24 10:08 TaibiaoGuo

There seems to be nothing wrong with the log. Can you launch the app with command wails dev

tiny-craft avatar Aug 07 '24 02:08 tiny-craft

image

Thank you, author. I used the wails dev command to create the environment.

I've added some materials, but the app interface is empty. You can visit http://localhost:34115/ to see the interface. The web version in the development environment has content and is working properly.

TaibiaoGuo avatar Aug 07 '24 06:08 TaibiaoGuo

Which macOS version you use? There's compatibility problems in 10.15 and below. The WKWebview is too old to launch monaco editor.

tiny-craft avatar Aug 07 '24 07:08 tiny-craft