Ao tentar instalar o lite-server aparece o seguinte: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules\chokidar\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) npm WARN alurabank@1.0.0 No description npm WARN alurabank@1.0.0 No repository field.
- lite-server@2.3.0 updated 1 package in 11.609s
Não funciona no chrome. Ao rodar a aplicação aparece o seguinte Access to XMLHttpRequest at 'file:///C:/aaRauryGeral/Alura/TypeScript%20parte%202%20Mais%20t%C3%A9cnicas%20e%20boas%20pr%C3%A1ticas/10-alurabank/alurabank/app/js/app.js' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.