You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Farhan Khan (Jira)" <ji...@apache.org> on 2022/01/07 06:50:00 UTC

[jira] [Assigned] (ATLAS-4523) Build failure on Atlas docs

     [ https://issues.apache.org/jira/browse/ATLAS-4523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Farhan Khan reassigned ATLAS-4523:
----------------------------------

    Assignee: Farhan Khan

> Build failure on Atlas docs
> ---------------------------
>
>                 Key: ATLAS-4523
>                 URL: https://issues.apache.org/jira/browse/ATLAS-4523
>             Project: Atlas
>          Issue Type: Bug
>            Reporter: Rahul Kurup
>            Assignee: Farhan Khan
>            Priority: Major
>
> When 'mvn site'is run to build the Atlas docs, the following error is encountered.
> {{[ERROR] There was an error loading your config:
> [ERROR] 
> [ERROR] TypeError: babel.loadOptionsSync is not a function
> [ERROR]     at exports.transformSync (/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/worker/transform.js:87:24)
> [ERROR]     at Function.handleMessage (/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/worker/handle-message.js:23:16)
> [ERROR]     at LocalClient.<anonymous> (/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/worker-client.js:134:86)
> [ERROR]     at LocalClient.transform (/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/worker-client.js:64:47)
> [ERROR]     at compile (/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/hook.js:58:25)
> [ERROR]     at compileBabel7 (/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/hook.js:49:14)
> [ERROR]     at Module._compile (/home/admin/atlaslocal/atlas/docs/target/node_modules/pirates/lib/index.js:130:29)
> [ERROR]     at Module._extensions..js (internal/modules/cjs/loader.js:1177:10)
> [ERROR]     at Object.newLoader [as .js] (/home/admin/atlaslocal/atlas/docs/target/node_modules/pirates/lib/index.js:141:7)
> [ERROR]     at Module.load (internal/modules/cjs/loader.js:1001:32)
> [ERROR]     at Function.Module._load (internal/modules/cjs/loader.js:900:14)
> [ERROR]     at Module.require (internal/modules/cjs/loader.js:1043:19)
> [ERROR]     at require (internal/modules/cjs/helpers.js:77:18)
> [ERROR]     at loadFile (/home/admin/atlaslocal/atlas/docs/target/node_modules/load-cfg/dist/index.js:28:24)
> [ERROR]     at Object.load (/home/admin/atlaslocal/atlas/docs/target/node_modules/load-cfg/dist/index.js:46:27)
> [ERROR]     at parseConfig (/home/admin/atlaslocal/atlas/docs/target/docz-lib/docz-core/dist/index.js:728:101)
> [ERROR] TypeError: babel.loadOptionsSync is not a function
> [ERROR]     at exports.transformSync (/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/worker/transform.js:87:24)
> [ERROR]     at Function.handleMessage (/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/worker/handle-message.js:23:16)
> [ERROR]     at LocalClient.<anonymous> (/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/worker-client.js:134:86)
> [ERROR]     at LocalClient.transform (/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/worker-client.js:64:47)
> [ERROR]     at compile (/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/hook.js:58:25)
> [ERROR]     at compileBabel7 (/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/hook.js:49:14)
> [ERROR]     at Module._compile (/home/admin/atlaslocal/atlas/docs/target/node_modules/pirates/lib/index.js:130:29)
> [ERROR]     at Module._extensions..js (internal/modules/cjs/loader.js:1177:10)
> [ERROR]     at Object.newLoader [as .js] (/home/admin/atlaslocal/atlas/docs/target/node_modules/pirates/lib/index.js:141:7)
> [ERROR]     at Module.load (internal/modules/cjs/loader.js:1001:32)
> [ERROR]     at Function.Module._load (internal/modules/cjs/loader.js:900:14)
> [ERROR]     at Module.require (internal/modules/cjs/loader.js:1043:19)
> [ERROR]     at require (internal/modules/cjs/helpers.js:77:18)
> [ERROR]     at Function.IgnorePlugin (/home/admin/atlaslocal/atlas/docs/target/node_modules/webpack/lib/webpack.js:119:22)
> [ERROR]     at ignore (/home/admin/atlaslocal/atlas/docs/target/docz-lib/docz-core/dist/index.js:979:46)
> [ERROR]     at Bundler.config (/home/admin/atlaslocal/atlas/docs/target/docz-lib/docz-core/dist/index.js:1156:3)
> [ERROR] npm ERR! code ELIFECYCLE
> [ERROR] npm ERR! errno 1
> [ERROR] npm ERR! doc@1.0.0 build: `node ./docz-lib/docz/bin/index.js build`
> [ERROR] npm ERR! Exit status 1
> [ERROR] npm ERR! 
> [ERROR] npm ERR! Failed at the doc@1.0.0 build script.
> [ERROR] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
> [ERROR] 
> [ERROR] npm ERR! A complete log of this run can be found in:
> [ERROR] npm ERR!     /home/admin/.npm/_logs/2022-01-06T10_56_45_191Z-debug.log
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time:  01:45 min
> [INFO] Finished at: 2022-01-06T16:26:45+05:30
> [INFO] ------------------------------------------------------------------------
> }}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)