There appear to be reports of Node 18+ causing the error below because of an underlying SSL change (there are recent posts here, for example), and from what I've found, patching PKGBUILD as below might solve it.
export NODE_OPTIONS=--openssl-legacy-provider
in case you got this error while compiling
Error: error:0308010C:digital envelope routines::unsupported at new Hash (node:internal/crypto/hash:71:19) at Object.createHash (node:crypto:140:10) at module.exports (/tmp/fspy/src/fSpy-1.0.3/node_modules/webpack/lib/util/createHash.js:75:53) at NormalModule._initBuildHash (/tmp/fspy/src/fSpy-1.0.3/node_modules/webpack/lib/NormalModule.js:346:16) at handleParseError (/tmp/fspy/src/fSpy-1.0.3/node_modules/webpack/lib/NormalModule.js:394:10) at /tmp/fspy/src/fSpy-1.0.3/node_modules/webpack/lib/NormalModule.js:426:5 at /tmp/fspy/src/fSpy-1.0.3/node_modules/webpack/lib/NormalModule.js:287:12 at /tmp/fspy/src/fSpy-1.0.3/node_modules/loader-runner/lib/LoaderRunner.js:370:3 at iterateNormalLoaders (/tmp/fspy/src/fSpy-1.0.3/node_modules/loader-runner/lib/LoaderRunner.js:211:10) at iterateNormalLoaders (/tmp/fspy/src/fSpy-1.0.3/node_modules/loader-runner/lib/LoaderRunner.js:218:10) at /tmp/fspy/src/fSpy-1.0.3/node_modules/loader-runner/lib/LoaderRunner.js:233:3 at context.callback (/tmp/fspy/src/fSpy-1.0.3/node_modules/loader-runner/lib/LoaderRunner.js:111:13) at module.exports (/tmp/fspy/src/fSpy-1.0.3/node_modules/babel-loader/lib/index.js:182:8) at LOADER_EXECUTION (/tmp/fspy/src/fSpy-1.0.3/node_modules/loader-runner/lib/LoaderRunner.js:119:14) at runSyncOrAsync (/tmp/fspy/src/fSpy-1.0.3/node_modules/loader-runner/lib/LoaderRunner.js:120:4) at iterateNormalLoaders (/tmp/fspy/src/fSpy-1.0.3/node_modules/loader-runner/lib/LoaderRunner.js:229:2) at iterateNormalLoaders (/tmp/fspy/src/fSpy-1.0.3/node_modules/loader-runner/lib/LoaderRunner.js:218:10) at /tmp/fspy/src/fSpy-1.0.3/node_modules/loader-runner/lib/LoaderRunner.js:233:3 at context.callback (/tmp/fspy/src/fSpy-1.0.3/node_modules/loader-runner/lib/LoaderRunner.js:111:13) at successLoader (/tmp/fspy/src/fSpy-1.0.3/node_modules/ts-loader/dist/index.js:51:5) at Object.loader (/tmp/fspy/src/fSpy-1.0.3/node_modules/ts-loader/dist/index.js:21:12) at LOADER_EXECUTION (/tmp/fspy/src/fSpy-1.0.3/node_modules/loader-runner/lib/LoaderRunner.js:119:14) at runSyncOrAsync (/tmp/fspy/src/fSpy-1.0.3/node_modules/loader-runner/lib/LoaderRunner.js:120:4) at iterateNormalLoaders (/tmp/fspy/src/fSpy-1.0.3/node_modules/loader-runner/lib/LoaderRunner.js:229:2) at iterateNormalLoaders (/tmp/fspy/src/fSpy-1.0.3/node_modules/loader-runner/lib/LoaderRunner.js:218:10) at /tmp/fspy/src/fSpy-1.0.3/node_modules/loader-runner/lib/LoaderRunner.js:233:3 at context.callback (/tmp/fspy/src/fSpy-1.0.3/node_modules/loader-runner/lib/LoaderRunner.js:111:13) at module.exports (/tmp/fspy/src/fSpy-1.0.3/node_modules/tslint-loader/index.js:141:3) at LOADER_EXECUTION (/tmp/fspy/src/fSpy-1.0.3/node_modules/loader-runner/lib/LoaderRunner.js:119:14) at runSyncOrAsync (/tmp/fspy/src/fSpy-1.0.3/node_modules/loader-runner/lib/LoaderRunner.js:120:4) at iterateNormalLoaders (/tmp/fspy/src/fSpy-1.0.3/node_modules/loader-runner/lib/LoaderRunner.js:229:2) at Array.<anonymous> (/tmp/fspy/src/fSpy-1.0.3/node_modules/loader-runner/lib/LoaderRunner.js:202:4) at Storage.finished (/tmp/fspy/src/fSpy-1.0.3/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:43:16) at /tmp/fspy/src/fSpy-1.0.3/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:79:9 at /tmp/fspy/src/fSpy-1.0.3/node_modules/graceful-fs/graceful-fs.js:78:16 at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3) { opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ], library: 'digital envelope routines', reason: 'unsupported', code: 'ERR_OSSL_EVP_UNSUPPORTED' }
Node.js v19.4.0
Pinned Comments
bplinux commented on 2020-04-02 18:07 (UTC)
Thanks supermuffin, i added gconf to deps. I am currently not able to check this package due to internet problems so i need those valuable information. I try to keep this up.
supermuffin commented on 2020-04-02 17:05 (UTC)
Thanks for the suggestion, it runs now with gconf. Why don't you include gconf [community] instead of lib32-gconf [AUR]? This way it would build and run out of the box. I don't think the developer will drop this dependency soon.