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
- 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.
- git add .
- git commit -m "Uploading files"
- git push -f origin master:gh-pages
- git remote add origin https://github.com/Geeeva/Color-recognition.git
- 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