-
Notifications
You must be signed in to change notification settings - Fork 12
Troubleshooting
If you see the following error when opening the Dev Container, check this issue.
2024-01-29 17:48:50.785 [error] Error: unable to get issuer certificate
at TLSSocket.onConnectSecure (node:_tls_wrap:1543:34)
at TLSSocket.emit (node:events:513:28)
at TLSSocket._finishInit (node:_tls_wrap:962:8)
at ssl.onhandshakedone (node:_tls_wrap:746:12) remote-containers.createDevContainerFile {"value":"ms-vscode-remote.remote-containers","_lower":"ms-vscode-remote.remote-containers"}
If you aren't allowed to commit, try the following:
- Make sure you are using a conventional commit message.
- Run
bun run checkand try to fix the errors. - If you believe the errors are not related to your code changes, try syncing with
git pullbun run secrets:pull all allbun run sync
If you really believe that it is a local issue, use the --no-verify flag to bypass the precommit hook.
All the tests will be run again on PR as GitHub workflows.
Optionally, you can also comment out lines in https://github.com/ScottyLabs/cmumaps/blob/main/.husky/pre-commit to disable
some precommit checks to speed up committing. For example, there is no need to run uv run lint if you didn't make any change
to Python files. Make sure to not commit these changes!
If you clone a Git repository using SSH and your SSH key has a passphrase, VS Code's pull and sync features may hang when running remotely. Either use an SSH key without a passphrase, clone using HTTPS, or run git push from the command line to work around the issue.
The easiest option is to run git push from command line outside the dev container.
Try reloading the window or restarting the extension, applies to Biome, MyPy, etc.