1
resposta

deu esse error

[nodemon] starting `node index.js`
consign v0.1.6 Initialized in C:\Users\lubin.lionel\Documents\Api rest
+ .\controllers\atendimento.js
C:\Users\lubin.lionel\Documents\Api rest\node_modules\consign\lib\consign.js:70
  var parts = entity.split(/\s?,\s?/g);
                     ^

TypeError: entity.split is not a function
    at Consign._setLocations (C:\Users\lubin.lionel\Documents\Api rest\node_modules\consign\lib\consign.js:70:22)
    at Consign.include (C:\Users\lubin.lionel\Documents\Api rest\node_modules\consign\lib\consign.js:191:15)
    at module.exports (C:\Users\lubin.lionel\Documents\Api rest\config\customExpress.js:9:10)
    at Object.<anonymous> (C:\Users\lubin.lionel\Documents\Api rest\index.js:3:13)
    at Module._compile (internal/modules/cjs/loader.js:1072:14)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)
    at Module.load (internal/modules/cjs/loader.js:937:32)
    at Function.Module._load (internal/modules/cjs/loader.js:778:12)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)
    at internal/main/run_main_module.js:17:47
[nodemon] app crashed - waiting for file changes before starting...
1 resposta

Oi Kerby, tudo bem? Parece que tem algum problema no seu consign, você poderia por seu projeto no GitHub para que eu possa clonar e testar o que pode ser?