core icon indicating copy to clipboard operation
core copied to clipboard

Unable to Seed Selected file

Open venki0004 opened this issue 5 years ago • 1 comments

Package version

Adonis V5

Node.js and npm version

Node.js = 14.15 and Npm = 6.0.0 to

Sample Code (to reproduce the issue)

I was unable seed selected file by following command

node ace db:seed --files "./database/seeders/Templates.ts"

this throwing following error

image

BONUS (a sample repo to reproduce the issue)

codebase structure image

venki0004 avatar Jun 18 '21 07:06 venki0004

Hello. You posted the issue in the wrong repo. Please post issues in the relevant repos only. Which is adonisjs/lucid in this case. ( Respect our time )

You are passing the wrong file path to the --files flag. The file name is Template.ts and you are passing Templates.ts. So it's always better to double check.

thetutlage avatar Jun 18 '21 07:06 thetutlage