Returns a bug error that's thrown when the lookup of the package.json traversing the directory hierarchy up can't find a package.json

Param: directory

The directory from which the traverse has been done

Returns

An abort error.

Hierarchy (view full)

  • BugError
    • FindUpAndReadPackageJsonNotFoundError

Constructors

Properties

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