Open cesardmoro opened 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
Also when ace build many errors:
Latest adonis fresh install failed
Fresh project
$ npm init adonis-ts-app@latest sia_importador
then install and invoke:
this error: TypeError: Cannot read property 'forEach' of undefined