{"action":"created","issue":{"url":"https://api.github.com/repos/gitname/react-gh-pages/issues/16","repository_url":"https://api.github.com/repos/gitname/react-gh-pages","labels_url":"https://api.github.com/repos/gitname/react-gh-pages/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/gitname/react-gh-pages/issues/16/comments","events_url":"https://api.github.com/repos/gitname/react-gh-pages/issues/16/events","html_url":"https://github.com/gitname/react-gh-pages/issues/16","id":359042858,"node_id":"MDU6SXNzdWUzNTkwNDI4NTg=","number":16,"title":"Errors running NPM commands after posting React app to github pages.","user":{"login":"TS22082","id":17750772,"node_id":"MDQ6VXNlcjE3NzUwNzcy","avatar_url":"https://avatars0.githubusercontent.com/u/17750772?v=4","gravatar_id":"","url":"https://api.github.com/users/TS22082","html_url":"https://github.com/TS22082","followers_url":"https://api.github.com/users/TS22082/followers","following_url":"https://api.github.com/users/TS22082/following{/other_user}","gists_url":"https://api.github.com/users/TS22082/gists{/gist_id}","starred_url":"https://api.github.com/users/TS22082/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TS22082/subscriptions","organizations_url":"https://api.github.com/users/TS22082/orgs","repos_url":"https://api.github.com/users/TS22082/repos","events_url":"https://api.github.com/users/TS22082/events{/privacy}","received_events_url":"https://api.github.com/users/TS22082/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-11T13:16:01Z","updated_at":"2018-09-11T13:33:08Z","closed_at":"2018-09-11T13:33:08Z","author_association":"NONE","body":"Everything was working before deploying to github pages, and the first deploy worked no problem. But ever since, now when running any NPM commands in the project, I'm getting this set of errors:\r\n\r\n```\r\ngeekcentric => npm start\r\nnpm ERR! file /mnt/c/Users/GeekCentric/Documents/ReactJS/the_app/package.json\r\nnpm ERR! code EJSONPARSE\r\nnpm ERR! JSON.parse Failed to parse json\r\nnpm ERR! JSON.parse Unexpected token / in JSON at position 611 while >parsing near '...\": \"^1.2.0\"\r\nnpm ERR! JSON.parse }\r\nnpm ERR! JSON.parse }\r\nnpm ERR! JSON.parse\r\nnpm ERR! JSON.parse\r\nnpm ERR! JSON.parse // geekcentric => np...'\r\nnpm ERR! JSON.parse Failed to parse package.json data.\r\nnpm ERR! JSON.parse package.json must be actual JSON, not just >JavaScript.\r\nnpm ERR! A complete log of this run can be found in:\r\nnpm ERR! /home/geekcentric/.npm/_logs/2018-09-11T00_38_07_636Z->debug.log\r\n```\r\n\r\nThe error is in my package.json file but I can't find anything that would throw the error or what's going wrong.\r\n\r\n```\r\n{\r\n  \"name\": \"theapp\",\r\n  \"version\": \"0.1.0\",\r\n  \"private\": true,\r\n  \"homepage\": \"http://me.github.io/theapp\",\r\n  \"dependencies\": {\r\n    \"axios\": \"^0.18.0\",\r\n    \"firebase\": \"^5.4.2\",\r\n    \"react\": \"^16.4.2\",\r\n    \"react-dom\": \"^16.4.2\",\r\n    \"react-router-dom\": \"^4.3.1\",\r\n    \"react-scripts\": \"1.1.5\"\r\n  },\r\n  \"scripts\": {\r\n    \"start\": \"react-scripts start\",\r\n    \"build\": \"react-scripts build\",\r\n    \"test\": \"react-scripts test --env=jsdom\",\r\n    \"eject\": \"react-scripts eject\",\r\n    \"predeploy\": \"npm run build\",\r\n    \"deploy\": \"gh-pages -d build\"\r\n  },\r\n  \"devDependencies\": {\r\n    \"gh-pages\": \"^1.2.0\"\r\n  }\r\n}\r\n```\r\n\r\nI'm using the create-react-app and the gh-pages npm module. Any help would be very appreciated"},"comment":{"url":"https://api.github.com/repos/gitname/react-gh-pages/issues/comments/420275969","html_url":"https://github.com/gitname/react-gh-pages/issues/16#issuecomment-420275969","issue_url":"https://api.github.com/repos/gitname/react-gh-pages/issues/16","id":420275969,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDI3NTk2OQ==","user":{"login":"TS22082","id":17750772,"node_id":"MDQ6VXNlcjE3NzUwNzcy","avatar_url":"https://avatars0.githubusercontent.com/u/17750772?v=4","gravatar_id":"","url":"https://api.github.com/users/TS22082","html_url":"https://github.com/TS22082","followers_url":"https://api.github.com/users/TS22082/followers","following_url":"https://api.github.com/users/TS22082/following{/other_user}","gists_url":"https://api.github.com/users/TS22082/gists{/gist_id}","starred_url":"https://api.github.com/users/TS22082/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TS22082/subscriptions","organizations_url":"https://api.github.com/users/TS22082/orgs","repos_url":"https://api.github.com/users/TS22082/repos","events_url":"https://api.github.com/users/TS22082/events{/privacy}","received_events_url":"https://api.github.com/users/TS22082/received_events","type":"User","site_admin":false},"created_at":"2018-09-11T13:33:08Z","updated_at":"2018-09-11T13:33:08Z","author_association":"NONE","body":"I updated my text editor (VSCODE) and its working fine now. I use the built-in terminal with WSL so I can only imagine I inadvertently screwed up a critical path. Still really curious to know what happened and why only after hosting on gh-pages but the errors are gone and everything is running as you would expect.  "}}
{"actor":{"display_login":"TS22082"}}