Closed Andreas1331 closed 1 month ago
Facing the same issue with node v14.19.3
facing the same issue v18.19.1
facing the same issue v18.19.1
I made something similar with WebRTC for streaming video from DJI drones to a webbrowser. I have a public repository if it has any interest, as I did not manage to get this working.
Unable to run
npm start
and my findings show it might be due to outdated libraries not supported by newer versions of NodeJS. After runningnpm start
the following is printed and the server shuts down.ProjectRTC@0.4.0 start forever start app.js warn: --minUptime not set. Defaulting to: 1000ms warn: --spinSleepTime not set. Your script will exit if it does not stay up for at least 1000ms info: Forever processing file: app.js (node:12840) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency (Use 'node --trace-warnings ...' to show where the warning was created) (node:12840) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
EDIT: Running
npm install
also fails for multiple of the dependencies.npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'hawk@0.10.2', npm WARN EBADENGINE required: { node: '0.8.x' }, npm WARN EBADENGINE current: { node: 'v16.17.0', npm: '8.15.0' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'hoek@0.7.6', npm WARN EBADENGINE required: { node: '0.8.x' }, npm WARN EBADENGINE current: { node: 'v16.17.0', npm: '8.15.0' } npm WARN EBADENGINE } npm WARN deprecated multer@0.1.8: Multer 1.x is affected by CVE-2022-24434. This is fixed in v1.4.4-lts.1 which drops support for versions of Node.js before 6. Please upgrade to at least Node.js 6 and version 1.4.4-lts.1 of Multer. If you need support for older versions of Node.js, we are open to accepting patches that would fix the CVE on the main 1.x release line, whilst maintaining compatibility with Node.js 0.10. npm WARN deprecated transformers@2.1.0: Deprecated, use jstransformer npm WARN deprecated minimatch@0.0.5: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated constantinople@3.0.2: Please update to at least constantinople 3.1.1 npm WARN deprecated boom@0.3.1: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial). npm WARN deprecated cryptiles@0.1.0: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial). npm WARN deprecated sntp@0.1.2: This module moved to @hapi/sntp. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues. npm WARN deprecated hoek@0.4.2: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial). npm WARN deprecated hoek@0.4.2: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial). npm WARN deprecated hoek@0.7.6: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial). npm WARN deprecated node-uuid@1.4.8: Use uuid module instead npm WARN deprecated mkdirp@0.3.5: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.) npm WARN deprecated json3@3.2.6: Please use the native JSON object instead of JSON 3 npm WARN deprecated hawk@0.10.2: This module moved to @hapi/hawk. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues. npm WARN deprecated jade@1.11.0: Jade has been renamed to pug, please install the latest version of pug instead of jade npm WARN deprecated ejs@1.0.0: Critical security bugs fixed in 2.5.5 npm WARN deprecated request@2.16.6: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated request@2.9.203: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated request@2.9.203: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated request@2.9.203: request has been deprecated, see https://github.com/request/request/issues/3142 added 293 packages, and audited 294 packages in 21s 46 packages are looking for funding run 'npm fund' for details 39 vulnerabilities (3 low, 9 moderate, 20 high, 7 critical) To address issues that do not require attention, run: npm audit fix To address all issues (including breaking changes), run: npm audit fix --force Run 'npm audit' for details.
and second invocation of
npm install
yields this output:npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'hawk@0.10.2', npm WARN EBADENGINE required: { node: '0.8.x' }, npm WARN EBADENGINE current: { node: 'v16.17.0', npm: '8.15.0' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'hoek@0.7.6', npm WARN EBADENGINE required: { node: '0.8.x' }, npm WARN EBADENGINE current: { node: 'v16.17.0', npm: '8.15.0' } npm WARN EBADENGINE } added 3 packages, removed 1 package, changed 1 package, and audited 296 packages in 1s 46 packages are looking for funding run
npm fundfor details 38 vulnerabilities (3 low, 9 moderate, 19 high, 7 critical) To address issues that do not require attention, run: npm audit fix To address all issues (including breaking changes), run: npm audit fix --force Run 'npm audit' for details.