Skip to content

Commit 78e04ef

Browse files
authored
Update part2e.md
The command in line 621, "VITE_SOME_KEY=54l41n3n4v41m34rv0 && npm run dev // For Linux/macOS Bash", does not work in Linux. It is necessary to use the command "export" to set the environment variable. So, line 621 should be "export VITE_SOME_KEY=54l41n3n4v41m34rv0 && npm run dev // For Linux/macOS Bash".
1 parent c93840c commit 78e04ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/2/ptbr/part2e.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ Se você usar o Open Weather map, a descrição de como obter os ícones climát
618618
Supondo que a chave de API seja <i>t0p53cr3t4p1k3yv4lu3</i>, quando a aplicação é iniciada desta forma:
619619
620620
```bash
621-
REACT_APP_API_KEY=t0p53cr3t4p1k3yv4lu3 npm start // Para o Bash do Linux/macOS
621+
export REACT_APP_API_KEY=t0p53cr3t4p1k3yv4lu3 npm start // Para o Bash do Linux/macOS
622622
($env:REACT_APP_API_KEY="t0p53cr3t4p1k3yv4lu3") -and (npm start) // Para o PowerShell do Windows
623623
set "REACT_APP_API_KEY=t0p53cr3t4p1k3yv4lu3" && npm start // Para o cmd.exe do Windows
624624
```

0 commit comments

Comments
 (0)