[
https://issues.apache.org/jira/browse/YUNIKORN-1226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17545234#comment-17545234
]
Saad Ur Rahman edited comment on YUNIKORN-1226 at 6/2/22 2:29 AM:
------------------------------------------------------------------
This is really strange because when I ran the build locally it did pass:
{code:java}
yarn install
yarn install v1.22.18
info No lockfile found.
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning "@docusaurus/core > react-dev-utils >
[email protected]" has unmet peer dependency "typescript@>=
2.7".
warning "@docusaurus/preset-classic > @docusaurus/theme-search-algolia >
@docsearch/[email protected]" has unmet peer dependency "@types/react@>= 16.8.0 <
19.0.0".
[4/4] Building fresh packages...
success Saved lockfile.
Done in 26.49s.
> yarn add @docusaurus/theme-search-algolia
yarn add v1.22.18
[1/4] Resolving packages...
[2/4] Fetching packages...
warning Pattern ["@docusaurus/theme-search-algolia@^2.0.0-beta.21"] is trying
to unpack in the same destination
"/home/saad/.cache/yarn/v6/npm-@docusaurus-theme-search-algolia-2.0.0-beta.21-2891f11372e2542e4e1426c3100b72c2d30d4d68-integrity/node_modules/@docusaurus/theme-search-algolia"
as pattern ["@docusaurus/[email protected]"]. This could
result in non-deterministic behavior, skipping.
[3/4] Linking dependencies...
warning "@docusaurus/core > react-dev-utils >
[email protected]" has unmet peer dependency "typescript@>=
2.7".
warning "@docusaurus/theme-search-algolia > @docsearch/[email protected]" has unmet
peer dependency "@types/react@>= 16.8.0 < 19.0.0".
[4/4] Building fresh packages...success Saved lockfile.
success Saved 1 new dependency.
info Direct dependencies
└─ @docusaurus/[email protected]
info All dependencies
└─ @docusaurus/[email protected]
Done in 2.86s.
> yarn build
yarn run v1.22.18
$ docusaurus build
[INFO] Website will be built for all these locales:
- en
- zh-cn
[INFO] [en] Creating an optimized production build...✔ Client
✔ Server
Compiled successfully in 1.20m
✔ Client
✔ Server
Compiled successfully in 1.08m[SUCCESS] Generated static files in "build".
[INFO] [zh-cn] Creating an optimized production build...✔ Client
● Server █████████████████████████ cache (99%) shutdown IdleFileCachePlugin
stored[SUCCESS] Generated static files in "build/zh-cn".
[INFO] Use `npm run serve` command to test your build locally. {code}
The auto-publish error is related to a missing package and I cannot find any
documents in the repo for any other locales.
{code:java}
Error: Cannot find module
'/yunikorn-site/node_modules/terser-webpack-plugin/dist/index.js'. Please
verify that the package.json has a valid "main" entry
...
code: 'MODULE_NOT_FOUND',
path: '/yunikorn-site/node_modules/terser-webpack-plugin/package.json',
requestPath: 'terser-webpack-plugin'{code}
I will look into it.
was (Author: surahman):
This is really strange because when I ran the build locally it did pass:
{code:java}
yarn install
yarn install v1.22.18
info No lockfile found.
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning "@docusaurus/core > react-dev-utils >
[email protected]" has unmet peer dependency "typescript@>=
2.7".
warning "@docusaurus/preset-classic > @docusaurus/theme-search-algolia >
@docsearch/[email protected]" has unmet peer dependency "@types/react@>= 16.8.0 <
19.0.0".
[4/4] Building fresh packages...
success Saved lockfile.
Done in 26.49s.
> yarn add @docusaurus/theme-search-algolia
yarn add v1.22.18
[1/4] Resolving packages...
[2/4] Fetching packages...
warning Pattern ["@docusaurus/theme-search-algolia@^2.0.0-beta.21"] is trying
to unpack in the same destination
"/home/saad/.cache/yarn/v6/npm-@docusaurus-theme-search-algolia-2.0.0-beta.21-2891f11372e2542e4e1426c3100b72c2d30d4d68-integrity/node_modules/@docusaurus/theme-search-algolia"
as pattern ["@docusaurus/[email protected]"]. This could
result in non-deterministic behavior, skipping.
[3/4] Linking dependencies...
warning "@docusaurus/core > react-dev-utils >
[email protected]" has unmet peer dependency "typescript@>=
2.7".
warning "@docusaurus/theme-search-algolia > @docsearch/[email protected]" has unmet
peer dependency "@types/react@>= 16.8.0 < 19.0.0".
[4/4] Building fresh packages...success Saved lockfile.
success Saved 1 new dependency.
info Direct dependencies
└─ @docusaurus/[email protected]
info All dependencies
└─ @docusaurus/[email protected]
Done in 2.86s.
> yarn build
yarn run v1.22.18
$ docusaurus build
[INFO] Website will be built for all these locales:
- en
- zh-cn
[INFO] [en] Creating an optimized production build...✔ Client
✔ Server
Compiled successfully in 1.20m
✔ Client
✔ Server
Compiled successfully in 1.08m[SUCCESS] Generated static files in "build".
[INFO] [zh-cn] Creating an optimized production build...✔ Client
● Server █████████████████████████ cache (99%) shutdown IdleFileCachePlugin
stored[SUCCESS] Generated static files in "build/zh-cn".
[INFO] Use `npm run serve` command to test your build locally. {code}
The auto-publish error is related to a missing package and I cannot find any
documents in the repo for any other locales.
{code:java}
Error: Cannot find module
'/yunikorn-site/node_modules/terser-webpack-plugin/dist/index.js'. Please
verify that the package.json has a valid "main" entry {code}
I will look into it.
> Deprecate maturity page in YuniKorn
> -----------------------------------
>
> Key: YUNIKORN-1226
> URL: https://issues.apache.org/jira/browse/YUNIKORN-1226
> Project: Apache YuniKorn
> Issue Type: Bug
> Components: website
> Reporter: Sunil G
> Assignee: Saad Ur Rahman
> Priority: Major
> Labels: newbee, pull-request-available, trivial
> Fix For: 1.1.0
>
>
> https://yunikorn.apache.org/community/maturity needs to be removed.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]