GenderedIntelligence / the-trans-dimension

The Trans Dimension is an online community hub connecting trans communities in London.
http://transdimension.uk
Other
3 stars 1 forks source link

Migrate to cloudflare #320

Closed aaaaargZombies closed 1 year ago

aaaaargZombies commented 1 year ago

Fixes #301 Fixes #318

Description

netlify[bot] commented 1 year ago

Deploy Preview for transdimension ready!

Name Link
Latest commit 66dca954629c583119ceaf2dd570901704ae0da8
Latest deploy log https://app.netlify.com/sites/transdimension/deploys/6347dd8dcbd7b40008e7fd4c
Deploy Preview https://deploy-preview-320--transdimension.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

cloudflare-pages[bot] commented 1 year ago

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 959bdf2
Status: ✅  Deploy successful!
Preview URL: https://7669b0c3.transdimension.pages.dev
Branch Preview URL: https://301-migrate-to-cloudflare.transdimension.pages.dev

View logs

aaaaargZombies commented 1 year ago

strange failed once due to

2022-10-12T14:05:12.695654Z Executing user command: npm run build
2022-10-12T14:05:13.007411Z 
2022-10-12T14:05:13.007728Z > the-trans-dimension@ build /opt/buildhome/repo
2022-10-12T14:05:13.007926Z > elm-constants && elm-pages build
2022-10-12T14:05:13.008062Z 
2022-10-12T14:05:13.145908Z 3 constants written to src/Constants.elm
2022-10-12T14:05:24.501961Z Running terser
2022-10-12T14:05:32.220444Z Ran elm-review in 11204ms
2022-10-12T14:05:32.221105Z -- PROBLEM BUILDING DEPENDENCIES -----------------------------------------------
2022-10-12T14:05:32.22128Z  
2022-10-12T14:05:32.221414Z I ran into a compilation error when trying to build the following package:
2022-10-12T14:05:32.221544Z 
2022-10-12T14:05:32.221657Z     mgold/elm-nonempty-list 4.2.0
2022-10-12T14:05:32.221765Z 
2022-10-12T14:05:32.221915Z This probably means it has package constraints that are too wide. It may be
2022-10-12T14:05:32.222031Z possible to tweak your elm.json to avoid the root problem as a stopgap. Head
2022-10-12T14:05:32.222136Z over to https://elm-lang.org/community to get help figuring out how to take this
2022-10-12T14:05:32.222246Z path!
2022-10-12T14:05:32.222351Z 
2022-10-12T14:05:32.222456Z Note: To help with the root problem, please report this to the package author
2022-10-12T14:05:32.222577Z along with the following information:
2022-10-12T14:05:32.222693Z 
2022-10-12T14:05:32.222798Z     elm/core 1.0.5
2022-10-12T14:05:32.222945Z     elm/random 1.0.0
2022-10-12T14:05:32.223065Z 
2022-10-12T14:05:32.22317Z  If you want to help out even more, try building the package locally. That should
2022-10-12T14:05:32.223273Z give you much more specific information about why this package is failing to
2022-10-12T14:05:32.223628Z build, which will in turn make it easier for the package author to fix it!
2022-10-12T14:05:32.223956Z 
2022-10-12T14:05:32.224309Z Compilation failed.
2022-10-12T14:05:32.224596Z 
2022-10-12T14:05:32.241607Z npm ERR! code ELIFECYCLE
2022-10-12T14:05:32.242666Z npm ERR! errno 1
2022-10-12T14:05:32.245187Z npm ERR! the-trans-dimension@ build: `elm-constants && elm-pages build`
2022-10-12T14:05:32.245426Z npm ERR! Exit status 1
2022-10-12T14:05:32.245569Z npm ERR! 
2022-10-12T14:05:32.245706Z npm ERR! Failed at the the-trans-dimension@ build script.
2022-10-12T14:05:32.245868Z npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
2022-10-12T14:05:32.265982Z 
2022-10-12T14:05:32.266291Z npm ERR! A complete log of this run can be found in:
2022-10-12T14:05:32.266453Z npm ERR!     /opt/buildhome/.npm/_logs/2022-10-12T14_05_32_245Z-debug.log
2022-10-12T14:05:32.274938Z Failed: build command exited with code: 1
2022-10-12T14:05:33.146866Z Failed: an internal error occurred

Hit re-run out of curiosity and it made it allthe way through the site but failed at the function.

2022-10-12T14:25:19.876859Z 1 /events/289109: 419.282ms
2022-10-12T14:25:20.311335Z 1 /events/289107: 421.777ms
2022-10-12T14:25:20.762347Z 1 /events/289105: 437.921ms
2022-10-12T14:25:20.809209Z Finished
2022-10-12T14:25:21.379Z    🚧 'wrangler pages <command>' is a beta command. Please report any issues to https://github.com/cloudflare/wrangler2/issues/new/choose
2022-10-12T14:25:21.440421Z ✘ [ERROR] Could not resolve "fs"
2022-10-12T14:25:21.44077Z  
2022-10-12T14:25:21.441076Z     ../../../buildhome/repo/node_modules/dotenv/lib/main.js:24:19:
2022-10-12T14:25:21.441294Z       24 │ const fs = require('fs')
2022-10-12T14:25:21.443305Z          ╵                    ~~~~
2022-10-12T14:25:21.44349Z  
2022-10-12T14:25:21.443837Z   The package "fs" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.444064Z 
2022-10-12T14:25:21.44424Z  ✘ [ERROR] Could not resolve "path"
2022-10-12T14:25:21.44502Z  
2022-10-12T14:25:21.445216Z     ../../../buildhome/repo/node_modules/dotenv/lib/main.js:25:21:
2022-10-12T14:25:21.44536Z        25 │ const path = require('path')
2022-10-12T14:25:21.445502Z          ╵                      ~~~~~~
2022-10-12T14:25:21.445667Z 
2022-10-12T14:25:21.445799Z   The package "path" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.445928Z 
2022-10-12T14:25:21.44606Z  ✘ [ERROR] Could not resolve "os"
2022-10-12T14:25:21.446195Z 
2022-10-12T14:25:21.446322Z     ../../../buildhome/repo/node_modules/dotenv/lib/main.js:26:19:
2022-10-12T14:25:21.446467Z       26 │ const os = require('os')
2022-10-12T14:25:21.446634Z          ╵                    ~~~~
2022-10-12T14:25:21.44678Z  
2022-10-12T14:25:21.448049Z   The package "os" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.448737Z 
2022-10-12T14:25:21.448897Z ✘ [ERROR] Could not resolve "child_process"
2022-10-12T14:25:21.449275Z 
2022-10-12T14:25:21.451462Z     ../../../buildhome/repo/node_modules/nodemailer/lib/sendmail-transport/index.js:3:22:
2022-10-12T14:25:21.452103Z       3 │ const spawn = require('child_process').spawn;
2022-10-12T14:25:21.452335Z         ╵                       ~~~~~~~~~~~~~~~
2022-10-12T14:25:21.452589Z 
2022-10-12T14:25:21.452808Z   The package "child_process" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.45302Z  
2022-10-12T14:25:21.453168Z ✘ [ERROR] Could not resolve "events"
2022-10-12T14:25:21.453291Z 
2022-10-12T14:25:21.453402Z     ../../../buildhome/repo/node_modules/nodemailer/lib/mailer/index.js:3:29:
2022-10-12T14:25:21.454183Z       3 │ const EventEmitter = require('events');
2022-10-12T14:25:21.454578Z         ╵                              ~~~~~~~~
2022-10-12T14:25:21.45477Z  
2022-10-12T14:25:21.455027Z   The package "events" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.45545Z  
2022-10-12T14:25:21.455659Z ✘ [ERROR] Could not resolve "util"
2022-10-12T14:25:21.455829Z 
2022-10-12T14:25:21.455948Z     ../../../buildhome/repo/node_modules/nodemailer/lib/mailer/index.js:9:21:
2022-10-12T14:25:21.456101Z       9 │ const util = require('util');
2022-10-12T14:25:21.456235Z         ╵                      ~~~~~~
2022-10-12T14:25:21.456376Z 
2022-10-12T14:25:21.456521Z   The package "util" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.456652Z 
2022-10-12T14:25:21.456761Z ✘ [ERROR] Could not resolve "url"
2022-10-12T14:25:21.45688Z  
2022-10-12T14:25:21.457014Z     ../../../buildhome/repo/node_modules/nodemailer/lib/mailer/index.js:10:23:
2022-10-12T14:25:21.457124Z       10 │ const urllib = require('url');
2022-10-12T14:25:21.457233Z          ╵                        ~~~~~
2022-10-12T14:25:21.457337Z 
2022-10-12T14:25:21.45744Z    The package "url" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.457573Z 
2022-10-12T14:25:21.45773Z  ✘ [ERROR] Could not resolve "http"
2022-10-12T14:25:21.457857Z 
2022-10-12T14:25:21.458015Z     ../../../buildhome/repo/node_modules/nodemailer/lib/fetch/index.js:3:21:
2022-10-12T14:25:21.458145Z       3 │ const http = require('http');
2022-10-12T14:25:21.458283Z         ╵                      ~~~~~~
2022-10-12T14:25:21.458409Z 
2022-10-12T14:25:21.458595Z   The package "http" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.45885Z  
2022-10-12T14:25:21.458972Z ✘ [ERROR] Could not resolve "https"
2022-10-12T14:25:21.459084Z 
2022-10-12T14:25:21.459207Z     ../../../buildhome/repo/node_modules/nodemailer/lib/fetch/index.js:4:22:
2022-10-12T14:25:21.459379Z       4 │ const https = require('https');
2022-10-12T14:25:21.459545Z         ╵                       ~~~~~~~
2022-10-12T14:25:21.459685Z 
2022-10-12T14:25:21.459813Z   The package "https" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.459965Z 
2022-10-12T14:25:21.460102Z ✘ [ERROR] Could not resolve "url"
2022-10-12T14:25:21.460211Z 
2022-10-12T14:25:21.460315Z     ../../../buildhome/repo/node_modules/nodemailer/lib/fetch/index.js:5:23:
2022-10-12T14:25:21.460436Z       5 │ const urllib = require('url');
2022-10-12T14:25:21.460554Z         ╵                        ~~~~~
2022-10-12T14:25:21.460676Z 
2022-10-12T14:25:21.460783Z   The package "url" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.460891Z 
2022-10-12T14:25:21.460996Z ✘ [ERROR] Could not resolve "zlib"
2022-10-12T14:25:21.461103Z 
2022-10-12T14:25:21.461255Z     ../../../buildhome/repo/node_modules/nodemailer/lib/fetch/index.js:6:21:
2022-10-12T14:25:21.461389Z       6 │ const zlib = require('zlib');
2022-10-12T14:25:21.461528Z         ╵                      ~~~~~~
2022-10-12T14:25:21.461673Z 
2022-10-12T14:25:21.461789Z   The package "zlib" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.461931Z 
2022-10-12T14:25:21.46205Z  ✘ [ERROR] Could not resolve "events"
2022-10-12T14:25:21.46219Z  
2022-10-12T14:25:21.462313Z     ../../../buildhome/repo/node_modules/nodemailer/lib/ses-transport/index.js:3:29:
2022-10-12T14:25:21.462434Z       3 │ const EventEmitter = require('events');
2022-10-12T14:25:21.462581Z         ╵                              ~~~~~~~~
2022-10-12T14:25:21.462722Z 
2022-10-12T14:25:21.46284Z    The package "events" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.46296Z  
2022-10-12T14:25:21.46308Z  ✘ [ERROR] Could not resolve "events"
2022-10-12T14:25:21.463196Z 
2022-10-12T14:25:21.463304Z     ../../../buildhome/repo/node_modules/nodemailer/lib/smtp-transport/index.js:3:29:
2022-10-12T14:25:21.463419Z       3 │ const EventEmitter = require('events');
2022-10-12T14:25:21.465977Z         ╵                              ~~~~~~~~
2022-10-12T14:25:21.466147Z 
2022-10-12T14:25:21.466288Z   The package "events" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.466402Z 
2022-10-12T14:25:21.466653Z ✘ [ERROR] Could not resolve "stream"
2022-10-12T14:25:21.466841Z 
2022-10-12T14:25:21.466983Z     ../../../buildhome/repo/node_modules/nodemailer/lib/fetch/index.js:7:28:
2022-10-12T14:25:21.467116Z       7 │ const PassThrough = require('stream').PassThrough;
2022-10-12T14:25:21.467252Z         ╵                             ~~~~~~~~
2022-10-12T14:25:21.4674Z   
2022-10-12T14:25:21.467537Z   The package "stream" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.467688Z 
2022-10-12T14:25:21.467816Z ✘ [ERROR] Could not resolve "net"
2022-10-12T14:25:21.46795Z  
2022-10-12T14:25:21.46807Z      ../../../buildhome/repo/node_modules/nodemailer/lib/mailer/index.js:13:20:
2022-10-12T14:25:21.468198Z       13 │ const net = require('net');
2022-10-12T14:25:21.46832Z           ╵                     ~~~~~
2022-10-12T14:25:21.468553Z 
2022-10-12T14:25:21.468718Z   The package "net" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.46884Z  
2022-10-12T14:25:21.470695Z ✘ [ERROR] Could not resolve "events"
2022-10-12T14:25:21.47085Z  
2022-10-12T14:25:21.476419Z     ../../../buildhome/repo/node_modules/nodemailer/lib/smtp-pool/index.js:3:29:
2022-10-12T14:25:21.476655Z       3 │ const EventEmitter = require('events');
2022-10-12T14:25:21.476796Z         ╵                              ~~~~~~~~
2022-10-12T14:25:21.479159Z 
2022-10-12T14:25:21.479512Z   The package "events" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.479684Z 
2022-10-12T14:25:21.479804Z ✘ [ERROR] Could not resolve "url"
2022-10-12T14:25:21.480076Z 
2022-10-12T14:25:21.480531Z     ../../../buildhome/repo/node_modules/nodemailer/lib/shared/index.js:5:23:
2022-10-12T14:25:21.480767Z       5 │ const urllib = require('url');
2022-10-12T14:25:21.480995Z         ╵                        ~~~~~
2022-10-12T14:25:21.48136Z  
2022-10-12T14:25:21.481569Z   The package "url" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.481783Z 
2022-10-12T14:25:21.481973Z ✘ [ERROR] Could not resolve "util"
2022-10-12T14:25:21.482193Z 
2022-10-12T14:25:21.482371Z     ../../../buildhome/repo/node_modules/nodemailer/lib/shared/index.js:6:21:
2022-10-12T14:25:21.482499Z       6 │ const util = require('util');
2022-10-12T14:25:21.482622Z         ╵                      ~~~~~~
2022-10-12T14:25:21.482782Z 
2022-10-12T14:25:21.482913Z   The package "util" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.483023Z 
2022-10-12T14:25:21.483225Z ✘ [ERROR] Could not resolve "fs"
2022-10-12T14:25:21.483451Z 
2022-10-12T14:25:21.483645Z     ../../../buildhome/repo/node_modules/nodemailer/lib/shared/index.js:7:19:
2022-10-12T14:25:21.48384Z        7 │ const fs = require('fs');
2022-10-12T14:25:21.483955Z         ╵                    ~~~~
2022-10-12T14:25:21.484061Z 
2022-10-12T14:25:21.484238Z   The package "fs" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.484433Z 
2022-10-12T14:25:21.484598Z ✘ [ERROR] Could not resolve "dns"
2022-10-12T14:25:21.484767Z 
2022-10-12T14:25:21.484896Z     ../../../buildhome/repo/node_modules/nodemailer/lib/shared/index.js:9:20:
2022-10-12T14:25:21.485018Z       9 │ const dns = require('dns');
2022-10-12T14:25:21.485149Z         ╵                     ~~~~~
2022-10-12T14:25:21.485271Z 
2022-10-12T14:25:21.485391Z   The package "dns" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.485523Z 
2022-10-12T14:25:21.485657Z ✘ [ERROR] Could not resolve "net"
2022-10-12T14:25:21.485802Z 
2022-10-12T14:25:21.48593Z      ../../../buildhome/repo/node_modules/nodemailer/lib/shared/index.js:10:20:
2022-10-12T14:25:21.486063Z       10 │ const net = require('net');
2022-10-12T14:25:21.486186Z          ╵                     ~~~~~
2022-10-12T14:25:21.486305Z 
2022-10-12T14:25:21.486444Z   The package "net" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.486575Z 
2022-10-12T14:25:21.486725Z ✘ [ERROR] Could not resolve "os"
2022-10-12T14:25:21.486855Z 
2022-10-12T14:25:21.487018Z     ../../../buildhome/repo/node_modules/nodemailer/lib/shared/index.js:11:19:
2022-10-12T14:25:21.487151Z       11 │ const os = require('os');
2022-10-12T14:25:21.487268Z          ╵                    ~~~~
2022-10-12T14:25:21.487374Z 
2022-10-12T14:25:21.487509Z   The package "os" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.487646Z 
2022-10-12T14:25:21.487768Z ✘ [ERROR] Could not resolve "stream"
2022-10-12T14:25:21.487876Z 
2022-10-12T14:25:21.487981Z     ../../../buildhome/repo/node_modules/nodemailer/lib/mime-node/le-windows.js:3:23:
2022-10-12T14:25:21.488098Z       3 │ const stream = require('stream');
2022-10-12T14:25:21.488204Z         ╵                        ~~~~~~~~
2022-10-12T14:25:21.488311Z 
2022-10-12T14:25:21.488425Z   The package "stream" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.488533Z 
2022-10-12T14:25:21.488652Z ✘ [ERROR] Could not resolve "dns"
2022-10-12T14:25:21.488758Z 
2022-10-12T14:25:21.488864Z     ../../../buildhome/repo/node_modules/nodemailer/lib/mailer/index.js:14:20:
2022-10-12T14:25:21.488969Z       14 │ const dns = require('dns');
2022-10-12T14:25:21.489083Z          ╵                     ~~~~~
2022-10-12T14:25:21.489277Z 
2022-10-12T14:25:21.489432Z   The package "dns" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.48957Z  
2022-10-12T14:25:21.489701Z ✘ [ERROR] Could not resolve "crypto"
2022-10-12T14:25:21.489823Z 
2022-10-12T14:25:21.489934Z     ../../../buildhome/repo/node_modules/nodemailer/lib/mailer/index.js:15:23:
2022-10-12T14:25:21.490044Z       15 │ const crypto = require('crypto');
2022-10-12T14:25:21.49017Z           ╵                        ~~~~~~~~
2022-10-12T14:25:21.490287Z 
2022-10-12T14:25:21.490394Z   The package "crypto" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.490506Z 
2022-10-12T14:25:21.490628Z ✘ [ERROR] Could not resolve "stream"
2022-10-12T14:25:21.490738Z 
2022-10-12T14:25:21.490857Z     ../../../buildhome/repo/node_modules/nodemailer/lib/xoauth2/index.js:3:23:
2022-10-12T14:25:21.490999Z       3 │ const Stream = require('stream').Stream;
2022-10-12T14:25:21.491118Z         ╵                        ~~~~~~~~
2022-10-12T14:25:21.491224Z 
2022-10-12T14:25:21.491328Z   The package "stream" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.491432Z 
2022-10-12T14:25:21.491548Z ✘ [ERROR] Could not resolve "stream"
2022-10-12T14:25:21.491668Z 
2022-10-12T14:25:21.491774Z     ../../../buildhome/repo/node_modules/nodemailer/lib/dkim/index.js:9:28:
2022-10-12T14:25:21.491889Z       9 │ const PassThrough = require('stream').PassThrough;
2022-10-12T14:25:21.491996Z         ╵                             ~~~~~~~~
2022-10-12T14:25:21.492106Z 
2022-10-12T14:25:21.492219Z   The package "stream" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.492327Z 
2022-10-12T14:25:21.492432Z ✘ [ERROR] Could not resolve "fs"
2022-10-12T14:25:21.492545Z 
2022-10-12T14:25:21.492662Z     ../../../buildhome/repo/node_modules/nodemailer/lib/dkim/index.js:10:19:
2022-10-12T14:25:21.492767Z       10 │ const fs = require('fs');
2022-10-12T14:25:21.492871Z          ╵                    ~~~~
2022-10-12T14:25:21.492974Z 
2022-10-12T14:25:21.493106Z   The package "fs" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.493221Z 
2022-10-12T14:25:21.493325Z ✘ [ERROR] Could not resolve "path"
2022-10-12T14:25:21.493428Z 
2022-10-12T14:25:21.493539Z     ../../../buildhome/repo/node_modules/nodemailer/lib/dkim/index.js:11:21:
2022-10-12T14:25:21.493667Z       11 │ const path = require('path');
2022-10-12T14:25:21.493775Z          ╵                      ~~~~~~
2022-10-12T14:25:21.493878Z 
2022-10-12T14:25:21.493986Z   The package "path" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.49409Z  
2022-10-12T14:25:21.494193Z ✘ [ERROR] Could not resolve "crypto"
2022-10-12T14:25:21.494309Z 
2022-10-12T14:25:21.494413Z     ../../../buildhome/repo/node_modules/nodemailer/lib/dkim/index.js:12:23:
2022-10-12T14:25:21.494525Z       12 │ const crypto = require('crypto');
2022-10-12T14:25:21.494644Z          ╵                        ~~~~~~~~
2022-10-12T14:25:21.494767Z 
2022-10-12T14:25:21.494881Z   The package "crypto" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.494994Z 
2022-10-12T14:25:21.495113Z ✘ [ERROR] Could not resolve "url"
2022-10-12T14:25:21.495219Z 
2022-10-12T14:25:21.495323Z     ../../../buildhome/repo/node_modules/nodemailer/lib/fetch/cookies.js:5:23:
2022-10-12T14:25:21.495701Z       5 │ const urllib = require('url');
2022-10-12T14:25:21.495862Z         ╵                        ~~~~~
2022-10-12T14:25:21.495982Z 
2022-10-12T14:25:21.496092Z   The package "url" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.496198Z 
2022-10-12T14:25:21.496303Z ✘ [ERROR] Could not resolve "punycode"
2022-10-12T14:25:21.496408Z 
2022-10-12T14:25:21.496521Z     ../../../buildhome/repo/node_modules/nodemailer/lib/dkim/sign.js:3:25:
2022-10-12T14:25:21.49665Z        3 │ const punycode = require('punycode');
2022-10-12T14:25:21.496763Z         ╵                          ~~~~~~~~~~
2022-10-12T14:25:21.496877Z 
2022-10-12T14:25:21.496983Z   The package "punycode" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.497088Z 
2022-10-12T14:25:21.497193Z ✘ [ERROR] Could not resolve "crypto"
2022-10-12T14:25:21.4973Z   
2022-10-12T14:25:21.497406Z     ../../../buildhome/repo/node_modules/nodemailer/lib/dkim/sign.js:5:23:
2022-10-12T14:25:21.49753Z        5 │ const crypto = require('crypto');
2022-10-12T14:25:21.497663Z         ╵                        ~~~~~~~~
2022-10-12T14:25:21.497772Z 
2022-10-12T14:25:21.497877Z   The package "crypto" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.49799Z  
2022-10-12T14:25:21.498096Z ✘ [ERROR] Could not resolve "path"
2022-10-12T14:25:21.498201Z 
2022-10-12T14:25:21.498305Z     ../../../buildhome/repo/node_modules/nodemailer/lib/mime-funcs/mime-types.js:5:21:
2022-10-12T14:25:21.498411Z       5 │ const path = require('path');
2022-10-12T14:25:21.498524Z         ╵                      ~~~~~~
2022-10-12T14:25:21.498644Z 
2022-10-12T14:25:21.49875Z    The package "path" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.498862Z 
2022-10-12T14:25:21.498966Z ✘ [ERROR] Could not resolve "crypto"
2022-10-12T14:25:21.499069Z 
2022-10-12T14:25:21.499172Z     ../../../buildhome/repo/node_modules/nodemailer/lib/xoauth2/index.js:5:23:
2022-10-12T14:25:21.499276Z       5 │ const crypto = require('crypto');
2022-10-12T14:25:21.499387Z         ╵                        ~~~~~~~~
2022-10-12T14:25:21.499505Z 
2022-10-12T14:25:21.499632Z   The package "crypto" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.499749Z 
2022-10-12T14:25:21.499856Z ✘ [ERROR] Could not resolve "events"
2022-10-12T14:25:21.499962Z 
2022-10-12T14:25:21.500065Z     ../../../buildhome/repo/node_modules/nodemailer/lib/smtp-pool/pool-resource.js:6:29:
2022-10-12T14:25:21.500169Z       6 │ const EventEmitter = require('events');
2022-10-12T14:25:21.500276Z         ╵                              ~~~~~~~~
2022-10-12T14:25:21.50038Z  
2022-10-12T14:25:21.500483Z   The package "events" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.500604Z 
2022-10-12T14:25:21.500721Z ✘ [ERROR] Could not resolve "stream"
2022-10-12T14:25:21.501345Z 
2022-10-12T14:25:21.501473Z     ../../../buildhome/repo/node_modules/nodemailer/lib/dkim/relaxed-body.js:5:26:
2022-10-12T14:25:21.501606Z       5 │ const Transform = require('stream').Transform;
2022-10-12T14:25:21.501722Z         ╵                           ~~~~~~~~
2022-10-12T14:25:21.501828Z 
2022-10-12T14:25:21.501932Z   The package "stream" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.502036Z 
2022-10-12T14:25:21.502145Z ✘ [ERROR] Could not resolve "net"
2022-10-12T14:25:21.502258Z 
2022-10-12T14:25:21.502392Z     ../../../buildhome/repo/node_modules/nodemailer/lib/smtp-connection/http-proxy-client.js:7:20:
2022-10-12T14:25:21.502532Z       7 │ const net = require('net');
2022-10-12T14:25:21.502666Z         ╵                     ~~~~~
2022-10-12T14:25:21.502774Z 
2022-10-12T14:25:21.502879Z   The package "net" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.502983Z 
2022-10-12T14:25:21.503111Z ✘ [ERROR] Could not resolve "tls"
2022-10-12T14:25:21.50322Z  
2022-10-12T14:25:21.503325Z     ../../../buildhome/repo/node_modules/nodemailer/lib/smtp-connection/http-proxy-client.js:8:20:
2022-10-12T14:25:21.50343Z        8 │ const tls = require('tls');
2022-10-12T14:25:21.503545Z         ╵                     ~~~~~
2022-10-12T14:25:21.503666Z 
2022-10-12T14:25:21.503778Z   The package "tls" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.503884Z 
2022-10-12T14:25:21.503988Z ✘ [ERROR] Could not resolve "url"
2022-10-12T14:25:21.504105Z 
2022-10-12T14:25:21.504211Z     ../../../buildhome/repo/node_modules/nodemailer/lib/smtp-connection/http-proxy-client.js:9:23:
2022-10-12T14:25:21.504316Z       9 │ const urllib = require('url');
2022-10-12T14:25:21.504419Z         ╵                        ~~~~~
2022-10-12T14:25:21.504531Z 
2022-10-12T14:25:21.504662Z   The package "url" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.504778Z 
2022-10-12T14:25:21.504975Z ✘ [ERROR] Could not resolve "stream"
2022-10-12T14:25:21.505134Z 
2022-10-12T14:25:21.505258Z     ../../../buildhome/repo/node_modules/nodemailer/lib/dkim/message-parser.js:3:26:
2022-10-12T14:25:21.50537Z        3 │ const Transform = require('stream').Transform;
2022-10-12T14:25:21.505483Z         ╵                           ~~~~~~~~
2022-10-12T14:25:21.505618Z 
2022-10-12T14:25:21.505734Z   The package "stream" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.505844Z 
2022-10-12T14:25:21.506013Z ✘ [ERROR] Could not resolve "crypto"
2022-10-12T14:25:21.506126Z 
2022-10-12T14:25:21.506231Z     ../../../buildhome/repo/node_modules/nodemailer/lib/dkim/relaxed-body.js:6:23:
2022-10-12T14:25:21.506343Z       6 │ const crypto = require('crypto');
2022-10-12T14:25:21.50645Z          ╵                        ~~~~~~~~
2022-10-12T14:25:21.506554Z 
2022-10-12T14:25:21.506683Z   The package "crypto" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.506795Z 
2022-10-12T14:25:21.506901Z ✘ [ERROR] Could not resolve "events"
2022-10-12T14:25:21.507005Z 
2022-10-12T14:25:21.50712Z      ../../../buildhome/repo/node_modules/nodemailer/lib/smtp-connection/index.js:4:29:
2022-10-12T14:25:21.507237Z       4 │ const EventEmitter = require('events').EventEmitter;
2022-10-12T14:25:21.507349Z         ╵                              ~~~~~~~~
2022-10-12T14:25:21.507456Z 
2022-10-12T14:25:21.507566Z   The package "events" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.5077Z   
2022-10-12T14:25:21.507808Z ✘ [ERROR] Could not resolve "net"
2022-10-12T14:25:21.507922Z 
2022-10-12T14:25:21.508027Z     ../../../buildhome/repo/node_modules/nodemailer/lib/smtp-connection/index.js:5:20:
2022-10-12T14:25:21.508136Z       5 │ const net = require('net');
2022-10-12T14:25:21.508242Z         ╵                     ~~~~~
2022-10-12T14:25:21.508347Z 
2022-10-12T14:25:21.508454Z   The package "net" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.508559Z 
2022-10-12T14:25:21.508683Z ✘ [ERROR] Could not resolve "tls"
2022-10-12T14:25:21.508794Z 
2022-10-12T14:25:21.5089Z       ../../../buildhome/repo/node_modules/nodemailer/lib/smtp-connection/index.js:6:20:
2022-10-12T14:25:21.509015Z       6 │ const tls = require('tls');
2022-10-12T14:25:21.509124Z         ╵                     ~~~~~
2022-10-12T14:25:21.509229Z 
2022-10-12T14:25:21.509332Z   The package "tls" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.509444Z 
2022-10-12T14:25:21.509555Z ✘ [ERROR] Could not resolve "os"
2022-10-12T14:25:21.509684Z 
2022-10-12T14:25:21.509791Z     ../../../buildhome/repo/node_modules/nodemailer/lib/smtp-connection/index.js:7:19:
2022-10-12T14:25:21.509912Z       7 │ const os = require('os');
2022-10-12T14:25:21.510031Z         ╵                    ~~~~
2022-10-12T14:25:21.510154Z 
2022-10-12T14:25:21.51026Z    The package "os" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.510368Z 
2022-10-12T14:25:21.510471Z ✘ [ERROR] Could not resolve "crypto"
2022-10-12T14:25:21.510576Z 
2022-10-12T14:25:21.510702Z     ../../../buildhome/repo/node_modules/nodemailer/lib/smtp-connection/index.js:8:23:
2022-10-12T14:25:21.510808Z       8 │ const crypto = require('crypto');
2022-10-12T14:25:21.510913Z         ╵                        ~~~~~~~~
2022-10-12T14:25:21.511016Z 
2022-10-12T14:25:21.511139Z   The package "crypto" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.511245Z 
2022-10-12T14:25:21.511356Z ✘ [ERROR] Could not resolve "stream"
2022-10-12T14:25:21.511462Z 
2022-10-12T14:25:21.511567Z     ../../../buildhome/repo/node_modules/nodemailer/lib/smtp-connection/index.js:10:28:
2022-10-12T14:25:21.511692Z       10 │ const PassThrough = require('stream').PassThrough;
2022-10-12T14:25:21.511799Z          ╵                             ~~~~~~~~
2022-10-12T14:25:21.511906Z 
2022-10-12T14:25:21.512009Z   The package "stream" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.512113Z 
2022-10-12T14:25:21.512217Z ✘ [ERROR] Could not resolve "stream"
2022-10-12T14:25:21.512342Z 
2022-10-12T14:25:21.512447Z     ../../../buildhome/repo/node_modules/nodemailer/lib/base64/index.js:3:26:
2022-10-12T14:25:21.51255Z        3 │ const Transform = require('stream').Transform;
2022-10-12T14:25:21.512683Z         ╵                           ~~~~~~~~
2022-10-12T14:25:21.51279Z  
2022-10-12T14:25:21.512895Z   The package "stream" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.512998Z 
2022-10-12T14:25:21.5131Z   ✘ [ERROR] Could not resolve "crypto"
2022-10-12T14:25:21.513206Z 
2022-10-12T14:25:21.513309Z     ../../../buildhome/repo/node_modules/nodemailer/lib/mime-node/index.js:5:23:
2022-10-12T14:25:21.513422Z       5 │ const crypto = require('crypto');
2022-10-12T14:25:21.513525Z         ╵                        ~~~~~~~~
2022-10-12T14:25:21.513663Z 
2022-10-12T14:25:21.513772Z   The package "crypto" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.513886Z 
2022-10-12T14:25:21.513993Z ✘ [ERROR] Could not resolve "fs"
2022-10-12T14:25:21.514096Z 
2022-10-12T14:25:21.514204Z     ../../../buildhome/repo/node_modules/nodemailer/lib/mime-node/index.js:6:19:
2022-10-12T14:25:21.514307Z       6 │ const fs = require('fs');
2022-10-12T14:25:21.514415Z         ╵                    ~~~~
2022-10-12T14:25:21.514517Z 
2022-10-12T14:25:21.51464Z    The package "fs" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.514746Z 
2022-10-12T14:25:21.51486Z  ✘ [ERROR] Could not resolve "punycode"
2022-10-12T14:25:21.514964Z 
2022-10-12T14:25:21.515069Z     ../../../buildhome/repo/node_modules/nodemailer/lib/mime-node/index.js:7:25:
2022-10-12T14:25:21.515172Z       7 │ const punycode = require('punycode');
2022-10-12T14:25:21.515274Z         ╵                          ~~~~~~~~~~
2022-10-12T14:25:21.515381Z 
2022-10-12T14:25:21.515484Z   The package "punycode" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.515606Z 
2022-10-12T14:25:21.515715Z ✘ [ERROR] Could not resolve "stream"
2022-10-12T14:25:21.515819Z 
2022-10-12T14:25:21.51592Z      ../../../buildhome/repo/node_modules/nodemailer/lib/mime-node/index.js:8:28:
2022-10-12T14:25:21.516024Z       8 │ const PassThrough = require('stream').PassThrough;
2022-10-12T14:25:21.516127Z         ╵                             ~~~~~~~~
2022-10-12T14:25:21.516229Z 
2022-10-12T14:25:21.516502Z   The package "stream" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.516737Z 
2022-10-12T14:25:21.516901Z ✘ [ERROR] Could not resolve "stream"
2022-10-12T14:25:21.517052Z 
2022-10-12T14:25:21.517202Z     ../../../buildhome/repo/node_modules/nodemailer/lib/mime-node/le-unix.js:3:23:
2022-10-12T14:25:21.517363Z       3 │ const stream = require('stream');
2022-10-12T14:25:21.517516Z         ╵                        ~~~~~~~~
2022-10-12T14:25:21.517652Z 
2022-10-12T14:25:21.517796Z   The package "stream" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.517939Z 
2022-10-12T14:25:21.51808Z  ✘ [ERROR] Could not resolve "stream"
2022-10-12T14:25:21.518213Z 
2022-10-12T14:25:21.51835Z      ../../../buildhome/repo/node_modules/nodemailer/lib/smtp-connection/data-stream.js:3:23:
2022-10-12T14:25:21.518495Z       3 │ const stream = require('stream');
2022-10-12T14:25:21.518641Z         ╵                        ~~~~~~~~
2022-10-12T14:25:21.518779Z 
2022-10-12T14:25:21.518939Z   The package "stream" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.519093Z 
2022-10-12T14:25:21.519231Z ✘ [ERROR] Could not resolve "stream"
2022-10-12T14:25:21.519367Z 
2022-10-12T14:25:21.519521Z     ../../../buildhome/repo/node_modules/nodemailer/lib/qp/index.js:3:26:
2022-10-12T14:25:21.519676Z       3 │ const Transform = require('stream').Transform;
2022-10-12T14:25:21.51979Z          ╵                           ~~~~~~~~
2022-10-12T14:25:21.519896Z 
2022-10-12T14:25:21.520033Z   The package "stream" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.520146Z 
2022-10-12T14:25:21.520251Z ✘ [ERROR] Could not resolve "stream"
2022-10-12T14:25:21.520359Z 
2022-10-12T14:25:21.520464Z     ../../../buildhome/repo/node_modules/nodemailer/lib/mime-node/last-newline.js:3:26:
2022-10-12T14:25:21.52059Z        3 │ const Transform = require('stream').Transform;
2022-10-12T14:25:21.520702Z         ╵                           ~~~~~~~~
2022-10-12T14:25:21.520868Z 
2022-10-12T14:25:21.521Z      The package "stream" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
2022-10-12T14:25:21.521111Z 
2022-10-12T14:25:21.521216Z 57 error(s) and 0 warning(s) when compiling Worker.
2022-10-12T14:25:21.521324Z 
2022-10-12T14:25:21.596766Z ✘ [ERROR] Build failed with 57 errors:
2022-10-12T14:25:21.597101Z 
2022-10-12T14:25:21.597251Z   ../../../buildhome/repo/node_modules/dotenv/lib/main.js:24:19: ERROR: Could not resolve "fs"
2022-10-12T14:25:21.59737Z    ../../../buildhome/repo/node_modules/dotenv/lib/main.js:25:21: ERROR: Could not resolve "path"
2022-10-12T14:25:21.59748Z    ../../../buildhome/repo/node_modules/dotenv/lib/main.js:26:19: ERROR: Could not resolve "os"
2022-10-12T14:25:21.597637Z   ../../../buildhome/repo/node_modules/nodemailer/lib/base64/index.js:3:26: ERROR: Could not resolve "stream"
2022-10-12T14:25:21.59776Z    ../../../buildhome/repo/node_modules/nodemailer/lib/dkim/index.js:9:28: ERROR: Could not resolve "stream"
2022-10-12T14:25:21.597868Z   ...
2022-10-12T14:25:21.597972Z 
2022-10-12T14:25:21.598076Z 
2022-10-12T14:25:21.59819Z  If you think this is a bug then please create an issue at https://github.com/cloudflare/wrangler2/issues/new/choose
2022-10-12T14:25:21.608638Z Failed building Pages Functions from /functions.
2022-10-12T14:25:24.394467Z Failed: an internal error occurred

Which doesn't suprise me because it was basically a copy and paste job to a new enviroment, but why the inconsistency in the first build? Was there some clash with netlify?

aaaaargZombies commented 1 year ago

OK I think everything is working, waiting to switch to official URL and I've left timed builds commented out and created this #325 as a reminder before we go live.