Lissy93 / dashy

🚀 A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!
https://dashy.to
MIT License
18.07k stars 1.36k forks source link

[BUG] Dashy no longer builds from source on a clean install. #1684

Closed ZanzyTHEbar closed 2 months ago

ZanzyTHEbar commented 2 months ago

Environment

Other (Specify below)

System

Debian 12

Version

3.1.1

Describe the problem

  1. clone
  2. yarn install <-- install deps, yarn build doesnt even run without this, yet this isnt in the docs. I only knew to do this since i am a developer
  3. yarn build <-- fails

Additional info

 WARN  A new version of sass-loader is available. Please upgrade for best experience.
⠏  Building for production...

 ERROR  Failed to compile with 1 error                                                                                      9:38:25 AM

 error  in ./src/main.js

Syntax Error: Error: [BABEL] /root/dashy/src/main.js: @babel/preset-env: The plugins/built-ins 'es.array.iterator, es.promise, es.object.assign, es.promise.finally' passed to the 'exclude' option are not
    valid. Please check data/[plugin-features|built-in-features].js in babel-preset-env (While processing: "/root/dashy/node_modules/.pnpm/@vue+babel-preset-app@4.5.19_@babel+core@7.25.2_vue@2.7.16/node_modules/@vue/babel-preset-app/index.js.overrides[0]$0")
    at Generator.next (<anonymous>)
    at Generator.next (<anonymous>)
    at Generator.next (<anonymous>)
    at Generator.next (<anonymous>)
    at cachedFunction.next (<anonymous>)
    at loadPresetDescriptor.next (<anonymous>)
    at recursePresetDescriptors.next (<anonymous>)
    at recursePresetDescriptors.next (<anonymous>)
    at Generator.next (<anonymous>)
    at loadFullConfig.next (<anonymous>)
    at transform.next (<anonymous>)

 @ multi ./src/main.js

 ERROR  Build failed with errors.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Please tick the boxes

CrazyWolf13 commented 2 months ago

Hi

What version of node are you running?

Can you test the following?

git clone https://github.com/lissy93/dashy
cd dashy
yarn --ignore-engines
yarn build-and-start