Pessoal, acabei fazendo uma besteira. Eu tentei rodar meu codigo ao invés de "npm start" com " nodemon index.html". Fiz isso porque queria que meu codigo atualizasse automaticamente quando modificasse meu arquivo App.js. Só que agora quando tento rodar "npm start" da o seguinte erro: "
Something is already running on port 3000. Probably: node /home/marcos/Curso React/cdc-admin/node_modules/react-scripts/scripts/start.js index.html (pid 30516) in /home/marcos/Curso React/cdc-admin
Would you like to run the app on another port instead? (Y/n)
Se eu coloco "N" ele volta pra tela inicial . Quando rodo de novo aparece a mesma mensagem. Agora se coloco "Y" da o seguinte erro:
Compiled with warnings.
./src/App.js Line 19: The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 22: The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 23: The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 24: The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid
Search for the keywords to learn more about each warning. To ignore, add // eslint-disable-next-line to the line before.
Como resolvo isso??