Skip to content

Instantly share code, notes, and snippets.

@seyoon20087
Created October 9, 2021 03:40
Show Gist options
  • Save seyoon20087/7ac56a5c26f848b1f9fc418ac3232d6a to your computer and use it in GitHub Desktop.
Save seyoon20087/7ac56a5c26f848b1f9fc418ac3232d6a to your computer and use it in GitHub Desktop.
Site compile log
Running with gitlab-runner 14.3.2 (e0218c92)
Preparing the "shell" executor
executor not supported job=1 project=0 referee=metrics
Using Shell executor...
Preparing environment
Running on fv-az121-388...
Getting source from Git repository
Fetching changes...
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty Git repository in /home/runner/work/seyoon20087.github.io/seyoon20087.github.io/builds/0/project-0/.git/
Created fresh repository.
warning: rejected refs/remotes/origin/master because shallow roots are not allowed to be updated
Checking out 5f355f10 as master...
Skipping Git submodules setup
Executing "step_script" stage of the job script
$ touch yarn.lock
$ env YARN_ENABLE_IMMUTABLE_INSTALLS=false yarn install
➤ YN0000: ┌ Resolution step
Resolution step
➤ YN0032: │ fsevents@npm:2.3.2: Implicit dependencies on node-gyp are discouraged
➤ YN0032: │ fsevents@npm:2.3.2: Implicit dependencies on node-gyp are discouraged
➤ YN0061: │ querystring@npm:0.2.0 is deprecated: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
➤ YN0061: │ chokidar@npm:2.1.8 is deprecated: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
➤ YN0061: │ fsevents@npm:1.2.13 is deprecated: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
➤ YN0032: │ nan@npm:2.15.0: Implicit dependencies on node-gyp are discouraged
➤ YN0061: │ uuid@npm:3.4.0 is deprecated: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
➤ YN0061: │ urix@npm:0.1.0 is deprecated: Please see https://github.com/lydell/urix#deprecated
➤ YN0061: │ resolve-url@npm:0.2.1 is deprecated: https://github.com/lydell/resolve-url#deprecated
➤ YN0002: │ @docsearch/react@npm:3.0.0-alpha.40 [44192] doesn't provide @algolia/client-search (p25e4a), requested by @algolia/autocomplete-preset-algolia
➤ YN0002: │ @docusaurus/theme-search-algolia@npm:2.0.0-beta.6 [2cd83] doesn't provide prism-react-renderer (p6159f), requested by @docusaurus/theme-common
➤ YN0002: │ react-dev-utils@npm:11.0.4 doesn't provide typescript (p79ddf), requested by fork-ts-checker-webpack-plugin
➤ YN0002: │ react-dev-utils@npm:11.0.4 doesn't provide webpack (p2af19), requested by fork-ts-checker-webpack-plugin
➤ YN0002: │ seyoon-20087-github-io@workspace:. doesn't provide @popperjs/core (p315b1), requested by bootstrap
➤ YN0002: │ seyoon-20087-github-io@workspace:. doesn't provide webpack (p5070e), requested by file-loader
➤ YN0002: │ seyoon-20087-github-io@workspace:. doesn't provide webpack (p528b3), requested by url-loader
➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code
➤ YN0000: └ Completed in 9s 370ms
➤ YN0000: ┌ Fetch step
Fetch step
➤ YN0013: │ No packages were cached - 1257 packages had to be fetched
➤ YN0000: └ Completed in 16s 512ms
➤ YN0000: ┌ Link step
Link step
➤ YN0062: │ fsevents@patch:fsevents@npm%3A2.3.2#~builtin<compat/fsevents>::version=2.3.2&hash=1cc4b2 The platform linux is incompatible with this module, link skipped.
➤ YN0062: │ fsevents@patch:fsevents@npm%3A1.2.13#~builtin<compat/fsevents>::version=1.2.13&hash=1cc4b2 The platform linux is incompatible with this module, link skipped.
➤ YN0007: │ core-js@npm:3.18.1 must be built because it never has been before or the last one failed
➤ YN0007: │ core-js-pure@npm:3.18.1 must be built because it never has been before or the last one failed
➤ YN0000: └ Completed in 12s 887ms
➤ YN0000: Done with warnings in 39s 64ms
$ yarn run build
[en] Creating an optimized production build...
[info] [webpackbar] Compiling Client
[info] [webpackbar] Compiling Server
[success] [webpackbar] Client: Compiled successfully in 18.60s
Docusaurus Node/SSR could not render static page with path "/" because of following error:
ReferenceError: document is not defined
at enableDismissTrigger (main:5763:19)
at Module.9522 (main:5858:1)
at __webpack_require__ (main:60951:42)
at main:1596:116
Pro tip: It looks like you are using code that should run on the client-side only.
To get around it, try using <BrowserOnly> (https://docusaurus.io/docs/docusaurus-core/#browseronly) or ExecutionEnvironment (https://docusaurus.io/docs/docusaurus-core/#executionenvironment).
It might also require to wrap your client code in useEffect hook and/or import a third-party library dynamically (if any).
[success] [webpackbar] Server: Compiled with some errors in 20.27s
Error: Server-side rendering fails due to the error above.
Unable to build website for locale "en".
Error: Failed to compile with errors.
at /home/runner/work/seyoon20087.github.io/seyoon20087.github.io/builds/0/project-0/node_modules/@docusaurus/core/lib/webpack/utils.js:203:24
at /home/runner/work/seyoon20087.github.io/seyoon20087.github.io/builds/0/project-0/node_modules/webpack/lib/MultiCompiler.js:554:14
at processQueueWorker (/home/runner/work/seyoon20087.github.io/seyoon20087.github.io/builds/0/project-0/node_modules/webpack/lib/MultiCompiler.js:491:6)
at processTicksAndRejections (node:internal/process/task_queues:78:11)
FATAL: exit status 1
ERROR: Job failed: exit status 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment