Skip to content

generate:manifest errors silently during production build #39

@matthiasrohmer

Description

@matthiasrohmer

Package version

@adonisjs/assembler": "5.4.1"

Node.js and npm version

node --version
v16.6.2
npm --version
7.20.3

Sample Code (to reproduce the issue)

generate:manifest seems to be called during build but fails silently. I accidentally imported an ES module in one of my custom commands. That correctly threw an error when running generate:manifest but didn't error when running node ace build.

That resulted in commands missing in a production build (and deploy) which I only noticed as node ace migration:run resulted in an also non-fatal

[ error ]  "migration:run" command not found

Metadata

Metadata

Assignees

Labels

Type: BugThe issue has indentified a bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions