NPM 运行部署会给出一条错误消息。在 RoboFriends 部署脚本时失败。 "There is likely additional logging out put above"



所以我刚刚创建了一个 React 应用程序,在尝试部署它时,我收到以下错误。

错误信息

这是我的包裹。JSON 文件:-

{ "name": "robofriends", "version": "0.1.0", "private": true, "homepage": "https://paarth1995.github.io/RoboFriends", "dependencies": { "react": "^16.5.2", "react-dom": "^16.5.2", "react-scripts": "1.1.5", "tachyons": "^4.11.1" }, "scripts": { "predeploy": "npm run build", "deploy": "gh-pages -d build", "start": "react-scripts start", "build": "react-scripts build", "test": "react-scripts test --env=jsdom", "eject": "react-scripts eject" }, "devDependencies": { "gh-pages": "^2.0.0" } }

任何帮助将不胜感激。

我认为这可能与您的 git 全局配置有关。
请检查您的电子邮件是否显示在

git config -l

并检查属性"user.email"是否填写了您的电子邮件。

如果没有 user.email 属性,请使用此命令进行设置。

git config --global user.email "email@example.com"

相关内容

最新更新