-
Notifications
You must be signed in to change notification settings - Fork 151
Closed
Description
Hi @Claymore1337 it looks like the latest release is broken when used from node_modules
of another project:
$ npx jsonschema2md -d src/schemas -o docs
07
info: output directory: /home/circleci/project/docs
info: finished reading all *.schema.json files in /home/circleci/project/src/schemas, beginning processing….
/home/circleci/project/src/schemas/action.schema.json
/home/circleci/project/src/schemas/content.schema.json
/home/circleci/project/src/schemas/context.schema.json
/home/circleci/project/src/schemas/mdast.schema.json
/home/circleci/project/src/schemas/meta.schema.json
/home/circleci/project/src/schemas/position.schema.json
/home/circleci/project/src/schemas/rawrequest.schema.json
/home/circleci/project/src/schemas/request.schema.json
/home/circleci/project/src/schemas/response.schema.json
/home/circleci/project/src/schemas/secrets.schema.json
/home/circleci/project/src/schemas/section.schema.json
unresolved reference: https://ns.adobe.com/helix/pipeline/position
unresolved reference: https://ns.adobe.com/helix/pipeline/mdast
unresolved reference: https://ns.adobe.com/helix/pipeline/meta#/definitions/meta
unresolved reference: https://ns.adobe.com/helix/pipeline/meta#/definitions/meta/properties/title
unresolved reference: https://ns.adobe.com/helix/pipeline/meta#/definitions/meta/properties/intro
unresolved reference: https://ns.adobe.com/helix/pipeline/meta#/definitions/meta/properties/image
unresolved reference: https://ns.adobe.com/helix/pipeline/mdast
unresolved reference: https://ns.adobe.com/helix/pipeline/meta#/definitions/meta/properties/image
unresolved reference: https://ns.adobe.com/helix/pipeline/meta#/definitions/meta/properties/intro
unresolved reference: https://ns.adobe.com/helix/pipeline/meta#/definitions/meta
unresolved reference: https://ns.adobe.com/helix/pipeline/position
unresolved reference: https://ns.adobe.com/helix/pipeline/meta#/definitions/meta/properties/title
/home/circleci/project/src/schemas/textcoordinates.schema.json
Output processed. Trying to make a README.md now
error: ENOENT: no such file or directory, mkdir '/home/circleci/project/lib/locales' {"errno":-2,"code":"ENOENT","syscall":"mkdir","path":"/home/circleci/project/lib/locales"}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @adobe/helix-pipeline@4.0.5 docs: `npx jsonschema2md -d src/schemas -o docs`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @adobe/helix-pipeline@4.0.5 docs script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/circleci/.npm/_logs/2019-07-30T09_41_43_235Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @adobe/helix-pipeline@4.0.5 types: `npm run docs && node bin/schema2ts.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @adobe/helix-pipeline@4.0.5 types script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/circleci/.npm/_logs/2019-07-30T09_41_43_247Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @adobe/helix-pipeline@4.0.5 lint: `npx eslint . && npm run types`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @adobe/helix-pipeline@4.0.5 lint script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/circleci/.npm/_logs/2019-07-30T09_41_43_257Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @adobe/helix-pipeline@4.0.5 test-ci: `npm run lint && npm run test && codecov`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @adobe/helix-pipeline@4.0.5 test-ci script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/circleci/.npm/_logs/2019-07-30T09_41_43_267Z-debug.log
Exited with code 1
See also adobe/helix-pipeline#432