{"id":19702862,"url":"https://github.com/toatoes/react-learning","last_synced_at":"2025-07-29T00:07:28.225Z","repository":{"id":258075399,"uuid":"862694752","full_name":"ToaToes/React-Learning","owner":"ToaToes","description":"React.js ","archived":false,"fork":false,"pushed_at":"2024-09-29T03:15:38.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-27T16:52:28.469Z","etag":null,"topics":["reactjs"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ToaToes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-25T03:18:29.000Z","updated_at":"2024-09-29T03:15:41.000Z","dependencies_parsed_at":"2024-10-17T15:10:30.918Z","dependency_job_id":null,"html_url":"https://github.com/ToaToes/React-Learning","commit_stats":null,"previous_names":["toatoes/react-learning"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ToaToes/React-Learning","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ToaToes%2FReact-Learning","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ToaToes%2FReact-Learning/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ToaToes%2FReact-Learning/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ToaToes%2FReact-Learning/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ToaToes","download_url":"https://codeload.github.com/ToaToes/React-Learning/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ToaToes%2FReact-Learning/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267606314,"owners_count":24114714,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["reactjs"],"created_at":"2024-11-11T21:16:18.984Z","updated_at":"2025-07-29T00:07:28.170Z","avatar_url":"https://github.com/ToaToes.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# React\n\n## React to start with (on Mac)\n\n### Homebrew file management:\n\n```\n/bin/bash -c \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)\"\n```\npermission needed (Sudo)\n```\nbrew intsall Node\n```\n\n### Node package management:\n\nNote: \n\n\"npm install -g create-react-app\" no longer supported\n\"https://dev.to/ag2byte/create-react-app-is-officially-dead-h7o\"\n\n\"-g\" -\u003e perform globally\n\n```\nnpm cache clean --force\n```\nhttps://stackoverflow.com/questions/51607362/please-run-npm-cache-clean\n\nTo clean old packs:\n```\nnpm uninstall -g create-react-app\n```\n\n### Vite for creating React app\n\nDownload Vite for createing react apps\n```\nnpm create vite@latest\n```\n\nSelect frameworks -\u003e React\nSelect language -\u003e Typescript/Javascript\n\nThen run:\n```\ncd [Filename]\nnpm install\nnpm run dev\n```\n\n## React to start with (on WIN)\n\n## Solution encountering problems\n\nNote: show hidden files for mac: https://support.carbonite.com/articles/Personal-Pro-Mac-Displaying-Hidden-Library-Folder\n\nSudo causing problems: Permission denied for altering js files\nhttps://stackoverflow.com/questions/51967335/npm-install-permission-denied-macos\n\n\nTo check the location of the package:\n```\nnpm config get prefix\n```\n\nDelete Node Modules OR Reinstall Node if still not working\nThen direct to the project path, Check the permissions of your project directory:\n```\nls -l /path_to_project\n```\nEnsure that user has the appropriate permissions. change the ownership:\n```\nsudo chown -R $(whoami) /path_to_project\n```\n\n\n## Reinstall\n\n```\nbrew uninstall node\n```\ncheck versions\n```\nnode -v\nnpm -v\n```\nclean up any unused dependencies or old versions of packages with:\n```\nbrew cleanup\n```\n\n\n## Git\n\nBasic:\nhttps://www.youtube.com/watch?v=i_23KUAEtUM\n\nProblems:\nhttps://www.studocu.com/en-au/messages/question/8509507/in-visual-studio-code-what-does-git-fatal-head-is-not-a-commit-and-branch-cannot-be-created\n\n\n\n\n\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoatoes%2Freact-learning","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoatoes%2Freact-learning","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoatoes%2Freact-learning/lists"}