Bloco de anotações

Zandra Monteiro
1 min readAug 5, 2020

--

Para os erros chatinhos que aparecem e a solução não está assim tão clara

  1. Tentando fazer o CLI do Knex funcionar:

Não estava conseguindo criar as tabelas de jeito nenhum. Na verdade, não conseguia acessar a CLI do Knex. Então: $ npx knex migrate:latest

Com esse comando, consegui criar a tabela! npx knex !

2. Nodemon: bash: nodemon: command not found

Depois que instalei a versão 12.18.3 do Node.js, o Nodemon não queria mais funcionar por aqui. A solução:

  • Se você já tiver tentado instalar o Nodemon e não está conseguindo que ele funcione: $ npm uninstall nodemon
  • Aí instala o Nodemon assim: $ npm install -g — force nodemon

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Zandra Monteiro
Zandra Monteiro

Written by Zandra Monteiro

Passionate about programming and solving problems using code! Enjoying this amazing journey of becoming a dev, I’ll share here some of it.

No responses yet

Write a response