Skip to content

After upgrading for in-memory compiler, no longer executes programmatic commands #1806

@mlusca

Description

@mlusca

after changing perform the upgrade to the in-memory compiler, by executing the following command:

await ignitor.ace().handle(['migration:run'])

I get the following error:

[ warn ] Underlying HTTP server died with "0 code"

Prior to the upgrade, was running.

Package version

"@adonisjs/core": "^5.0.4-preview-rc-2",

Node.js and npm version

npm 6.13.4
node 12.14.1

Sample Code (to reproduce the issue)

Route.get('/', async () => {
  const ignitor = new Ignitor(process.cwd())
  await ignitor.ace().handle(['migration:run'])
})

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions