Closed Alion548 closed 2 years ago
Hi.
I'm aware of the problems with dependencies (https://github.com/NetrisTV/ws-scrcpy/pull/193).
Installation finished succesfully, everything should work. Those messages are just warning, there is nothing really dangerous.
But yes, they are annoying. I will try to review and merge #193 soon.
Hi.
I'm aware of the problems with dependencies (#193).
Installation finished succesfully, everything should work. Those messages are just warning, there is nothing really dangerous.
But yes, they are annoying. I will try to review and merge #193 soon.
Hi, I tried to start the service but it failed.
npm start
> ws-scrcpy@0.7.1 start
> npm run dist && npm run start:dist
> ws-scrcpy@0.7.1 dist
> npm run dist:prod
> ws-scrcpy@0.7.1 dist:prod
> npm run build:prod:webpack && npm run copy:package.json && npm run copy:license
> ws-scrcpy@0.7.1 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)
Error: error:0308010C:digital envelope routines::unsupported
This is caused by breaking change in node v17 (https://github.com/NetrisTV/ws-scrcpy/issues/172#issuecomment-1032560585).
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 --openssl-legacy-provider
with node v17 (more info)
Error: error:0308010C:digital envelope routines::unsupported
fixed in #218
I updated my system to Fedora 36 and found that ws-scrcpy could not be installed.