Still don't know why I have to do this once in a while
Error message:
# Access denied.
# fatal: Could not read from remote repository.
# Please make sure you have the correct access rights
# and the repository exists.
Still don't know why I have to do this once in a while
Error message:
# Access denied.
# fatal: Could not read from remote repository.
# Please make sure you have the correct access rights
# and the repository exists.
The fnm still does not support -reinstall-packages-from
like nvm, so I wrote this script for me while waiting.
#!/bin/sh
# Remember to alias fnm='fnm2' for convinient
# TODO: How to make the (which fmn) work here instead of hard coded path?
/opt/homebrew/bin/fnm $*
import { useState, useEffect } from 'react'; | |
function ErrorBoundary({ fallback, children }) { | |
const [error, setError] = useState(null); | |
useEffect(() => { | |
if (error) { | |
// log the error or send it to a server | |
console.error(error); | |
} |
If Redis is running on the same machine, it will connect to the default Redis server localhost
on port 6379
.