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

I couldn't run npm run deploy #5038

Closed
Geeeva opened this issue Sep 20, 2018 · 1 comment
Closed

I couldn't run npm run deploy #5038

Geeeva opened this issue Sep 20, 2018 · 1 comment

Comments

@Geeeva
Copy link

Geeeva commented Sep 20, 2018

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

@Geeeva
Copy link
Author

Geeeva commented Sep 21, 2018

I solved the problem by adding a collaborator from my another account(I created it with aim of testing this problem) then by executing npm run deploy from account for testing and after that everything was fine. I could thereafter execute npm run deploy directly from Geeeva account, not from collaborator account. I had this problem on all my repositories on Geeeva account.

@Geeeva Geeeva closed this as completed Sep 21, 2018
@lock lock bot locked and limited conversation to collaborators Jan 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants