Normal-OJ / new-front-end

v2 client for Normal Online Judge
https://noj.tw
Mozilla Public License 2.0
0 stars 7 forks source link

docs(CONTRIBUTING.md): now we using node v16.14.0 #101

Closed uier closed 1 year ago

uier commented 1 year ago

The change aims to resolve the failed deployment

2023-04-06T22:55:25.881493Z Cloning repository...
2023-04-06T22:55:26.844234Z From https://github.com/Normal-OJ/new-front-end
2023-04-06T22:55:26.844823Z  * branch            f03d063bcf73b8d4914369d136c4f2a2c62f6de9 -> FETCH_HEAD
2023-04-06T22:55:26.845023Z 
2023-04-06T22:55:26.910586Z HEAD is now at f03d063 fix: set code preview tab size to 4 (#98) (#99)
2023-04-06T22:55:26.911177Z 
2023-04-06T22:55:27.065927Z 
2023-04-06T22:55:27.093834Z Success: Finished cloning repository files
2023-04-06T22:55:27.743716Z Installing dependencies
2023-04-06T22:55:27.755179Z Python version set to 2.7
2023-04-06T22:55:31.324524Z Downloading and installing node v16.13.1...
2023-04-06T22:55:31.755626Z Downloading https://nodejs.org/dist/v16.13.1/node-v16.13.1-linux-x64.tar.xz...
2023-04-06T22:55:32.186121Z Computing checksum with sha256sum
2023-04-06T22:55:32.314658Z Checksums matched!
2023-04-06T22:55:36.631673Z Now using node v16.13.1 (npm v8.1.2)
2023-04-06T22:55:37.025388Z Started restoring cached build plugins
2023-04-06T22:55:37.039507Z Finished restoring cached build plugins
2023-04-06T22:55:37.561351Z Attempting ruby version 2.7.1, read from environment
2023-04-06T22:55:41.333316Z Using ruby version 2.7.1
2023-04-06T22:55:41.702986Z Using PHP version 5.6
2023-04-06T22:55:41.863634Z 5.2 is already installed.
2023-04-06T22:55:41.894407Z Using Swift version 5.2
2023-04-06T22:55:41.894928Z Started restoring cached node modules
2023-04-06T22:55:41.91233Z  Finished restoring cached node modules
2023-04-06T22:55:42.380583Z Installing NPM modules using NPM version 8.1.2
2023-04-06T22:55:57.298074Z npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
2023-04-06T22:56:04.711085Z 
2023-04-06T22:56:04.711687Z added 384 packages, and audited 385 packages in 22s
2023-04-06T22:56:04.71188Z  
2023-04-06T22:56:04.712014Z 110 packages are looking for funding
2023-04-06T22:56:04.712132Z   run `npm fund` for details
2023-04-06T22:56:04.713751Z 
2023-04-06T22:56:04.713993Z found 0 vulnerabilities
2023-04-06T22:56:04.736057Z NPM modules installed
2023-04-06T22:56:05.295283Z Installing Hugo 0.54.0
2023-04-06T22:56:05.992106Z Hugo Static Site Generator v0.54.0-B1A82C61A/extended linux/amd64 BuildDate: 2019-02-01T10:04:38Z
2023-04-06T22:56:05.996925Z Started restoring cached go cache
2023-04-06T22:56:06.018798Z Finished restoring cached go cache
2023-04-06T22:56:06.171552Z go version go1.14.4 linux/amd64
2023-04-06T22:56:06.188162Z go version go1.14.4 linux/amd64
2023-04-06T22:56:06.191412Z Installing missing commands
2023-04-06T22:56:06.191709Z Verify run directory
2023-04-06T22:56:06.191882Z Executing user command: npm run cf-build
2023-04-06T22:56:06.652958Z 
2023-04-06T22:56:06.653322Z > front-end@0.0.0 cf-build
2023-04-06T22:56:06.653484Z > npm install -g pnpm && pnpm run build
2023-04-06T22:56:06.653602Z 
2023-04-06T22:56:07.411417Z npm WARN EBADENGINE Unsupported engine {
2023-04-06T22:56:07.411775Z npm WARN EBADENGINE   package: 'pnpm@8.1.1',
2023-04-06T22:56:07.411992Z npm WARN EBADENGINE   required: { node: '>=16.14' },
2023-04-06T22:56:07.412182Z npm WARN EBADENGINE   current: { node: 'v16.13.1', npm: '8.1.2' }
2023-04-06T22:56:07.412342Z npm WARN EBADENGINE }
2023-04-06T22:56:08.1202Z   
2023-04-06T22:56:08.120534Z added 1 package, and audited 2 packages in 1s
2023-04-06T22:56:08.120707Z 
2023-04-06T22:56:08.120832Z 1 package is looking for funding
2023-04-06T22:56:08.120972Z   run `npm fund` for details
2023-04-06T22:56:08.121401Z 
2023-04-06T22:56:08.121617Z found 0 vulnerabilities
2023-04-06T22:56:08.188034Z ERROR: This version of pnpm requires at least Node.js v16.14
2023-04-06T22:56:08.188421Z The current version of Node.js is v16.13.1
2023-04-06T22:56:08.189184Z Visit https://r.pnpm.io/comp to see the list of past pnpm versions with respective Node.js version support.
2023-04-06T22:56:08.206727Z Failed: build command exited with code: 1
2023-04-06T22:56:08.994869Z Failed: error occurred while running build command