DDeno•Created by lilleman on 3/26/2025 in #help Running deno add npm:xxx via docker results in not found
The issue was the cache folder, doing this solved the problem:
docker run --rm -it --net host -w /srv -v $(pwd):/srv -v $HOME/.cache/deno:/deno-dir -e DENO_DIR=/deno-dir -u $(id -u):$(id -g) denoland/deno:2.2.5 deno "$@"