Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C create-react-app
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,547
    • Issues 1,547
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 417
    • Merge requests 417
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • create-react-app
  • Issues
  • #5038
Closed
Open
Issue created Sep 20, 2018 by Administrator@rootContributor

I couldn't run npm run deploy

Created by: Geeeva

Is this a bug report?

Yes

Did you try recovering your dependencies?

Yes

Which terms did you search for in User Guide?

I didn't find the answer

Environment

Webpack Environment: OS: Windows 10 Node: 8.12.0 Yarn: Not Found npm: 6.4.1 Watchman: Not Found Xcode: N/A Android Studio: Not Found

Packages: (wanted => installed) react: ^16.5.2 => 16.5.2 react-dom: ^16.5.2 => 16.5.2 react-scripts: 1.1.5 => 1.1.5

Steps to Reproduce

  1. I created on my Github account the repository Color-recognition without md file, and within added gh-pages branch, and in setting of repository under Source added gh-pages branch.
  2. git add .
  3. git commit -m "Uploading files"
  4. git push -f origin master:gh-pages
  5. git remote add origin https://github.com/Geeeva/Color-recognition.git
  6. npm run deploy Tried the same procedure with the master branch of the Color-recognition, and I got the same error.

Expected Behavior

The page should be deployed but it couldn't, with the error below. I wanted to put the project demo that is visible.

Actual Behavior

Cannot read property 'email' of null npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! color-recognition-depl@0.1.0 deploy: gh-pages -d build npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the color-recognition-depl@0.1.0 deploy script. npm ERR! This is probably not a problem with npm. There is likely additional log ging output above.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Ivana\AppData\Roaming\npm-cache_logs\2018-09-19T19_58_34_ 829Z-debug.log

Reproducible Demo

https://github.com/Geeeva/Color-recognition

Assignee
Assign to
Time tracking