0

我试图托管我的 create-react-app,但是在 vercel 主机上安装期间,它给了我这样的错误。我仍然不明白错误消息是来自 node-pre-gyp 还是 fsevents,我该如何解决这个问题?任何帮助,将不胜感激。

15:02:29.362
Detected package.json
15:02:29.363
Installing dependencies...
15:02:29.670
yarn install v1.22.10
15:02:29.785
[1/4] Resolving packages...
15:02:30.715
warning react-scripts > fsevents@1.2.4: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
15:02:30.715
warning react-scripts > fork-ts-checker-webpack-plugin-alt > chokidar > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
15:02:30.716
warning react-scripts > jest > jest-cli > jest-haste-map > sane > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
15:02:30.750
warning react-scripts > fsevents > node-pre-gyp@0.10.3: 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
15:02:30.907
[2/4] Fetching packages...
15:02:43.198
error Command failed.
15:02:43.198
Exit code: 128
15:02:43.199
Command: git
15:02:43.199
Arguments: ls-remote --tags --heads ssh://git@github.com/RedQ/js-info-bubble.git
15:02:43.199
Directory: /vercel/path0
15:02:43.199
Output:
15:02:43.199
Host key verification failed.
15:02:43.199
fatal: Could not read from remote repository.
15:02:43.200
15:02:43.200
Please make sure you have the correct access rights
15:02:43.200
and the repository exists.
15:02:43.200
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
15:02:49.336
warning file-loader@2.0.0: Invalid bin field for "file-loader".
15:02:49.612
warning mini-css-extract-plugin@0.4.3: Invalid bin field for "mini-css-extract-plugin".
15:02:49.845
warning url-loader@1.1.1: Invalid bin field for "url-loader".
15:02:49.854
warning terser-webpack-plugin@1.1.0: Invalid bin field for "terser-webpack-plugin".
15:03:08.975
Error: Command "yarn install" exited with 128
4

0 回答 0