A grande vantagem de ustilizar o campo JSON no MySQL é que permite guardar uma grande quantidade de dados, os quais não se sabe a real estruturação no formati de JSON.
SELECT id, nome, documentos
FROM pessoa;
The VScode needs permissions thus
Try this command on your WSL terminal
sudo chown -R username /path/to/working/directory
Replace:
username
with your username and the path of your directory
ERROR: for scraping-app Cannot start service app: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: ".docker/entrypoint.sh": permission denied: unknown ERROR: for app Cannot start service app: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: ".docker/entrypoint.sh": permission denied: unknown ERROR: Encountered errors while bringing up the project.
chmod +x docker-entrypoint.sh
Make an alias of shopt and call it through zsh
A quick solution is described here: https://github.com/larz258/Zshopt
sudo vi /usr/bin/shopt
Inside the shopt
ERROR [ExceptionHandler] Nest can't resolve dependencies of the UserRepository (?).
Please make sure that the argument PrismaService at index [0] is available in the UserModule context.
No caso acima seria adicionar PrismaService
no no provider
do @Module
no arquivo user.module
.
No meu caso, o problema era realmente o comportamento padrão do cliente HTTP que eu estava usando, axios. Por padrão, o axios nos redireciona 127.0.0.1:80se não encontrar o URL ou httpmétodo solicitado (GET/POST/PUT). Portanto, é melhor verificar sua URL se também estiver usando axios.