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
When running tools/yarn.sh, the build for the UI (yarn dist:webui) fails:
failed to load config from /opt/bitfocus-companion/webui/vite.config.js
error during build:
TypeError: envCompatible.default is not a function
at file:///opt/bitfocus-companion/webui/vite.config.js.timestamp-1718091481900-e3121e5b7cf45.mjs:28:26
at ModuleJob.run (node:internal/modules/esm/module_job:195:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:337:24)
at async loadConfigFromBundledFile (file:///opt/bitfocus-companion/node_modules/vite/dist/node/chunks/dep-_QLjGPdL.js:68687:21)
at async loadConfigFromFile (file:///opt/bitfocus-companion/node_modules/vite/dist/node/chunks/dep-_QLjGPdL.js:68540:28)
at async resolveConfig (file:///opt/bitfocus-companion/node_modules/vite/dist/node/chunks/dep-_QLjGPdL.js:68150:28)
at async build (file:///opt/bitfocus-companion/node_modules/vite/dist/node/chunks/dep-_QLjGPdL.js:67285:20)
at async CAC.<anonymous> (file:///opt/bitfocus-companion/node_modules/vite/dist/node/cli.js:842:9)
Steps To Reproduce
Check out the 3.3.1 git tag
run tools/update.sh
Expected Behavior
install succeeds without issues.
Environment (please complete the following information)
[hostname][/opt/bitfocus-companion] > dpkg -l | grep node
ii node-semver 7.1.3-1 all Semantic Versioning for Node.js
ii nodejs 18.20.3-1nodesource1 amd64 Node.js event-based server-side javascript engine
[hostname][/opt/bitfocus-companion] > lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.6 LTS
Release: 20.04
Codename: focal
[hostname][/opt/bitfocus-companion] > git status
HEAD detached at v3.3.1
Changes not staged for commit:
(use "git add/rm <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: bundled-modules (new commits)
deleted: module-local-dev/.gitignore
deleted: module-local-dev/package.json
Untracked files:
(use "git add <file>..." to include in what will be committed)
module-legacy/.yarn/
module-legacy/.yarnrc
module-local-dev/companion-module-knxip/
no changes added to commit (use "git add" and/or "git commit -a")
### Additional context
_No response_
The text was updated successfully, but these errors were encountered:
Last time I saw this, was because it had the wrong version of the lib installed. But why that would be happening here I couldn't say.
I don't have any ideas on where to begin looking into this, it seems to be fine when run elsewhere
Is this a bug in companion itself or a module?
Is there an existing issue for this?
Describe the bug
When running
tools/yarn.sh
, the build for the UI (yarn dist:webui
) fails:Steps To Reproduce
3.3.1
git tagtools/update.sh
Expected Behavior
install succeeds without issues.
Environment (please complete the following information)
The text was updated successfully, but these errors were encountered: