Actions
Bug #17656
closedAPI doc build silently fails
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
Description
rm -rf build target # Prepare all sources in build/ dir mkdir -p build target/webapp cp -r ../webapp/sources/api-doc build/webapp mkdir -p build/webapp/assets cp -r assets/. build/webapp/assets ./build.py webapp build target Building version 12 from build/webapp/openapi.src.yml /usr/local/lib/node_modules/@redocly/openapi-cli/dist/yaml/index.js:108 if (source[frameStart - 1] === '\n') actualLinesBefore += 1; ^ TypeError: Cannot read property '3867' of undefined at getCodeFrameForLocation (/usr/local/lib/node_modules/@redocly/openapi-cli/dist/yaml/index.js:108:15) at createYAMLParseError (/usr/local/lib/node_modules/@redocly/openapi-cli/dist/error/index.js:50:48) at resolve (/usr/local/lib/node_modules/@redocly/openapi-cli/dist/resolver.js:89:57) at resolveNode (/usr/local/lib/node_modules/@redocly/openapi-cli/dist/resolver.js:210:22) at onNodeEnter (/usr/local/lib/node_modules/@redocly/openapi-cli/dist/traverse.js:90:29) at traverseNode (/usr/local/lib/node_modules/@redocly/openapi-cli/dist/traverse.js:110:23) at traverseChildren (/usr/local/lib/node_modules/@redocly/openapi-cli/dist/traverse.js:47:27) at traverseNode (/usr/local/lib/node_modules/@redocly/openapi-cli/dist/traverse.js:138:30) at traverseChildren (/usr/local/lib/node_modules/@redocly/openapi-cli/dist/traverse.js:70:24) at traverseNode (/usr/local/lib/node_modules/@redocly/openapi-cli/dist/traverse.js:138:30) Error: Error opening file "/home/amousset/projects/rudder/api-doc/target/webapp/12/openapi.yml" ENOENT: no such file or directory, open '/home/amousset/projects/rudder/api-doc/target/webapp/12/openapi.yml' at ReadFileContext.callback (/usr/local/lib/node_modules/redoc-cli/node_modules/json-schema-ref-parser/lib/resolvers/file.js:51:20) at FSReqWrap.readFileAfterOpen [as oncomplete] (fs.js:420:13) Error: ENOENT: no such file or directory, open '/home/amousset/projects/rudder/api-doc/target/webapp/12/openapi.yml'
Updated by Alexis Mousset over 4 years ago
- Status changed from New to In progress
- Assignee set to Alexis Mousset
Updated by Alexis Mousset over 4 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Alexis Mousset to François ARMAND
- Pull Request set to https://github.com/Normation/rudder/pull/3063
Updated by Alexis Mousset over 4 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|16c33695de0eb62e728491606c18c8cb82a0f798.
Updated by Alexis Mousset over 4 years ago
- Related to Bug #17665: Fix archive API doc added
Updated by Vincent MEMBRÉ over 4 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 6.1.0~rc4 which was released today.
Actions