π A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!
Vue awesomedashboarddockerhomelabhomepagemitnodejsorganizationproductivitypwaself-hostedstartpagevue
π§ Refine yarn/engines config
Alicia Sykesd789bf137e81
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 1d77870b..75ae10e0 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -50,7 +50,7 @@ jobs:run: yarn install --frozen-lockfile --ignore-engines --network-timeout 300000- name: ποΈ Build app- run: NODE_OPTIONS=--openssl-legacy-provider yarn build --mode production+ run: yarn build --mode production- name: π¦ Package release tarballid: packagediff --git a/docs/troubleshooting.md b/docs/troubleshooting.mdindex 097e20a4..6ccf2875 100644--- a/docs/troubleshooting.md+++ b/docs/troubleshooting.md@@ -34,6 +34,7 @@- [Remote Config Not Loading](#remote-config-not-loading)- [Build & memory errors](#build--memory-errors)- [Yarn Build or Run Error](#yarn-error)+ - [The engine "node" is incompatible with this module](#the-engine-node-is-incompatible-with-this-module)- [`yarn build` fails inside the container](#yarn-build-fails-inside-the-container)- [High CPU or RAM Usage on Startup](#high-cpu-or-ram-usage-on-startup)- [Heap limit Allocation failed](#ineffective-mark-compacts-near-heap-limit-allocation-failed)@@ -372,6 +373,19 @@ Alternatively, as a workaround, you have several options:- Try using [NPM](https://www.npmjs.com/get-npm) instead: So clone, cd, then run `npm install`, `npm run build` and `npm start`- Try using [Docker](https://www.docker.com/get-started) instead, and all of the system setup and dependencies will already be taken care of. So from within the directory, just run `docker build -t lissy93/dashy .` to build, and then use docker start to run the project, e.g: `docker run -it -p 8080:8080 lissy93/dashy` (see the [deploying docs](https://github.com/Lissy93/dashy/blob/master/docs/deployment.md#deploy-with-docker) for more info)+### The engine "node" is incompatible with this module++You'll see this error while running `yarn`, if your version of Node is too old or incompatible.++The solution is to upgrade to the latest LTS version of Node 24.+Alternatively (not recommended), you can ignore this warning by running `yarn install --ignore-engines`.+++Dashy needs Node **`^22.18.0 || >=24.11.0`** - that's either the Node 22 LTS line at 22.18.0 or newer, or 24.11.0 or newer.+Check your current version with `node --version`.+The easiest way to do this, is to use a version manager, like [nvm](https://github.com/nvm-sh/nvm) to quickly download and apply different node versions. Run `nvm install 24` then `nvm use 24`.++### `yarn build` fails inside the containerIf you run `docker exec <container> yarn build` and get `vite: not found` (or similar), it's because the published image ships only production dependencies. The build toolchain (vite, vue-tsc, sass, etc.) lives in `devDependencies` and isn't installed in the runtime image.diff --git a/package.json b/package.jsonindex 533f0273..f866b986 100644--- a/package.json+++ b/package.json@@ -22,7 +22,6 @@"dependency-audit": "npx improved-yarn-audit --ignore-dev-deps"},"dependencies": {- "@babel/plugin-transform-modules-systemjs": "^7.29.4","@codemirror/autocomplete": "^6.20.3","@codemirror/commands": "^6.10.4","@codemirror/lang-yaml": "^6.1.3",@@ -48,9 +47,7 @@"keycloak-js": "^26.0.0","oidc-client-ts": "^3.0.1","pingman": "^2.2.0",- "postcss": "^8.5.14","rsup-progress": "^3.2.0",- "serialize-javascript": "^7.0.3","simple-icons": "^16.26.0","sortablejs": "^1.15.7","vue": "^3.5.40",@@ -72,6 +69,7 @@"eslint-plugin-vue": "^10.9.2","globals": "^17.7.0","happy-dom": "^20.11.0",+ "postcss": "^8.5.14","sass": "^1.101.0","supertest": "^7.2.2","typescript": "^6.0.3",@@ -83,7 +81,7 @@"vue-tsc": "^3.3.7"},"engines": {- "node": "^22.13.0 || >=24.0.0"+ "node": "^22.18.0 || >=24.11.0"},"postcss": {"plugins": {@@ -95,12 +93,7 @@"last 2 versions"],"resolutions": {- "braces": "^3.0.3",- "micromatch": "^4.0.8",- "postcss": "^8.5.14",- "serialize-javascript": "^7.0.3",- "vite": "^8.1.5",- "@babel/plugin-transform-modules-systemjs": "^7.29.4"+ "serialize-javascript": "^7.0.3"},"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"}diff --git a/yarn.lock b/yarn.lockindex a8b37aa3..1c0eab96 100644--- a/yarn.lock+++ b/yarn.lock@@ -513,7 +513,7 @@"@babel/helper-module-transforms" "^7.29.7""@babel/helper-plugin-utils" "^7.29.7"-"@babel/plugin-transform-modules-systemjs@^7.29.4", "@babel/plugin-transform-modules-systemjs@^7.29.7":+"@babel/plugin-transform-modules-systemjs@^7.29.7":version "7.29.7"resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.29.7.tgz#e575dd2ab9882906de120ff7dc9dee9914d8b6f3"integrity sha512-TM2ZcQLoG2/y4HODiStCo10DibYhWhGWAwVv+EQKmG/7GFl0N+AAmUiXOMKM+aiJ9XBJ9AHVZBvTzMnJ2sM3cQ==