Skip to content

I couldn't run npm run deploy #5038

Closed
Closed
@Geeeva

Description

@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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions