kodadot / developers

Resources for developers about KodaDot open source tooling for NFTs
https://developers.kodadot.xyz
The Unlicense
6 stars 12 forks source link

Docs doesn't build, maybe bc yarn? #79

Closed yangwao closed 1 year ago

yangwao commented 1 year ago

Logs from cf

15:46:48.866 | Cloning repository...
-- | --
15:46:51.212 | From https://github.com/kodadot/docs
15:46:51.213 | * branch            0a08db6912c1955d3746b76ddbcb714fe48a5666 -> FETCH_HEAD
15:46:51.213 |  
15:46:51.515 | HEAD is now at 0a08db6 add factbook
15:46:51.516 |  
15:46:51.680 |  
15:46:51.710 | Success: Finished cloning repository files
15:46:52.455 | Installing dependencies
15:46:52.467 | Python version set to 2.7
15:46:54.592 | Attempting node version '16.13.2' from .nvmrc
15:46:56.156 | Downloading and installing node v16.13.2...
15:46:56.611 | Downloading https://nodejs.org/dist/v16.13.2/node-v16.13.2-linux-x64.tar.xz...
15:46:57.045 | Computing checksum with sha256sum
15:46:57.176 | Checksums matched!
15:47:01.614 | Now using node v16.13.2 (npm v8.1.2)
15:47:02.078 | Started restoring cached build plugins
15:47:02.093 | Finished restoring cached build plugins
15:47:02.661 | Attempting ruby version 2.7.1, read from environment
15:47:06.628 | Using ruby version 2.7.1
15:47:07.004 | Using PHP version 5.6
15:47:07.173 | 5.2 is already installed.
15:47:07.200 | Using Swift version 5.2
15:47:07.201 | Started restoring cached node modules
15:47:07.218 | Finished restoring cached node modules
15:47:07.227 | Started restoring cached yarn cache
15:47:07.247 | Finished restoring cached yarn cache
15:47:07.270 | Installing yarn at version 1.22.4
15:47:07.288 | Installing Yarn!
15:47:07.289 | > Downloading tarball...
15:47:07.335 |  
15:47:07.335 | [1/2]: https://yarnpkg.com/downloads/1.22.4/yarn-v1.22.4.tar.gz --> /tmp/yarn.tar.gz.6g9CIIEI5n
15:47:07.336 | % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
15:47:07.337 | Dload  Upload   Total   Spent    Left  Speed
15:47:07.573 | 0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0 100    80  100    80    0     0    336      0 --:--:-- --:--:-- --:--:--   337
15:47:07.703 | 0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
15:47:07.713 | curl: (60) server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
15:47:07.714 | More details here: http://curl.haxx.se/docs/sslcerts.html
15:47:07.714 |  
15:47:07.714 | curl performs SSL certificate verification by default, using a "bundle"
15:47:07.715 | of Certificate Authority (CA) public keys (CA certs). If the default
15:47:07.715 | bundle file isn't adequate, you can specify an alternate file
15:47:07.715 | using the --cacert option.
15:47:07.715 | If this HTTPS server uses a certificate signed by a CA represented in
15:47:07.716 | the bundle, the certificate verification probably failed due to a
15:47:07.716 | problem with the certificate (it might be expired, or the name might
15:47:07.716 | not match the domain name in the URL).
15:47:07.717 | If you'd like to turn off curl's verification of the certificate, use
15:47:07.717 | the -k (or --insecure) option.
15:47:07.717 |  
15:47:07.717 | [2/2]: https://yarnpkg.com/downloads/1.22.4/yarn-v1.22.4.tar.gz.asc --> /tmp/yarn.tar.gz.6g9CIIEI5n.asc
15:47:07.772 | 100    84  100    84    0     0   1534      0 --:--:-- --:--:-- --:--:--  1534
15:47:07.821 | 0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
15:47:07.828 | curl: (60) server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
15:47:07.828 | More details here: http://curl.haxx.se/docs/sslcerts.html
15:47:07.829 |  
15:47:07.829 | curl performs SSL certificate verification by default, using a "bundle"
15:47:07.829 | of Certificate Authority (CA) public keys (CA certs). If the default
15:47:07.829 | bundle file isn't adequate, you can specify an alternate file
15:47:07.830 | using the --cacert option.
15:47:07.830 | If this HTTPS server uses a certificate signed by a CA represented in
15:47:07.830 | the bundle, the certificate verification probably failed due to a
15:47:07.831 | problem with the certificate (it might be expired, or the name might
15:47:07.831 | not match the domain name in the URL).
15:47:07.831 | If you'd like to turn off curl's verification of the certificate, use
15:47:07.831 | the -k (or --insecure) option.
15:47:07.844 | > Failed to download https://yarnpkg.com/downloads/1.22.4/yarn-v1.22.4.tar.gz.
15:47:07.856 | mv: cannot stat '/opt/buildhome/.yarn': No such file or directory
15:47:07.866 | /opt/build/bin/run-build-functions.sh: line 106: yarn: command not found
15:47:07.867 | Installing NPM modules using Yarn version
15:47:08.362 | /opt/build/bin/run-build-functions.sh: line 117: yarn: command not found
15:47:08.364 | Error during Yarn install
15:47:08.367 | Failed: build command exited with code: 1
15:47:09.163 | Failed: an internal error occurred
damskyftw commented 1 year ago

Hmm, might try it on my side