twilio / rtc-diagnostics

Other
46 stars 14 forks source link

Dependecies issues when building from source #71

Open evanTheTerribleWarrior opened 1 year ago

evanTheTerribleWarrior commented 1 year ago

When I try to npm install I get:

**npm install npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: @twilio/rtc-diagnostics@1.0.1-dev npm ERR! Found: typedoc@0.15.0 npm ERR! node_modules/typedoc npm ERR! dev typedoc@"0.15.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer typedoc@">=0.7.0 <0.15.0" from typedoc-plugin-external-module-name@3.0.0 npm ERR! node_modules/typedoc-plugin-external-module-name npm ERR! dev typedoc-plugin-external-module-name@"3.0.0" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force, or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution. npm ERR! npm ERR! See /Users//.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in: npm ERR! /Users//.npm/_logs/2023-01-24T21_27_42_265Z-debug.log**

Then if I downgrade typedoc and try again

**@rtc-diagnostics % npm install npm WARN deprecated @types/handlebars@4.1.0: This is a stub types definition. handlebars provides its own type definitions, so you do not need this installed. npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated date-format@2.1.0: 2.x is no longer supported. Please upgrade to 4.x or higher. npm WARN deprecated debug@3.2.6: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead. npm WARN deprecated streamroller@1.0.6: 1.x is no longer supported. Please upgrade to 3.x or higher. npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated mkdirp@0.5.1: 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 request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated log4js@4.5.1: 4.x is no longer supported. Please upgrade to 6.x or higher. npm WARN deprecated istanbul@0.4.5: This module is no longer maintained, try this instead: npm WARN deprecated npm i nyc npm WARN deprecated Visit https://istanbul.js.org/integrations for other alternatives. npm WARN deprecated highlight.js@9.12.0: Version no longer supported. Upgrade to @latest npm ERR! code 6 npm ERR! git dep preparation failed npm ERR! command /usr/local/bin/node /usr/local/lib/node_modules/npm/bin/npm-cli.js install --force --cache=/Users//.npm --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit --include=dev --include=peer --include=optional --no-package-lock-only --no-dry-run npm ERR! > typedoc-twilio-theme@1.0.0 prepublish npm ERR! > npm run build npm ERR! npm ERR! npm ERR! > typedoc-twilio-theme@1.0.0 build npm ERR! > npm run clean && npm run grunt npm ERR! npm ERR! npm ERR! > typedoc-twilio-theme@1.0.0 clean npm ERR! > rimraf bin npm ERR! npm ERR! npm ERR! > typedoc-twilio-theme@1.0.0 grunt npm ERR! > grunt npm ERR! npm ERR! Running "copy:plugin" (copy) task npm ERR! Copied 1 file npm ERR! npm ERR! Running "copy:themeDefault" (copy) task npm ERR! Copied 36 files npm ERR! npm ERR! Running "copy:themeDefault2Minimal" (copy) task npm ERR! Copied 23 files npm ERR! npm ERR! Running "copy:themeMinimal" (copy) task npm ERR! Copied 4 files npm ERR! npm ERR! Running "sass:themeDefault" (sass) task npm ERR! Warning: npm ERR! You need to have Ruby and Sass installed and in your PATH for this task to work. npm ERR! More info: https://github.com/gruntjs/grunt-contrib-sass npm ERR! Use --force to continue. npm ERR! npm ERR! Aborted due to warnings. npm ERR! npm WARN using --force Recommended protections disabled. npm ERR! npm WARN deprecated browserslist@0.4.0: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools. npm ERR! npm WARN deprecated chokidar@1.0.6: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies. npm ERR! npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm ERR! npm WARN deprecated fsevents@0.3.8: "Please update to latest v2.3 or v2.2" npm ERR! npm WARN deprecated grunt-string-replace@1.3.3: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. npm ERR! npm WARN using --force Recommended protections disabled. npm ERR! npm WARN using --force Recommended protections disabled. npm ERR! npm WARN using --force Recommended protections disabled. npm ERR! npm ERR! code 6 npm ERR! npm ERR! path /Users//.npm/_cacache/tmp/git-clonepnX7HZ npm ERR! npm ERR! command failed npm ERR! npm ERR! command sh -c npm run build npm ERR! npm ERR! npm ERR! A complete log of this run can be found in: npm ERR! npm ERR! /Users//.npm/_logs/2023-01-24T21_29_30_790Z-debug.log

npm ERR! A complete log of this run can be found in: npm ERR! /Users//.npm/_logs/2023-01-24T21_29_38_592Z-debug.log**

And same if I try with --force

charliesantos commented 1 year ago

@evanTheTerribleWarrior thanks for the report. This was built using an earlier version of node. Can you please try building on node 14 or even 12?