You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vite v5.3.1 building for production...
transforming...
✓ 412 modules transformed.
x Build failed in 7.06s
error during build:
[vite]: Rollup failed to resolve import "copy-text-to-clipboard" from "/home/going/workspace/myspace/golang/tiny-rdm/frontend/src/components/content_value/ContentMonitor.vue".
This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to
`build.rollupOptions.external`
at viteWarn (file:///home/going/workspace/myspace/golang/tiny-rdm/frontend/node_modules/vite/dist/node/chunks/dep-BcXSligG.js:65810:17)
at onRollupWarning (file:///home/going/workspace/myspace/golang/tiny-rdm/frontend/node_modules/vite/dist/node/chunks/dep-BcXSligG.js:65845:5)
at onwarn (file:///home/going/workspace/myspace/golang/tiny-rdm/frontend/node_modules/vite/dist/node/chunks/dep-BcXSligG.js:65505:7)
at file:///home/going/workspace/myspace/golang/tiny-rdm/frontend/node_modules/rollup/dist/es/shared/node-entry.js:18303:13
at Object.logger [as onLog] (file:///home/going/workspace/myspace/golang/tiny-rdm/frontend/node_modules/rollup/dist/es/shared/node-entry.js:19950:9)
at ModuleLoader.handleInvalidResolvedId (file:///home/going/workspace/myspace/golang/tiny-rdm/frontend/node_modules/rollup/dist/es/shared/node-entry.js:18893:26)
at file:///home/going/workspace/myspace/golang/tiny-rdm/frontend/node_modules/rollup/dist/es/shared/node-entry.js:18851:26
Hi there 👋 We don't officially support WSL but I do know a good number of people use it successfully. I'd recommend asking on discord where I know some of those people hang out 👍
Description
When I'm building app on WSL ubuntu2004, I encounter the frontend compiling issue
To Reproduce
➜ tiny-rdm git:(main) wails dev
Wails CLI v2.9.1
Updating go.mod to use Wails 'v2.9.1'
Executing: go mod tidy
• Generating bindings: 2024/06/22 21:27:57 2024/06/22 21:27:57 preferences path: /root/.config/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 types.PreferencesCli types.PreferencesDecoder types.PreferencesEditor types.PreferencesGeneral types.SetHashParam types.SetKeyParam types.SetListParam types.SetSetParam types.SetZSetParam
types.ConnectionSSL
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 types.PreferencesCli types.PreferencesDecoder types.PreferencesEditor types.PreferencesGeneral types.SetHashParam types.SetKeyParam types.SetListParam types.SetSetParam types.SetZSetParam
...
types.PreferencesCli
Done.
• Installing frontend dependencies: Done.
• Compiling frontend:
> [email protected] build
> vite build
ERROR exit status 1
♥ If Wails is useful to you or your company, please consider sponsoring the project:
https://github.com/sponsors/leaanthony
Expected behaviour
The frontend can be compiled and dev run successfully.
Screenshots
No response
Attempted Fixes
No response
System Details
cat /etc/issue
Ubuntu 20.04.6 LTS \n \l
node -v
v20.11.0
npm -v
10.2.4
The text was updated successfully, but these errors were encountered: