Returns an abort error that's thrown when a directory that's expected to have a package.json doesn't have it.

Param: directory

The path to the directory that should contain a package.json

Returns

An abort error.

Hierarchy (view full)

Constructors

Properties

customSections?: CustomSection[]
formattedMessage?: TokenItem
nextSteps?: TokenItem<InlineToken>[]
skipOclifErrorHandling: boolean
tryMessage: null | TokenItem