Skip to content

Instantly share code, notes, and snippets.

@abhisekpadhi
Created December 25, 2021 15:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abhisekpadhi/e0fbabf78e1004a0e261912687289256 to your computer and use it in GitHub Desktop.
Save abhisekpadhi/e0fbabf78e1004a0e261912687289256 to your computer and use it in GitHub Desktop.
cloudflare next js static site Failed: an internal error occurred
20:03:07.364 Initializing build environment. This may take up to a few minutes to complete
20:05:31.047 Success: Finished initializing build environment
20:05:31.047 Cloning repository...
20:05:33.574 Success: Finished cloning repository files
20:05:33.731 Installing dependencies
20:05:33.734 Python version set to 2.7
20:05:34.729 Downloading and installing node v14.17.6...
20:05:34.917 Downloading https://nodejs.org/dist/v14.17.6/node-v14.17.6-linux-x64.tar.xz...
20:05:35.158 Computing checksum with sha256sum
20:05:35.302 Checksums matched!
20:05:38.188 Now using node v14.17.6 (npm v6.14.15)
20:05:38.276 Started restoring cached build plugins
20:05:38.279 Finished restoring cached build plugins
20:05:38.412 Attempting ruby version 2.7.1, read from environment
20:05:39.502 Using ruby version 2.7.1
20:05:39.792 Using PHP version 5.6
20:05:39.826 5.2 is already installed.
20:05:39.832 Using Swift version 5.2
20:05:39.832 Started restoring cached node modules
20:05:39.835 Finished restoring cached node modules
20:05:39.837 Started restoring cached yarn cache
20:05:39.840 Finished restoring cached yarn cache
20:05:39.844 Installing yarn at version 1.22.4
20:05:39.850 Installing Yarn!
20:05:39.850 > Downloading tarball...
20:05:39.861
20:05:39.861 [1/2]: https://yarnpkg.com/downloads/1.22.4/yarn-v1.22.4.tar.gz --> /tmp/yarn.tar.gz.R0TzAftaH8
20:05:39.862 % Total % Received % Xferd Average Speed Time Time Time Current
20:05:39.862 Dload Upload Total Spent Left Speed
20:05:39.972
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 79 100 79 0 0 716 0 --:--:-- --:--:-- --:--:-- 718
20:05:40.212
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 93 100 93 0 0 264 0 --:--:-- --:--:-- --:--:-- 2513
20:05:40.423
100 656 100 656 0 0 1167 0 --:--:-- --:--:-- --:--:-- 1167
20:05:40.626
100 1215k 100 1215k 0 0 1590k 0 --:--:-- --:--:-- --:--:-- 1590k
20:05:40.626
20:05:40.626 [2/2]: https://yarnpkg.com/downloads/1.22.4/yarn-v1.22.4.tar.gz.asc --> /tmp/yarn.tar.gz.R0TzAftaH8.asc
20:05:40.710
100 83 100 83 0 0 993 0 --:--:-- --:--:-- --:--:-- 993
20:05:40.729
100 97 100 97 0 0 945 0 --:--:-- --:--:-- --:--:-- 945
20:05:40.751
100 660 100 660 0 0 5297 0 --:--:-- --:--:-- --:--:-- 5297
20:05:41.124
100 1028 100 1028 0 0 2064 0 --:--:-- --:--:-- --:--:-- 2064
20:05:41.160 > Verifying integrity...
20:05:41.185 gpg: Signature made Mon 09 Mar 2020 03:52:13 PM UTC using RSA key ID 69475BAA
20:05:41.192 gpg: Good signature from "Yarn Packaging <yarn@dan.cx>"
20:05:41.196 gpg: Note: This key has expired!
20:05:41.196 Primary key fingerprint: 72EC F46A 56B4 AD39 C907 BBB7 1646 B01B 86E5 0310
20:05:41.196 Subkey fingerprint: 6D98 490C 6F1A CDDD 448E 4595 4F77 6793 6947 5BAA
20:05:41.196 > GPG signature looks good
20:05:41.196 > Extracting to ~/.yarn...
20:05:41.247 > Adding to $PATH...
20:05:41.253 > We've added the following to your /opt/buildhome/.bashrc
20:05:41.253 > If this isn't the profile of your current shell then please add the following to your correct profile:
20:05:41.253
20:05:41.253 export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
20:05:41.253 
20:05:41.572 > Successfully installed Yarn 1.22.4! Please open another terminal where the `yarn` command will now be available.
20:05:41.886 Installing NPM modules using Yarn version 1.22.4
20:05:42.302 yarn install v1.22.4
20:05:42.396 [1/5] Validating package.json...
20:05:42.400 [2/5] Resolving packages...
20:05:42.690 [3/5] Fetching packages...
20:06:27.365 info @next/swc-android-arm64@12.0.7: The platform "linux" is incompatible with this module.
20:06:27.366 info "@next/swc-android-arm64@12.0.7" is an optional dependency and failed compatibility check. Excluding it from installation.
20:06:27.366 info @next/swc-android-arm64@12.0.7: The CPU architecture "x64" is incompatible with this module.
20:06:27.367 info @next/swc-darwin-arm64@12.0.7: The platform "linux" is incompatible with this module.
20:06:27.367 info "@next/swc-darwin-arm64@12.0.7" is an optional dependency and failed compatibility check. Excluding it from installation.
20:06:27.367 info @next/swc-darwin-arm64@12.0.7: The CPU architecture "x64" is incompatible with this module.
20:06:27.367 info @next/swc-darwin-x64@12.0.7: The platform "linux" is incompatible with this module.
20:06:27.368 info "@next/swc-darwin-x64@12.0.7" is an optional dependency and failed compatibility check. Excluding it from installation.
20:06:27.368 info @next/swc-linux-arm-gnueabihf@12.0.7: The CPU architecture "x64" is incompatible with this module.
20:06:27.368 info "@next/swc-linux-arm-gnueabihf@12.0.7" is an optional dependency and failed compatibility check. Excluding it from installation.
20:06:27.368 info @next/swc-linux-arm64-gnu@12.0.7: The CPU architecture "x64" is incompatible with this module.
20:06:27.368 info "@next/swc-linux-arm64-gnu@12.0.7" is an optional dependency and failed compatibility check. Excluding it from installation.
20:06:27.369 info @next/swc-linux-arm64-musl@12.0.7: The CPU architecture "x64" is incompatible with this module.
20:06:27.369 info "@next/swc-linux-arm64-musl@12.0.7" is an optional dependency and failed compatibility check. Excluding it from installation.
20:06:27.369 info @next/swc-win32-arm64-msvc@12.0.7: The platform "linux" is incompatible with this module.
20:06:27.370 info "@next/swc-win32-arm64-msvc@12.0.7" is an optional dependency and failed compatibility check. Excluding it from installation.
20:06:27.370 info @next/swc-win32-arm64-msvc@12.0.7: The CPU architecture "x64" is incompatible with this module.
20:06:27.370 info @next/swc-win32-ia32-msvc@12.0.7: The platform "linux" is incompatible with this module.
20:06:27.370 info "@next/swc-win32-ia32-msvc@12.0.7" is an optional dependency and failed compatibility check. Excluding it from installation.
20:06:27.371 info @next/swc-win32-ia32-msvc@12.0.7: The CPU architecture "x64" is incompatible with this module.
20:06:27.371 info @next/swc-win32-x64-msvc@12.0.7: The platform "linux" is incompatible with this module.
20:06:27.371 info "@next/swc-win32-x64-msvc@12.0.7" is an optional dependency and failed compatibility check. Excluding it from installation.
20:06:27.372 info fsevents@2.3.2: The platform "linux" is incompatible with this module.
20:06:27.372 info "fsevents@2.3.2" is an optional dependency and failed compatibility check. Excluding it from installation.
20:06:27.379 [4/5] Linking dependencies...
20:06:27.381 warning "@emotion/styled > @emotion/babel-plugin@11.7.2" has unmet peer dependency "@babel/core@^7.0.0".
20:06:27.381 warning "@emotion/styled > @emotion/babel-plugin > @babel/plugin-syntax-jsx@7.16.5" has unmet peer dependency "@babel/core@^7.0.0-0".
20:06:27.385 warning "next > styled-jsx > @babel/plugin-syntax-jsx@7.14.5" has unmet peer dependency "@babel/core@^7.0.0-0".
20:06:42.651 [5/5] Building fresh packages...
20:06:43.090 Done in 60.80s.
20:06:43.118 NPM modules installed using Yarn
20:06:43.358 Installing Hugo 0.54.0
20:06:43.955 Hugo Static Site Generator v0.54.0-B1A82C61A/extended linux/amd64 BuildDate: 2019-02-01T10:04:38Z
20:06:43.957 Started restoring cached go cache
20:06:43.962 Finished restoring cached go cache
20:06:44.034 go version go1.14.4 linux/amd64
20:06:44.040 go version go1.14.4 linux/amd64
20:06:44.042 Installing missing commands
20:06:44.042 Verify run directory
20:06:44.042 Executing user command: next build
20:06:44.801 warn - No build cache found. Please configure build caching for faster rebuilds. Read more: https://nextjs.org/docs/messages/no-cache
20:06:44.826 Attention: Next.js now collects completely anonymous telemetry regarding usage.
20:06:44.826 This information is used to shape Next.js' roadmap and prioritize features.
20:06:44.826 You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
20:06:44.826 https://nextjs.org/telemetry
20:06:44.828
20:06:44.878 info - Checking validity of types...
20:06:56.646
20:06:56.646 ./pages/alerts.tsx
20:06:56.646 121:5 Warning: passHref is missing. See https://nextjs.org/docs/messages/link-passhref @next/next/link-passhref
20:06:56.646
20:06:56.646 ./pages/audit.tsx
20:06:56.646 121:5 Warning: passHref is missing. See https://nextjs.org/docs/messages/link-passhref @next/next/link-passhref
20:06:56.646
20:06:56.646 info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
20:06:56.648 info - Creating an optimized production build...
20:07:21.473 info - Compiled successfully
20:07:21.473 info - Collecting page data...
20:07:25.216 info - Generating static pages (0/13)
20:07:25.367 info - Generating static pages (3/13)
20:07:25.446 info - Generating static pages (6/13)
20:07:25.573 info - Generating static pages (9/13)
20:07:25.658 info - Generating static pages (13/13)
20:07:25.669 info - Finalizing page optimization...
20:07:25.676
20:07:25.700 Page Size First Load JS
20:07:25.700 ┌ ○ / 1.29 kB 135 kB
20:07:25.700 ├ /_app 0 B 131 kB
20:07:25.700 ├ ○ /404 194 B 131 kB
20:07:25.700 ├ ○ /about 1.18 kB 132 kB
20:07:25.700 ├ ○ /alerts 5.4 kB 151 kB
20:07:25.700 ├ ○ /audit 5.01 kB 151 kB
20:07:25.700 ├ ○ /billing 3.1 kB 137 kB
20:07:25.700 ├ ○ /home 9.31 kB 140 kB
20:07:25.700 ├ ○ /login 5.94 kB 137 kB
20:07:25.700 ├ ○ /members 5.19 kB 151 kB
20:07:25.700 ├ ○ /notifications 1.29 kB 135 kB
20:07:25.700 ├ ○ /profile 4.82 kB 148 kB
20:07:25.700 └ ○ /support 6.11 kB 149 kB
20:07:25.700 + First Load JS shared by all 131 kB
20:07:25.700 ├ chunks/framework-91d7f78b5b4003c8.js 42 kB
20:07:25.700 ├ chunks/main-7e73d61bce33e887.js 28.2 kB
20:07:25.700 ├ chunks/pages/_app-0a90208529bc0308.js 60.1 kB
20:07:25.700 ├ chunks/webpack-2b99834efceef160.js 773 B
20:07:25.700 └ css/4339ee80bdb8c505.css 224 B
20:07:25.700
20:07:25.700 ○ (Static) automatically rendered as static HTML (uses no initial props)
20:07:25.700
20:07:25.984 Finished
20:07:25.985 Note: No functions dir at /functions found. Skipping.
20:07:25.985 Validating asset output directory
20:07:26.420 Deploying your site to Cloudflare's global network...
20:07:27.909 Failed: an internal error occurred
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment