beyondplayer icon indicating copy to clipboard operation
beyondplayer copied to clipboard

安装失败

Open harichen opened this issue 3 years ago • 5 comments

(base) ➜ scripts git:(master) ./install_mpvjs.sh npm ERR! prepareGitDep 1> npm ERR! prepareGitDep > [email protected] install /Users/chenjianhong/.npm/_cacache/tmp/git-clone-d7a2a807/node_modules/husky npm ERR! prepareGitDep > node husky install npm ERR! prepareGitDep npm ERR! prepareGitDep husky > Setting up git hooks npm ERR! prepareGitDep ENOENT: no such file or directory, mkdir '.git/hooks' npm ERR! prepareGitDep husky > Failed to install npm ERR! prepareGitDep npm ERR! prepareGitDep > [email protected] install /Users/chenjianhong/.npm/_cacache/tmp/git-clone-d7a2a807/node_modules/sqlite3 npm ERR! prepareGitDep > node-pre-gyp install --fallback-to-build npm ERR! prepareGitDep npm ERR! prepareGitDep Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/Users/chenjianhong/.npm/_cacache/tmp/git-clone-d7a2a807/node_modules/sqlite3/lib/binding/node-v83-darwin-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/Users/chenjianhong/.npm/_cacache/tmp/git-clone-d7a2a807/node_modules/sqlite3/lib/binding/node-v83-darwin-x64 --napi_version=7 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v83' (1) npm ERR! prepareGitDep npm ERR! prepareGitDep 2> npm WARN install Usage of the --dev option is deprecated. Use --also=dev instead. npm ERR! prepareGitDep npm WARN deprecated @babel/[email protected]: 🚨 This package has been deprecated in favor of separate inclusion of a polyfill and regenerator-runtime (when needed). See the @babel/polyfill docs (https://babeljs.io/docs/en/babel-polyfill) for more information. npm ERR! prepareGitDep npm WARN deprecated [email protected]: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates. npm ERR! prepareGitDep npm WARN deprecated [email protected]: core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js. npm ERR! prepareGitDep npm WARN deprecated [email protected]: 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 ERR! prepareGitDep npm WARN deprecated [email protected]: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future npm ERR! prepareGitDep npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142 npm ERR! prepareGitDep npm WARN deprecated [email protected]: this library is no longer supported npm ERR! prepareGitDep node-pre-gyp WARN Using request for node-pre-gyp https download npm ERR! prepareGitDep node-pre-gyp WARN Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.1.1/node-v83-darwin-x64.tar.gz npm ERR! prepareGitDep node-pre-gyp WARN Pre-built binaries not found for [email protected] and [email protected] (node-v83 ABI, unknown) (falling back to source compile with node-gyp) npm ERR! prepareGitDep No receipt for 'com.apple.pkg.CLTools_Executables' found at '/'. npm ERR! prepareGitDep No receipt for 'com.apple.pkg.DeveloperToolsCLILeo' found at '/'. npm ERR! prepareGitDep No receipt for 'com.apple.pkg.DeveloperToolsCLI' found at '/'. npm ERR! prepareGitDep npm ERR! prepareGitDep npm ERR! prepareGitDep npm ERR! prepareGitDep gyp: No Xcode or CLT version detected! npm ERR! prepareGitDep gyp ERR! configure error npm ERR! prepareGitDep gyp ERR! stack Error: gyp failed with exit code: 1 npm ERR! prepareGitDep gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16) npm ERR! prepareGitDep gyp ERR! stack at ChildProcess.emit (events.js:315:20) npm ERR! prepareGitDep gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12) npm ERR! prepareGitDep gyp ERR! System Darwin 19.6.0 npm ERR! prepareGitDep gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/Users/chenjianhong/.npm/_cacache/tmp/git-clone-d7a2a807/node_modules/sqlite3/lib/binding/node-v83-darwin-x64/node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=/Users/chenjianhong/.npm/_cacache/tmp/git-clone-d7a2a807/node_modules/sqlite3/lib/binding/node-v83-darwin-x64" "--napi_version=7" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v83" npm ERR! prepareGitDep gyp ERR! cwd /Users/chenjianhong/.npm/_cacache/tmp/git-clone-d7a2a807/node_modules/sqlite3 npm ERR! prepareGitDep gyp ERR! node -v v14.15.3 npm ERR! prepareGitDep gyp ERR! node-gyp -v v5.1.0 npm ERR! prepareGitDep gyp ERR! not ok npm ERR! prepareGitDep node-pre-gyp ERR! build error npm ERR! prepareGitDep node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/Users/chenjianhong/.npm/_cacache/tmp/git-clone-d7a2a807/node_modules/sqlite3/lib/binding/node-v83-darwin-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/Users/chenjianhong/.npm/_cacache/tmp/git-clone-d7a2a807/node_modules/sqlite3/lib/binding/node-v83-darwin-x64 --napi_version=7 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v83' (1) npm ERR! prepareGitDep node-pre-gyp ERR! stack at ChildProcess. (/Users/chenjianhong/.npm/_cacache/tmp/git-clone-d7a2a807/node_modules/node-pre-gyp/lib/util/compile.js:83:29) npm ERR! prepareGitDep node-pre-gyp ERR! stack at ChildProcess.emit (events.js:315:20) npm ERR! prepareGitDep node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1048:16) npm ERR! prepareGitDep node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5) npm ERR! prepareGitDep node-pre-gyp ERR! System Darwin 19.6.0 npm ERR! prepareGitDep node-pre-gyp ERR! command "/usr/local/bin/node" "/Users/chenjianhong/.npm/_cacache/tmp/git-clone-d7a2a807/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" npm ERR! prepareGitDep node-pre-gyp ERR! cwd /Users/chenjianhong/.npm/_cacache/tmp/git-clone-d7a2a807/node_modules/sqlite3 npm ERR! prepareGitDep node-pre-gyp ERR! node -v v14.15.3 npm ERR! prepareGitDep node-pre-gyp ERR! node-pre-gyp -v v0.11.0 npm ERR! prepareGitDep node-pre-gyp ERR! not ok npm ERR! prepareGitDep npm ERR! code ELIFECYCLE npm ERR! prepareGitDep npm ERR! errno 1 npm ERR! prepareGitDep npm ERR! [email protected] install: node-pre-gyp install --fallback-to-build npm ERR! prepareGitDep npm ERR! Exit status 1 npm ERR! prepareGitDep npm ERR! npm ERR! prepareGitDep npm ERR! Failed at the [email protected] install script. npm ERR! prepareGitDep npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! prepareGitDep npm ERR! prepareGitDep npm ERR! A complete log of this run can be found in: npm ERR! prepareGitDep npm ERR! /Users/chenjianhong/.npm/_logs/2022-02-18T05_44_08_625Z-debug.log npm ERR! prepareGitDep npm ERR! premature close

npm ERR! A complete log of this run can be found in: npm ERR! /Users/chenjianhong/.npm/_logs/2022-02-18T05_44_24_332Z-debug.log usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file target_file cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file ... target_directory error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: can't open file: ../src/node_modules/mpv.js/build/Release/mpvjs.node (No such file or directory)

harichen avatar Feb 17 '22 06:02 harichen

把完整的log都帖上来吧,从哪里开始出错的也是很重要的信息。

circleapps avatar Feb 18 '22 05:02 circleapps

[email protected] install /Users/chenjianhong/Documents/GitHub/beyondplayer/src/node_modules/fsevents node-gyp rebuild

SOLINK_MODULE(target) Release/.node CXX(target) Release/obj.target/fse/fsevents.o In file included from ../fsevents.cc:6: In file included from ../../nan/nan.h:2884: ../../nan/nan_typedarray_contents.h:34:43: warning: 'GetContents' is deprecated: Use GetBackingStore. See http://crbug.com/v8/9908. [-Wdeprecated-declarations] data = static_cast<char*>(buffer->GetContents().Data()) + byte_offset; ^ /Users/chenjianhong/Library/Caches/node-gyp/14.15.3/include/node/v8.h:5272:3: note: 'GetContents' has been explicitly marked deprecated here V8_DEPRECATE_SOON("Use GetBackingStore. See http://crbug.com/v8/9908.") ^ /Users/chenjianhong/Library/Caches/node-gyp/14.15.3/include/node/v8config.h:402:39: note: expanded from macro 'V8_DEPRECATE_SOON'

define V8_DEPRECATE_SOON(message) [[deprecated(message)]]

                                  ^

1 warning generated. SOLINK_MODULE(target) Release/fse.node

[email protected] install /Users/chenjianhong/Documents/GitHub/beyondplayer/src/node_modules/husky node husky install

husky > Setting up git hooks Husky requires Git >=2.13.0. Got v2.9.2. husky > Failed to install

[email protected] install /Users/chenjianhong/Documents/GitHub/beyondplayer/src/node_modules/mpv.js prebuild-install -t 1.0.0 || node-gyp rebuild

[email protected] postinstall /Users/chenjianhong/Documents/GitHub/beyondplayer/src/node_modules/core-js-pure node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:

https://opencollective.com/core-js https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

[email protected] postinstall /Users/chenjianhong/Documents/GitHub/beyondplayer/src/node_modules/ejs node ./postinstall.js

Thank you for installing EJS: built with the Jake JavaScript build tool (https://jakejs.com/)

[email protected] postinstall /Users/chenjianhong/Documents/GitHub/beyondplayer/src/node_modules/react-beautiful-dnd/node_modules/core-js node -e "try{require('./postinstall')}catch(e){}"

[email protected] postinstall /Users/chenjianhong/Documents/GitHub/beyondplayer/src/node_modules/electron node install.js

[email protected] postinstall /Users/chenjianhong/Documents/GitHub/beyondplayer/src/node_modules/husky opencollective-postinstall || exit 0

Thank you for using husky! If you rely on this package, please consider supporting our open collective:

https://opencollective.com/husky/donate

[email protected] postinstall /Users/chenjianhong/Documents/GitHub/beyondplayer/src/node_modules/styled-components node ./scripts/postinstall.js || exit 0

Use styled-components at work? Consider supporting our development efforts at https://opencollective.com/styled-components added 2433 packages from 1154 contributors and audited 2439 packages in 57.874s

45 packages are looking for funding run npm fund for details

found 748 vulnerabilities (6 low, 312 moderate, 363 high, 67 critical) run npm audit fix to fix them, or npm audit for details

harichen avatar Feb 19 '22 14:02 harichen

husky > Setting up git hooks Husky requires Git >=2.13.0. Got v2.9.2. husky > Failed to install 看起来像是git版本太低了

circleapps avatar Feb 19 '22 16:02 circleapps

(base) ➜ scripts git:(master) ✗ ./install_mpvjs.sh npm WARN deprecated [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2. npm WARN deprecated [email protected]: Critical bug fixed in v3.0.1, please upgrade to the latest version. npm WARN deprecated [email protected]: Critical bug fixed in v2.0.1, please upgrade to the latest version. npm WARN deprecated [email protected]: Please update to ini >=1.3.6 to avoid a prototype pollution issue npm WARN deprecated [email protected]: Critical bug fixed in v3.0.1, please upgrade to the latest version. npm WARN deprecated [email protected]: Please update to ini >=1.3.6 to avoid a prototype pollution issue npm WARN deprecated [email protected]: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142 npm WARN deprecated [email protected]: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142 npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated npm WARN deprecated [email protected]: this library is no longer supported npm WARN deprecated [email protected]: this library is no longer supported npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-resolve#deprecated npm WARN deprecated [email protected]: "Please update to latest v2.3 or v2.2" npm WARN deprecated [email protected]: "Please update to latest v2.3 or v2.2" npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-url#deprecated npm WARN deprecated [email protected]: Deprecated due to CVE-2021-21366 resolved in 0.5.0 npm WARN deprecated [email protected]: some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added npm WARN deprecated [email protected]: 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 [email protected]: 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 [email protected]: 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 [email protected]: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies npm WARN deprecated [email protected]: 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 [email protected]: 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 [email protected]: 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 [email protected]: 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 [email protected]: 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 [email protected]: 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 [email protected]: 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 [email protected]: 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 [email protected]: 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 [email protected]: 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 [email protected]: 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 [email protected]: 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 [email protected]: 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 [email protected]: 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 [email protected]: 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 [email protected]: 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 [email protected]: The querystring API is considered Legacy. new code should use the URLSearchParams API instead. npm WARN deprecated [email protected]: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates. npm WARN deprecated [email protected]: 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 [email protected]: 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 [email protected]: See https://github.com/lydell/source-map-resolve#deprecated npm WARN deprecated [email protected]: 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 [email protected]: 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 [email protected]: 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 [email protected]: 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 [email protected]: 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 [email protected]: 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 [email protected]: 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 [email protected]: 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 [email protected]: 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 [email protected]: 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 [email protected]: 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 [email protected]: 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 [email protected]: 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 [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated [email protected]: Version no longer supported. Upgrade to @latest npm WARN deprecated [email protected]: core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js. npm WARN deprecated [email protected]: core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js. npm WARN deprecated [email protected]: core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.

added 2364 packages, and audited 2434 packages in 35s

45 packages are looking for funding run npm fund for details

84 vulnerabilities (1 low, 52 moderate, 26 high, 5 critical)

To address issues that do not require attention, run: npm audit fix

To address all issues possible (including breaking changes), run: npm audit fix --force

Some issues need review, and may require choosing a different dependency.

Run npm audit for details. (base) ➜ scripts git:(master) ✗ npm audit

npm audit report

highlight.js 9.0.0 - 10.4.0 Severity: moderate ReDOS vulnerabities: multiple grammars - https://github.com/advisories/GHSA-7wwv-vh3v-89cq No fix available node_modules/highlight.js devtron * Depends on vulnerable versions of highlight.js node_modules/devtron

minimist <0.2.1 Severity: moderate Prototype Pollution in minimist - https://github.com/advisories/GHSA-vh95-rmgr-6w4m fix available via npm audit fix node_modules/optimist/node_modules/minimist optimist >=0.6.0 Depends on vulnerable versions of minimist node_modules/optimist

node-static * Severity: moderate Denial of Service in node-static - https://github.com/advisories/GHSA-8r4g-cg4m-x23c No fix available node_modules/node-static

5 moderate severity vulnerabilities

To address issues that do not require attention, run: npm audit fix

Some issues need review, and may require choosing a different dependency.

harichen avatar Feb 20 '22 04:02 harichen

(base) ➜ scripts git:(master) ✗ ./build_dev.sh ++ dirname ./build_dev.sh

  • cd .
  • install_name_tool -change /System/Library/Frameworks/CoreImage.framework/Versions/A/CoreImage /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/CoreImage.framework/Versions/A/CoreImage dist/libavfilter.7.dylib
  • install_name_tool -change /usr/local/opt/mpv/lib/libmpv.1.dylib @loader_path/libmpv.1.dylib ../src/node_modules/mpv.js/build/Release/mpvjs.node
  • chmod +x dist/libavcodec.58.dylib dist/libavdevice.58.dylib dist/libavfilter.7.dylib dist/libavformat.58.dylib dist/libavutil.56.dylib dist/libjpeg.9.dylib dist/libmpv.1.dylib dist/libogg.0.dylib dist/libopus.0.dylib dist/libpostproc.55.dylib dist/libswresample.3.dylib dist/libswscale.5.dylib dist/libtheoradec.1.dylib dist/libtheoraenc.1.dylib dist/libvorbis.0.dylib dist/libvorbisenc.2.dylib dist/libx264.155.dylib
  • cp -r dist/ffmpeg dist/ffprobe dist/libavcodec.58.dylib dist/libavdevice.58.dylib dist/libavfilter.7.dylib dist/libavformat.58.dylib dist/libavutil.56.dylib dist/libjpeg.9.dylib dist/libmpv.1.dylib dist/libogg.0.dylib dist/libopus.0.dylib dist/libpostproc.55.dylib dist/libswresample.3.dylib dist/libswscale.5.dylib dist/libtheoradec.1.dylib dist/libtheoraenc.1.dylib dist/libvorbis.0.dylib dist/libvorbisenc.2.dylib dist/libx264.155.dylib ../src/node_modules/mpv.js/build/Release/
  • rm -f ../src/app/build/renderer.js.map
  • npm run dev_no_watch --prefix ../src

[email protected] dev_no_watch NODE_ENV=development PRO_VERSION=true webpack -d

Browserslist: caniuse-lite is outdated. Please run: npx browserslist@latest --update-db Hash: 1592e9e8e369d1ad95ce1d97f478cad80ffde4b0 Version: webpack 4.42.0 Child Hash: 1592e9e8e369d1ad95ce Time: 18991ms Built at: 2022/02/21 22:57:05 Asset Size Chunks Chunk Names 012b0dcd2a01079b4e5be56258e3b341.svg 975 bytes [emitted] 07da1598fb8e35ae11299cd764e18d5c.jpg 74.4 KiB [emitted] 0edcc45327dfbff791f241b6d85c8d4a.svg 1.91 KiB [emitted] 1382c29cdb72f6c99043675d6e13b625.ttf 47.3 KiB [emitted] 1b35293eb38809ee3b53e3b4dd4c7bd0.svg 225 bytes [emitted] 2614e058b2dcb9d6e2e964730d795540.eot 47.5 KiB [emitted] 3d28c37d13f3aa71c3339adc20926d13.svg 872 bytes [emitted] 9a4a60a0c88622a9ddde4e86deabb78d.svg 1.45 KiB [emitted] 9d8b3f2bc1a41aea80a74cd20b41fca4.svg 968 bytes [emitted] bf614256dbc49f4bf2cf786706bb0712.woff 30 KiB [emitted] c97f89ba0084cf18ff6e425c5197326c.svg 1.06 KiB [emitted] d8bc114fd98b1f3afc85dc9040d2858f.svg 1010 bytes [emitted] fbd3439d58bb918c3a4b57cf1c96c15a.svg 186 bytes [emitted] renderer.js 33.6 MiB main [emitted] main Entrypoint main = renderer.js [./app/js/Components/DownloadSubtitleDialog.jsx] 4.2 KiB {main} [built] [./app/js/Components/ExportAnkiDialog/index.js] 58 bytes {main} [built] [./app/js/Components/Loader/index.js] 38 bytes {main} [built] [./app/js/Components/MessageDialog.jsx] 607 bytes {main} [built] [./app/js/Components/MessagePane.jsx] 1.72 KiB {main} [built] [./app/js/Components/OpenMediaPane.jsx] 1.5 KiB {main} [built] [./app/js/Components/PlayerControls.jsx] 7.81 KiB {main} [built] [./app/js/Components/PlayerSubtitle.jsx] 19.5 KiB {main} [built] [./app/js/Components/ProgressPane.jsx] 354 bytes {main} [built] [./app/js/Components/PromptDialog.jsx] 1.67 KiB {main} [built] [./app/js/Components/SettingsPane/index.js] 45 bytes {main} [built] [./app/js/Containers/App.jsx] 112 KiB {main} [built] [./app/js/Model/FFmpegHelper/index.js] 1.46 KiB {main} [built] [./app/js/Model/Settings/index.js] 7.48 KiB {main} [built] [./app/js/renderer.jsx] 984 bytes {main} [built] + 1500 hidden modules

WARNING in ./node_modules/fluent-ffmpeg/lib/options/misc.js 27:21-40
Critical dependency: the request of a dependency is an expression
 @ ./node_modules/fluent-ffmpeg/lib/fluent-ffmpeg.js
 @ ./node_modules/fluent-ffmpeg/index.js
 @ ./app/js/Model/FFmpegHelper/index.js
 @ ./app/js/renderer.jsx

WARNING in ./node_modules/keyv/src/index.js 18:14-40
Critical dependency: the request of a dependency is an expression
 @ ./node_modules/cacheable-request/src/index.js
 @ ./node_modules/got/index.js
 @ ./app/js/Model/Caption/opensubtitles.js
 @ ./app/js/Model/Caption/index.js
 @ ./app/js/Containers/App.jsx
 @ ./app/js/renderer.jsx

Child Hash: 1d97f478cad80ffde4b0 Time: 20506ms Built at: 2022/02/21 22:57:06 Asset Size Chunks Chunk Names main_packed.js 3.02 MiB main [emitted] main Entrypoint main = main_packed.js [0] ./app/main.js 27.3 KiB {main} [built] [1] external "path" 42 bytes {main} [built] [2] external "url" 42 bytes {main} [built] [4] external "electron" 42 bytes {main} [built] [6] external "os" 42 bytes {main} [built] [8] external "util" 42 bytes {main} [built] [12] external "fs" 42 bytes {main} [built] [13] external "events" 42 bytes {main} [built] [14] external "buffer" 42 bytes {main} [built] [15] external "http" 42 bytes {main} [built] [19] ./app/js/Model/Settings/index.js 10 KiB {main} [built] [22] (webpack)/buildin/module.js 497 bytes {main} [built] [25] external "assert" 42 bytes {main} [built] [77] external "https" 42 bytes {main} [built] [91] ./node_modules/electron-debug sync 160 bytes {main} [built] + 77 hidden modules

WARNING in ./node_modules/electron-debug/index.js 81:45-58
Critical dependency: the request of a dependency is an expression
 @ ./app/main.js

WARNING in ./node_modules/electron-debug/index.js 84:85-106
Critical dependency: the request of a dependency is an expression
 @ ./app/main.js
  • electron-packager ../src --overwrite --ignore=app/js --platform=darwin --arch=x64 --out=../build/dev --icon=../icon_pro.icns --prune --electron-version=5.0.13 --extend-info extend-info-pro.plist ./build_dev.sh: line 38: electron-packager: command not found

harichen avatar Feb 22 '22 02:02 harichen