FJSolutions / adonis-mongoose

A Mongoose provider for AdonisJS 5
MIT License
4 stars 0 forks source link

Invoke failing, fresh install #2

Open cesardmoro opened 3 years ago

cesardmoro commented 3 years ago

Latest adonis fresh install failed

Fresh project

$ npm init adonis-ts-app@latest sia_importador

then install and invoke:

$ npm install @fjsolutions/adonis-mongoose --save

added 48 packages, and audited 578 packages in 55s

47 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

$ node ace invoke @fjsolutions/adonis-mongoose
CREATE: config\database.ts
CREATE: contracts\mongoose.ts
CREATE: contracts\validator.ts
UPDATE: .env { "DB_HOST = localhost","DB_PORT = 27017","DB_USER = ","DB_PASSWORD
 = ","DB_DATABASE = adonis","DB_AUTH_SOURCE = admin","DB_SSL = false" }
UPDATE: .adonisrc.json { commands += "@fjsolutions/adonis-mongoose/build/command
s" }
UPDATE: .adonisrc.json { providers += "@fjsolutions/adonis-mongoose/build/provid
ers/MongooseProvider" }

TypeError: Cannot read property 'forEach' of undefined

1 commands.reduce.commands
  C:\www\sia_importador\node_modules\@adonisjs\ace\build\src\Manifest\Generator.
js:78

2 ManifestGenerator.generate
  C:\www\sia_importador\node_modules\@adonisjs\ace\build\src\Manifest\Generator.
js:67

3 GenerateManifest.handle
  C:\www\sia_importador\node_modules\@adonisjs\core\build\src\Ignitor\Ace\Genera
teManifest\index.js:74

4 Ace.handle
  C:\www\sia_importador\node_modules\@adonisjs\core\build\src\Ignitor\Ace\index.
js:27

this error: TypeError: Cannot read property 'forEach' of undefined

cesardmoro commented 3 years ago

Also when ace build many errors:

image

image