near-api-js
near-api-js copied to clipboard
After switching ENV unclear why keys don't work
Setting NODE_ENV=local
leads to the neardev/default
keys stop working. But it's also super unclear that have happened. It just says that there is no key, but doesn't actually show the path it looks for them.
Expected behavior: When you change environments, there is a clear way to change keys. If there are no keys that can be used, then the user should be notified.
This is a duplicate of https://github.com/near/near-shell/issues/340