As I was unable to build the poe-webapp on a Mac, I switched to Ubuntu. Yarn install and the requirements installation went Ok this time. However, yarn start returns an error. I'm a little disappointed about all these issues for something that is supposed to be a piece of cake. Is anyone able to point me on a solution to fix the issue, see below log (unfortunately uploading text files is not allowed and I couldn't find a list of allowed file types)
parallels@u:~/depthai-poe-webapp-main$ yarn start
yarn run v1.22.21
$ vue-cli-service build && python depthai/main.py
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Why you should do it regularly:
browserslist/browserslist#browsers-data-updating
⠹ Building for production...Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:68:19)
at Object.createHash (node:crypto:138:10)
at module.exports (/home/parallels/depthai-poe-webapp-main/node_modules/webpack/lib/util/createHash.js:135:53)
at NormalModule._initBuildHash (/home/parallels/depthai-poe-webapp-main/node_modules/webpack/lib/NormalModule.js:417:16)
at handleParseError (/home/parallels/depthai-poe-webapp-main/node_modules/webpack/lib/NormalModule.js:471:10)
at /home/parallels/depthai-poe-webapp-main/node_modules/webpack/lib/NormalModule.js:503:5
at /home/parallels/depthai-poe-webapp-main/node_modules/webpack/lib/NormalModule.js:358:12
at /home/parallels/depthai-poe-webapp-main/node_modules/loader-runner/lib/LoaderRunner.js:373:3
at iterateNormalLoaders (/home/parallels/depthai-poe-webapp-main/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
at iterateNormalLoaders (/home/parallels/depthai-poe-webapp-main/node_modules/loader-runner/lib/LoaderRunner.js:221:10)
at /home/parallels/depthai-poe-webapp-main/node_modules/loader-runner/lib/LoaderRunner.js:236:3
at runSyncOrAsync (/home/parallels/depthai-poe-webapp-main/node_modules/loader-runner/lib/LoaderRunner.js:130:11)
at iterateNormalLoaders (/home/parallels/depthai-poe-webapp-main/node_modules/loader-runner/lib/LoaderRunner.js:232:2)
at Array.<anonymous> (/home/parallels/depthai-poe-webapp-main/node_modules/loader-runner/lib/LoaderRunner.js:205:4)
at Storage.finished (/home/parallels/depthai-poe-webapp-main/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:55:16)
at /home/parallels/depthai-poe-webapp-main/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:91:9
⠦ Building for production...Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Why you should do it regularly:
browserslist/browserslist#browsers-data-updating
⠧ Building for production.../home/parallels/depthai-poe-webapp-main/node_modules/loader-runner/lib/LoaderRunner.js:114
throw e;
^
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:68:19)
at Object.createHash (node:crypto:138:10)
at module.exports (/home/parallels/depthai-poe-webapp-main/node_modules/webpack/lib/util/createHash.js:135:53)
at NormalModule._initBuildHash (/home/parallels/depthai-poe-webapp-main/node_modules/webpack/lib/NormalModule.js:417:16)
at handleParseError (/home/parallels/depthai-poe-webapp-main/node_modules/webpack/lib/NormalModule.js:471:10)
at /home/parallels/depthai-poe-webapp-main/node_modules/webpack/lib/NormalModule.js:503:5
at /home/parallels/depthai-poe-webapp-main/node_modules/webpack/lib/NormalModule.js:358:12
at /home/parallels/depthai-poe-webapp-main/node_modules/loader-runner/lib/LoaderRunner.js:373:3
at iterateNormalLoaders (/home/parallels/depthai-poe-webapp-main/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
at iterateNormalLoaders (/home/parallels/depthai-poe-webapp-main/node_modules/loader-runner/lib/LoaderRunner.js:221:10)
at /home/parallels/depthai-poe-webapp-main/node_modules/loader-runner/lib/LoaderRunner.js:236:3
at context.callback (/home/parallels/depthai-poe-webapp-main/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
at /home/parallels/depthai-poe-webapp-main/node_modules/cache-loader/dist/index.js:147:7
at /home/parallels/depthai-poe-webapp-main/node_modules/graceful-fs/graceful-fs.js:61:14
at FSReqCallback.oncomplete (node:fs:189:23) {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
Node.js v21.2.0