Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Punch is (finally) broken #177

Open
valentine opened this issue Aug 28, 2021 · 5 comments
Open

Punch is (finally) broken #177

valentine opened this issue Aug 28, 2021 · 5 comments

Comments

@valentine
Copy link
Member

valentine commented Aug 28, 2021

Netlify build log:

9:42:31 PM: Build ready to start
9:42:31 PM: ---------------------------------------------------------------------DEPRECATION NOTICE: Builds using the Trusty build image will fail after September 19, 2021The build image for this site uses Ubuntu 14.04 Trusty Tahr, which is no longer supported.All Netlify builds using the Trusty build image will begin failing in the week of September 19.To avoid service disruption, please select a newer build image at the following link:https://app.netlify.com/sites/hsg/settings/deploys#build-image-selectionFor more details, visit the build image migration guide:https://answers.netlify.com/t/end-of-support-for-trusty-build-image-everything-you-need-to-know/39004---------------------------------------------------------------------
9:42:32 PM: build-image version: 8e315e54bc4032a32e73290be556cde4f8348c12
9:42:32 PM: build-image tag: v2.8.2
9:42:32 PM: buildbot version: 76af94f42647b2019c5925a515cc8332b4883b85
9:42:32 PM: No cache source specified, skip fetching cache
9:42:32 PM: Starting to prepare the repo for build
9:42:33 PM: No cached dependencies found. Cloning fresh repo
9:42:33 PM: git clone [email protected]:hackerspacesg/hackerspace.sg
9:42:34 PM: Preparing Git Reference refs/heads/master
9:42:34 PM: Starting build script
9:42:34 PM: Installing dependencies
9:42:35 PM: Downloading and installing node v6.17.1...
9:42:35 PM: Downloading https://nodejs.org/dist/v6.17.1/node-v6.17.1-linux-x64.tar.xz...
9:42:36 PM: 
###################
9:42:36 PM:                                           27.4%
9:42:36 PM: 
###############################
9:42:36 PM: ######################################### 100.0%
9:42:36 PM: Computing checksum with sha256sum
9:42:36 PM: Checksums matched!
9:42:38 PM: Now using node v6.17.1 (npm v3.10.10)
9:42:38 PM: Attempting ruby version 2.3.6, read from environment
9:42:39 PM: Using ruby version 2.3.6
9:42:39 PM: Using PHP version 5.6
9:42:39 PM: Started restoring cached node modules
9:42:39 PM: Finished restoring cached node modules
9:42:40 PM: Installing NPM modules using NPM version 3.10.10
9:42:41 PM: npm
9:42:41 PM:  WARN
9:42:41 PM:  deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
9:42:42 PM: npm WARN
9:42:42 PM: deprecated [email protected]: Use uuid module instead
9:42:42 PM: npm
9:42:42 PM: WARN deprecated [email protected]: This module moved to @hapi/hawk. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
9:42:42 PM: npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
9:42:42 PM: npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
9:42:42 PM: npm WARN deprecated [email protected]: This module moved to @hapi/sntp. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
9:42:42 PM: npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
9:42:43 PM: npm WARN
9:42:43 PM:  deprecated [email protected]: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
9:42:43 PM: npm
9:42:43 PM: WARN
9:42:43 PM:  deprecated [email protected]: connect 2.x series is deprecated
9:42:46 PM: npm WARN deprecated [email protected]: scmp v2 uses improved core crypto comparison since Node v6.6.0
9:42:46 PM: npm WARN
9:42:46 PM: deprecated [email protected]: 'native-or-bluebird' is deprecated. Please use 'any-promise' instead.
9:42:53 PM: [email protected] /opt/build/repo
9:42:53 PM: ├─┬ [email protected]
9:42:53 PM: │ ├─┬ [email protected]
9:42:53 PM: │ │ ├── [email protected]
9:42:53 PM: │ │ ├── [email protected]
9:42:53 PM: │ │ ├─┬ [email protected]
9:42:53 PM: │ │ │ ├── [email protected]
9:42:53 PM: │ │ │ └─┬ [email protected]
9:42:53 PM: │ │ │   └── [email protected]
9:42:53 PM: │ │ ├─┬ [email protected]
9:42:53 PM: │ │ │ ├── [email protected]
9:42:53 PM: │ │ │ ├── [email protected]
9:42:53 PM: │ │ │ ├── [email protected]
9:42:53 PM: │ │ │ └── [email protected]
9:42:53 PM: │ │ ├─┬ [email protected]
9:42:53 PM: │ │ │ ├── [email protected]
9:42:53 PM: │ │ │ ├── [email protected]
9:42:53 PM: │ │ │ └── [email protected]
9:42:53 PM: │ │ ├── [email protected]
9:42:53 PM: │ │ ├── [email protected]
9:42:53 PM: │ │ ├── [email protected]
9:42:53 PM: │ │ ├── [email protected]
9:42:53 PM: │ │ ├── [email protected]
9:42:53 PM: │ │ ├── [email protected]
9:42:53 PM: │ │ ├─┬ [email protected]
9:42:53 PM: │ │ │ ├── [email protected]
9:42:53 PM: │ │ │ ├── [email protected]
9:42:53 PM: │ │ │ └── [email protected]
9:42:53 PM: │ │ └── [email protected]
9:42:53 PM: │ └── [email protected]
9:42:53 PM: └─┬ [email protected]
9:42:53 PM:   ├── [email protected]
9:42:53 PM:   ├─┬ [email protected]
9:42:53 PM:   │ ├── [email protected]
9:42:53 PM:   │ ├─┬ [email protected]
9:42:53 PM:   │ │ ├── [email protected]
9:42:53 PM:   │ │ ├── [email protected]
9:42:53 PM:   │ │ ├── [email protected]
9:42:53 PM:   │ │ └─┬ [email protected]
9:42:53 PM:   │ │   └── [email protected]
9:42:53 PM:   │ ├── [email protected]
9:42:53 PM:   │ ├─┬ [email protected]
9:42:53 PM:   │ │ ├─┬ [email protected]
9:42:53 PM:   │ │ │ └── [email protected]
9:42:53 PM:   │ │ ├── [email protected]
9:42:53 PM:   │ │ ├── [email protected]
9:42:53 PM:   │ │ ├── [email protected]
9:42:53 PM:   │ │ └── [email protected]
9:42:53 PM:   │ ├── [email protected]
9:42:53 PM:   │ ├── [email protected]
9:42:53 PM:   │ ├── [email protected]
9:42:53 PM:   │ ├── [email protected]
9:42:53 PM:   │ ├─┬ [email protected]
9:42:53 PM:   │ │ └─┬ [email protected]
9:42:53 PM:   │ │   ├── [email protected]
9:42:53 PM:   │ │   ├── [email protected]
9:42:53 PM:   │ │   ├── [email protected]
9:42:53 PM:   │ │   └─┬ [email protected]
9:42:53 PM:   │ │     ├── [email protected]
9:42:53 PM:   │ │     └── [email protected]
9:42:53 PM:   │ ├─┬ [email protected]
9:42:53 PM:   │ │ └── [email protected]
9:42:53 PM:   │ ├── [email protected]
9:42:53 PM:   │ ├─┬ [email protected]
9:42:53 PM:   │ │ └── [email protected]
9:42:53 PM:   │ ├─┬ [email protected]
9:42:53 PM:   │ │ ├── [email protected]
9:42:53 PM:   │ │ ├─┬ [email protected]
9:42:53 PM:   │ │ │ └─┬ [email protected]
9:42:53 PM:   │ │ │   ├─┬ [email protected]
9:42:53 PM:   │ │ │   │ └── [email protected]
9:42:53 PM:   │ │ │   └── [email protected]
9:42:53 PM:   │ │ └── [email protected]
9:42:53 PM:   │ ├── [email protected]
9:42:53 PM:   │ ├── [email protected]
9:42:53 PM:   │ ├── [email protected]
9:42:53 PM:   │ ├─┬ [email protected]
9:42:53 PM:   │ │ ├── [email protected]
9:42:53 PM:   │ │ └── [email protected]
9:42:53 PM:   │ ├── [email protected]
9:42:53 PM:   │ ├─┬ [email protected]
9:42:53 PM:   │ │ ├─┬ [email protected]
9:42:53 PM:   │ │ │ ├── [email protected]
9:42:53 PM:   │ │ │ ├── [email protected]
9:42:53 PM:   │ │ │ └── [email protected]
9:42:53 PM:   │ │ └── [email protected]
9:42:53 PM:   │ ├── [email protected]
9:42:53 PM:   │ ├── [email protected]
9:42:53 PM:   │ ├── [email protected]
9:42:53 PM:   │ ├── [email protected]
9:42:53 PM:   │ ├── [email protected]
9:42:53 PM:   │ ├─┬ [email protected]
9:42:53 PM:   │ │ └── [email protected]
9:42:53 PM:   │ ├─┬ [email protected]
9:42:53 PM:   │ │ ├── [email protected]
9:42:53 PM:   │ │ └── [email protected]
9:42:53 PM:   │ ├─┬ [email protected]
9:42:53 PM:   │ │ └─┬ [email protected]
9:42:53 PM:   │ │   ├─┬ [email protected]
9:42:53 PM:   │ │   │ └── [email protected]
9:42:53 PM:   │ │   ├── [email protected]
9:42:53 PM:   │ │   └── [email protected]
9:42:53 PM:   │ ├── [email protected]
9:42:53 PM:   │ └── [email protected]
9:42:53 PM:   ├── [email protected]
9:42:53 PM:   ├── [email protected]
9:42:53 PM:   ├─┬ [email protected]
9:42:53 PM:   │ ├── [email protected]
9:42:53 PM:   │ ├── [email protected]
9:42:53 PM:   │ ├─┬ [email protected]
9:42:53 PM:   │ │ └── [email protected]
9:42:53 PM:   │ └─┬ [email protected]
9:42:53 PM:   │   └─┬ [email protected]
9:42:53 PM:   │     ├── [email protected]
9:42:53 PM:   │     ├── [email protected]
9:42:53 PM:   │     ├─┬ [email protected]
9:42:53 PM:   │     │ └─┬ [email protected]
9:42:53 PM:   │     │   ├── [email protected]
9:42:53 PM:   │     │   └── [email protected]
9:42:53 PM:   │     └── [email protected]
9:42:53 PM:   ├── [email protected]
9:42:53 PM:   ├─┬ [email protected]
9:42:53 PM:   │ ├─┬ [email protected]
9:42:53 PM:   │ │ └── [email protected]
9:42:53 PM:   │ ├── [email protected]
9:42:53 PM:   │ └─┬ [email protected]
9:42:53 PM:   │   ├── [email protected]
9:42:53 PM:   │   └── [email protected]
9:42:53 PM:   ├─┬ [email protected]
9:42:53 PM:   │ ├─┬ [email protected]
9:42:53 PM:   │ │ └── [email protected]
9:42:53 PM:   │ ├─┬ [email protected]
9:42:53 PM:   │ │ └── [email protected]
9:42:53 PM:   │ ├── [email protected]
9:42:53 PM:   │ ├─┬ [email protected]
9:42:53 PM:   │ │ ├── [email protected]
9:42:53 PM:   │ │ └── [email protected]
9:42:53 PM:   │ ├── [email protected]
9:42:53 PM:   │ ├─┬ [email protected]
9:42:53 PM:   │ │ ├─┬ [email protected]
9:42:53 PM:   │ │ │ └── [email protected]
9:42:53 PM:   │ │ └─┬ [email protected]
9:42:53 PM:   │ │   └── [email protected]
9:42:53 PM:   │ ├── [email protected]
9:42:53 PM:   │ ├── [email protected]
9:42:53 PM:   │ └── [email protected]
9:42:53 PM:   ├── [email protected]
9:42:53 PM:   ├── [email protected]
9:42:53 PM:   ├── [email protected]
9:42:53 PM:   ├── [email protected]
9:42:53 PM:   └── [email protected]
9:42:53 PM: NPM modules installed
9:42:54 PM: Started restoring cached go cache
9:42:54 PM: Finished restoring cached go cache
9:42:54 PM: Installing Go version 1.10
9:42:59 PM: unset GOOS;
9:42:59 PM: unset GOARCH;
9:42:59 PM: export GOROOT='/opt/buildhome/.gimme_cache/versions/go1.10.linux.amd64';
9:42:59 PM: export PATH="/opt/buildhome/.gimme_cache/versions/go1.10.linux.amd64/bin:${PATH}";
9:42:59 PM: go version >&2;
9:42:59 PM: export GIMME_ENV="/opt/buildhome/.gimme_cache/env/go1.10.linux.amd64.env"
9:42:59 PM: go version go1.10 linux/amd64
9:42:59 PM: Installing missing commands
9:42:59 PM: Verify run directory
9:42:59 PM: Executing user command: make
9:42:59 PM: npm install
9:43:01 PM: node bin/newevents.js
9:43:02 PM: /opt/build/repo/node_modules/.bin/punch g
9:43:02 PM: Generating site...
9:43:02 PM: /opt/build/repo/node_modules/needle/lib/needle.js:618
9:43:02 PM:     stream.pipeline.apply(null, [resp].concat(pipeline).concat(pipelineCb));
9:43:02 PM:                    ^
9:43:02 PM: TypeError: Cannot read property 'apply' of undefined
9:43:02 PM:     at ClientRequest.<anonymous> (/opt/build/repo/node_modules/needle/lib/needle.js:618:20)
9:43:02 PM:     at ClientRequest.g (events.js:292:16)
9:43:02 PM:     at emitOne (events.js:96:13)
9:43:02 PM:     at ClientRequest.emit (events.js:188:7)
9:43:02 PM:     at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:488:21)
9:43:02 PM:     at HTTPParser.parserOnHeadersComplete (_http_common.js:99:23)
9:43:02 PM:     at TLSSocket.socketOnData (_http_client.js:377:20)
9:43:02 PM:     at emitOne (events.js:96:13)
9:43:02 PM:     at TLSSocket.emit (events.js:188:7)
9:43:02 PM:     at readableAddChunk (_stream_readable.js:176:18)
9:43:02 PM:     at TLSSocket.Readable.push (_stream_readable.js:134:10)
9:43:02 PM:     at TLSWrap.onread (net.js:559:20)
9:43:02 PM: make: *** [all] Error 1
9:43:02 PM: Skipping functions preparation step: no functions directory set
9:43:02 PM: Caching artifacts
9:43:02 PM: Started saving node modules
9:43:02 PM: Finished saving node modules
9:43:02 PM: Started saving pip cache
9:43:02 PM: Finished saving pip cache
9:43:02 PM: Started saving emacs cask dependencies
9:43:02 PM: Finished saving emacs cask dependencies
9:43:02 PM: Started saving maven dependencies
9:43:02 PM: Finished saving maven dependencies
9:43:02 PM: Started saving boot dependencies
9:43:02 PM: Finished saving boot dependencies
9:43:02 PM: Started saving go dependencies
9:43:04 PM: Finished saving go dependencies
9:43:07 PM: Error running command: Build script returned non-zero exit code: 2
9:43:07 PM: Failing build: Failed to build site
9:43:07 PM: failed during stage 'building site': Build script returned non-zero exit code: 2
9:43:07 PM: Finished processing build request in 34.639240641s

Also, our membership page is no longer building.

@valentine
Copy link
Member Author

Somehow works with Cloudflare Pages, so we've moved the site there for now.

@valentine
Copy link
Member Author

Cloudflare Pages Redirects do not support some of the features of Netlify Redirects that we've been using, most notably wildcards/splat and forced redirects.

@kaihendry
Copy link
Member

Perhaps consider the statically built hugo to escape the fragility of nodejs and npm churn?

@elfgoh
Copy link
Contributor

elfgoh commented Aug 31, 2021

I take it that migration to a new static site generator is still required? Is there a public call for volunteers in our comms channels?

@adithyaakrishna
Copy link

@valentine how about if we use docusaurus? 👀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants