LiveSplit / LiveSplitOne

A version of LiveSplit that works on a lot of platforms.
https://one.livesplit.org/
MIT License
251 stars 29 forks source link

Have an errors while compile LiveSplitOne #758

Closed Limemani closed 1 year ago

Limemani commented 1 year ago
livesplit@1.0.0
├─┬ https://opencollective.com/webpack
│ └── css-loader@6.7.1, file-loader@6.2.0, sass-loader@13.1.0, source-map-loader@4.0.1, style-loader@3.3.1, webpack@5.74.0, webpack-cli@4.10.0, webpack-dev-server@4.11.1, schema-utils@3.1.1, terser-webpack-plugin@5.3.6, webpack-dev-middleware@5.3.3, schema-utils@4.0.0
├─┬ https://opencollective.com/html-webpack-plugin
│ └── html-webpack-plugin@5.5.0
├─┬ https://github.com/sponsors/sindresorhus
│ └── leven@4.0.0, find-up@5.0.0, locate-path@6.0.0, p-locate@5.0.0, p-limit@3.1.0, yocto-queue@0.1.0, del@6.1.1, globby@11.1.0, p-map@4.0.0, get-stream@5.2.0, mimic-response@2.1.0, escape-string-regexp@4.0.0, log-symbols@4.1.0, strip-json-comments@3.1.1, is-unicode-supported@0.1.0, camelcase@6.3.0, decamelize@4.0.0, import-local@3.1.0, p-limit@2.3.0, open@8.4.0, get-stream@6.0.1, is-stream@2.0.1, onetime@5.1.2, is-plain-obj@3.0.0, is-docker@2.2.1, pretty-bytes@5.6.0, tempy@0.6.0, builtin-modules@3.3.0, type-fest@0.16.0
├─┬ https://opencollective.com/mochajs
│ └── mocha@10.0.0
├─┬ https://opencollective.com/node-fetch
│ └── node-fetch@3.2.10
├─┬ https://opencollective.com/core-js
│ └── core-js-pure@3.25.5, core-js-compat@3.25.5
├─┬ https://github.com/sponsors/epoberezkin
│ └── ajv@6.12.6, ajv@8.11.0
├─┬ https://github.com/sponsors/RubenVerborgh
│ └── follow-redirects@1.15.2
├─┬ https://github.com/sponsors/isaacs
│ └── rimraf@3.0.2, glob@7.2.0
├─┬ https://github.com/sponsors/feross
│ └── run-parallel@1.2.0, queue-microtask@1.2.3, simple-concat@1.0.1, safe-buffer@5.2.1
├─┬ https://www.patreon.com/feross
│ └── run-parallel@1.2.0, queue-microtask@1.2.3, simple-concat@1.0.1, safe-buffer@5.2.1
├─┬ https://feross.org/support
│ └── run-parallel@1.2.0, queue-microtask@1.2.3, simple-concat@1.0.1, safe-buffer@5.2.1
├─┬ https://github.com/sponsors/jonschlinkert
│ └── picomatch@2.3.1
├─┬ https://opencollective.com/postcss/
│ └── postcss@8.4.17
├─┬ https://tidelift.com/funding/github/npm/postcss
│ └── postcss@8.4.17
├─┬ https://github.com/inikulin/parse5?sponsor=1
│ └── parse5@7.1.1
├─┬ https://github.com/fb55/entities?sponsor=1
│ └── entities@4.4.0, entities@2.2.0
├─┬ https://github.com/sponsors/fb55
│ └── css-select@4.3.0, htmlparser2@6.1.0, css-what@6.1.0, domelementtype@2.3.0
├─┬ https://github.com/fb55/htmlparser2?sponsor=1
│ └── htmlparser2@6.1.0
├─┬ https://github.com/fb55/domhandler?sponsor=1
│ └── domhandler@4.3.1
├─┬ https://github.com/fb55/domutils?sponsor=1
│ └── domutils@2.8.0
├─┬ https://github.com/fb55/nth-check?sponsor=1
│ └── nth-check@2.1.1
├─┬ https://github.com/cheeriojs/dom-serializer?sponsor=1
│ └── dom-serializer@1.4.1
├─┬ https://github.com/chalk/chalk?sponsor=1
│ └── chalk@4.1.2
├─┬ https://github.com/chalk/ansi-styles?sponsor=1
│ └── ansi-styles@4.3.0
├─┬ https://github.com/sponsors/ljharb
│ └── qs@6.11.0, side-channel@1.0.4, call-bind@1.0.2, get-intrinsic@1.1.3, object-inspect@1.12.2, has-symbols@1.0.3, resolve@1.22.1, is-core-module@2.10.0, supports-preserve-symlinks-flag@1.0.0, qs@6.10.3, object.assign@4.1.4, define-properties@1.1.4, has-property-descriptors@1.0.0, string.prototype.matchall@4.0.7, es-abstract@1.20.4, regexp.prototype.flags@1.4.3, es-to-primitive@1.2.1, function.prototype.name@1.1.5, get-symbol-description@1.0.0, is-callable@1.2.7, is-negative-zero@2.0.2, is-regex@1.1.4, is-shared-array-buffer@1.0.2, is-string@1.0.7, is-weakref@1.0.2, safe-regex-test@1.0.0, string.prototype.trimend@1.0.5, string.prototype.trimstart@1.0.5, unbox-primitive@1.0.2, is-date-object@1.0.5, is-symbol@1.0.4, has-tostringtag@1.0.0, functions-have-names@1.2.3, has-bigints@1.0.2, which-boxed-primitive@1.0.2, is-bigint@1.0.4, is-boolean-object@1.1.2, is-number-object@1.0.7
├─┬ https://paulmillr.com/funding/
│ └── chokidar@3.5.3
├─┬ https://github.com/chalk/supports-color?sponsor=1
│ └── supports-color@8.1.1
├─┬ https://github.com/chalk/wrap-ansi?sponsor=1
│ └── wrap-ansi@7.0.0
├─┬ https://github.com/sponsors/jimmywarting
│ └── fetch-blob@3.2.0, node-domexception@1.0.0
├─┬ https://paypal.me/jimmywarting
│ └── fetch-blob@3.2.0, node-domexception@1.0.0
├─┬ https://opencollective.com/browserslist
│ └── browserslist@4.21.4, caniuse-lite@1.0.30001418, update-browserslist-db@1.0.10
├─┬ https://tidelift.com/funding/github/npm/browserslist
│ └── browserslist@4.21.4, update-browserslist-db@1.0.10
├─┬ https://tidelift.com/funding/github/npm/caniuse-lite
│ └── caniuse-lite@1.0.30001418
├─┬ https://github.com/sindresorhus/execa?sponsor=1
│ └── execa@5.1.1
└─┬ https://opencollective.com/babel
  └── @babel/core@7.19.3

that what i get by npm fund, and idk how to fix this. and when i run npm run build:core i get this

> livesplit@1.0.0 build:core /home/user/LiveSplitOne
> node buildCore.js

/home/user/LiveSplitOne/buildCore.js:1
import { execSync } from "child_process";
       ^

SyntaxError: Unexpected token {
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
    at startup (internal/bootstrap/node.js:283:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! livesplit@1.0.0 build:core: `node buildCore.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the livesplit@1.0.0 build:core script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/user/.npm/_logs/2022-12-16T23_15_57_326Z-debug.log

what i did wrong?

wooferzfg commented 1 year ago

Are you using Node 18?

Limemani commented 1 year ago

Node v10.19.0 (defaultly installed in my os)

CryZe commented 1 year ago

That's almost definitely too old.

Limemani commented 1 year ago

ok, thanks, now it's works