1.error
# npm run dev:seller
> privateinvoice@0.0.1 dev:seller
> NODE_OPTIONS=--openssl-legacy-provider npx dotenv -e seller.env node index.js
/opt/PrivateInvoice/node_modules/yamljs/lib/Parser.js:270
throw new ParseException('Unable to parse.', this.getRealCurrentLineNb() + 1, this.currentLine);
^
[ParseException [Error]: Unable to parse.] {
parsedLine: 46,
snippet: "$ref:'#/components/schemas/Error_contacts_createBusinessCard'"
}
2.原因
・$ref:の後のspaceが抜けていた
(1) before
$ref:'#/components/schemas/Error_contacts_createBusinessCard'
(2) after
$ref: '#/components/schemas/Error_contacts_createBusinessCard'