-
Notifications
You must be signed in to change notification settings - Fork 343
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fedora 36 does not install properly. #199
Comments
Hi, I tried to start the service but it failed. npm start
> [email protected] start
> npm run dist && npm run start:dist
> [email protected] dist
> npm run dist:prod
> [email protected] dist:prod
> npm run build:prod:webpack && npm run copy:package.json && npm run copy:license
> [email protected] build:prod:webpack
> webpack --config webpack/ws-scrcpy.prod.ts
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:67:19)
at Object.createHash (node:crypto:130:10)
at module.exports (/root/service/ws-scrcpy/node_modules/webpack/lib/util/createHash.js:135:53)
at NormalModule._initBuildHash (/root/service/ws-scrcpy/node_modules/webpack/lib/NormalModule.js:417:16)
at handleParseError (/root/service/ws-scrcpy/node_modules/webpack/lib/NormalModule.js:471:10)
at /root/service/ws-scrcpy/node_modules/webpack/lib/NormalModule.js:503:5
at /root/service/ws-scrcpy/node_modules/webpack/lib/NormalModule.js:358:12
at /root/service/ws-scrcpy/node_modules/loader-runner/lib/LoaderRunner.js:373:3
at iterateNormalLoaders (/root/service/ws-scrcpy/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
at iterateNormalLoaders (/root/service/ws-scrcpy/node_modules/loader-runner/lib/LoaderRunner.js:221:10)
at /root/service/ws-scrcpy/node_modules/loader-runner/lib/LoaderRunner.js:236:3
at context.callback (/root/service/ws-scrcpy/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
at makeSourceMapAndFinish (/root/service/ws-scrcpy/node_modules/ts-loader/dist/index.js:59:5)
at successLoader (/root/service/ws-scrcpy/node_modules/ts-loader/dist/index.js:41:5)
at Object.loader (/root/service/ws-scrcpy/node_modules/ts-loader/dist/index.js:24:5)
at LOADER_EXECUTION (/root/service/ws-scrcpy/node_modules/loader-runner/lib/LoaderRunner.js:119:14)
at runSyncOrAsync (/root/service/ws-scrcpy/node_modules/loader-runner/lib/LoaderRunner.js:120:4)
at iterateNormalLoaders (/root/service/ws-scrcpy/node_modules/loader-runner/lib/LoaderRunner.js:232:2)
at Array.<anonymous> (/root/service/ws-scrcpy/node_modules/loader-runner/lib/LoaderRunner.js:205:4)
at Storage.finished (/root/service/ws-scrcpy/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:55:16)
at /root/service/ws-scrcpy/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:91:9
at /root/service/ws-scrcpy/node_modules/graceful-fs/graceful-fs.js:123:16
at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3)
|
This is caused by breaking change in node v17 (#172 (comment)). It will require to upgrade to webpack@5 to fix this (i.e. to make ws-scrcpy compatible with node v17). You can downgrade to node v16 (it is LTS) or use |
fixed in #218 |
I updated my system to Fedora 36 and found that ws-scrcpy could not be installed.
The text was updated successfully, but these errors were encountered: