Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

大佬请教一下 #35

Open
fenghuili opened this issue Oct 23, 2022 · 0 comments
Open

大佬请教一下 #35

fenghuili opened this issue Oct 23, 2022 · 0 comments

Comments

@fenghuili
Copy link

我全局安装anyproxy,结果告诉我安装了245个包,提示如下:
npm WARN deprecated clipboard-js@0.3.6: Please migrate to https://github.com/lgarron/clipboard-polyfill
npm WARN deprecated request@2.88.2: request has been deprecated, see request/request#3142
npm WARN deprecated core-js@2.6.12: core-js@<3.23.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. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
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.
C:\Users\10961\AppData\Roaming\npm\anyproxy -> C:\Users\10961\AppData\Roaming\npm\node_modules\anyproxy\bin\anyproxy
C:\Users\10961\AppData\Roaming\npm\anyproxy-ca -> C:\Users\10961\AppData\Roaming\npm\node_modules\anyproxy\bin\anyproxy-ca

core-js@2.6.12 postinstall C:\Users\10961\AppData\Roaming\npm\node_modules\anyproxy\node_modules\core-js
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 -)

npm WARN svg-inline-react@1.0.3 requires a peer of react@^0.14.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself.

  • anyproxy@4.1.3
    added 245 packages from 274 contributors in 15.129s
    期间我win11更成了win10,还装了N个版本的nodejs,甚至还安装了志远大佬视频里的nodejs14.15.0版本,都不像大佬安装的时候,安装了381个package,在运行node proxy-server.js时,出现了下面错误:
    internal/modules/cjs/loader.js:883
    throw err;
    ^

Error: Cannot find module 'anyproxy'
Require stack:

  • C:\Program Files\ast-hook-for-js-RE-master\src\proxy-server\proxy-server.js
    �[90m at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)�[39m
    �[90m at Function.Module._load (internal/modules/cjs/loader.js:725:27)�[39m
    �[90m at Module.require (internal/modules/cjs/loader.js:952:19)�[39m
    �[90m at require (internal/modules/cjs/helpers.js:88:18)�[39m
    at Object. (C:\Program Files\ast-hook-for-js-RE-master\src\proxy-server\proxy-server.js:1:18)
    �[90m at Module._compile (internal/modules/cjs/loader.js:1063:30)�[39m
    �[90m at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)�[39m
    �[90m at Module.load (internal/modules/cjs/loader.js:928:32)�[39m
    �[90m at Function.Module._load (internal/modules/cjs/loader.js:769:14)�[39m
    �[90m at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)�[39m {
    code: �[32m'MODULE_NOT_FOUND'�[39m,
    requireStack: [
    �[32m'C:\Program Files\ast-hook-for-js-RE-master\src\proxy-server\proxy-server.js'�[39m
    ]
    }
    请问大佬如何解决?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant