mixmoe / HikariSearch

一款动漫图片搜索引擎聚合网站, 基于 Cloudflare 提供的 Pages Function. / A collection of anime image search engines, based on Cloudflare Pages Function.
https://hikari.obfs.dev
GNU Lesser General Public License v3.0
146 stars 31 forks source link

作者你好 这个项目我在cloudflare部署有问题 #22

Open maotuworkroom opened 6 months ago

maotuworkroom commented 6 months ago

按照安装步骤一步一步完成,但是不论如何都会出现报错,我也调节了nodejs版本想请教一下大佬如何解决?😊

mnixry commented 6 months ago

看看报错,这个项目很久没有维护了没法正常部署很正常

maotuworkroom commented 6 months ago

看看报错,这个项目很久没有维护了没法正常部署很正常

image image 大佬你好🥹🥹🥹

maotuworkroom commented 6 months ago

看看报错,这个项目很久没有维护了没法正常部署很正常

2024-05-02T21:34:47.495584643Z Cloning repository... 2024-05-02T21:34:48.430093231Z From https://github.com/maotuworkroom/sotu 2024-05-02T21:34:48.43039254Z * branch 38e63c459762a6b03681e2a172ccea0d5ab4e971 -> FETCH_HEAD 2024-05-02T21:34:48.430414881Z 2024-05-02T21:34:48.468756854Z HEAD is now at 38e63c4 Initial commit 2024-05-02T21:34:48.469428973Z 2024-05-02T21:34:48.558392345Z 2024-05-02T21:34:48.558759725Z Using v2 root directory strategy 2024-05-02T21:34:48.586629905Z Success: Finished cloning repository files 2024-05-02T21:34:50.237306669Z Checking for configuration in a wrangler.toml configuration file (BETA) 2024-05-02T21:34:50.238054514Z 2024-05-02T21:34:50.350206899Z No wrangler.toml file found. Continuing. 2024-05-02T21:34:50.508397393Z Detected the following tools from environment: yarn@3.6.3, nodejs@18.17.1 2024-05-02T21:34:50.50889897Z Installing project dependencies: yarn 2024-05-02T21:34:51.139263126Z ➤ YN0070: Migrating from Yarn 1; automatically enabling the compatibility node-modules linker 👍 2024-05-02T21:34:51.139621342Z 2024-05-02T21:34:51.240058641Z ➤ YN0000: ┌ Resolution step 2024-05-02T21:34:51.877857917Z ➤ YN0061: │ core-js@npm:3.21.1 is deprecated: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js. 2024-05-02T21:34:52.41454375Z ➤ YN0061: │ @quasar/app@npm:3.3.3 is deprecated: Deprecated. Should switch from @quasar/app v3 to @quasar/app-webpack v3 instead, which is the direct (and non breaking-change) continuator. 2024-05-02T21:34:52.889080688Z ➤ YN0061: │ webpack-chain@npm:6.5.1 is deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. 2024-05-02T21:34:53.312181153Z ➤ YN0032: │ fsevents@npm:2.3.2: Implicit dependencies on node-gyp are discouraged 2024-05-02T21:34:53.732217168Z ➤ YN0061: │ @babel/plugin-proposal-json-strings@npm:7.16.7 is deprecated: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-json-strings instead. 2024-05-02T21:34:53.785129974Z ➤ YN0061: │ @babel/plugin-proposal-export-namespace-from@npm:7.16.7 is deprecated: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-export-namespace-from instead. 2024-05-02T21:34:53.788355016Z ➤ YN0061: │ @babel/plugin-proposal-numeric-separator@npm:7.16.7 is deprecated: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-numeric-separator instead. 2024-05-02T21:34:53.79439956Z ➤ YN0061: │ @babel/plugin-proposal-class-properties@npm:7.16.7 is deprecated: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead. 2024-05-02T21:34:55.360162957Z ➤ YN0061: │ @babel/plugin-proposal-dynamic-import@npm:7.16.7 is deprecated: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-dynamic-import instead. 2024-05-02T21:34:55.39472923Z ➤ YN0061: │ @babel/plugin-proposal-class-static-block@npm:7.17.6 is deprecated: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-static-block instead. 2024-05-02T21:34:55.402738854Z ➤ YN0061: │ @babel/plugin-proposal-private-property-in-object@npm:7.16.7 is deprecated: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-private-property-in-object instead. 2024-05-02T21:34:55.429550682Z ➤ YN0061: │ @babel/plugin-proposal-private-methods@npm:7.16.11 is deprecated: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-private-methods instead. 2024-05-02T21:34:55.440860235Z ➤ YN0061: │ @babel/plugin-proposal-logical-assignment-operators@npm:7.16.7 is deprecated: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-logical-assignment-operators instead. 2024-05-02T21:34:55.445013624Z ➤ YN0061: │ @babel/plugin-proposal-optional-catch-binding@npm:7.16.7 is deprecated: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-catch-binding instead. 2024-05-02T21:34:55.47020484Z ➤ YN0061: │ @babel/plugin-proposal-nullish-coalescing-operator@npm:7.16.7 is deprecated: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead. 2024-05-02T21:34:55.47573794Z ➤ YN0061: │ @babel/plugin-proposal-async-generator-functions@npm:7.16.8 is deprecated: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-async-generator-functions instead. 2024-05-02T21:34:55.479130344Z ➤ YN0061: │ @babel/plugin-proposal-optional-chaining@npm:7.16.7 is deprecated: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead. 2024-05-02T21:34:55.510051908Z ➤ YN0061: │ @babel/plugin-proposal-unicode-property-regex@npm:7.16.7 is deprecated: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-unicode-property-regex instead. 2024-05-02T21:34:55.580085483Z ➤ YN0061: │ @babel/plugin-proposal-object-rest-spread@npm:7.17.3 is deprecated: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead. 2024-05-02T21:34:55.881993385Z ➤ YN0061: │ sourcemap-codec@npm:1.4.8 is deprecated: Please use @jridgewell/sourcemap-codec instead 2024-05-02T21:34:56.069741233Z ➤ YN0061: │ stable@npm:0.1.8 is deprecated: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility 2024-05-02T21:35:01.715614352Z ➤ YN0002: │ @quasar/babel-preset-app@npm:2.0.1 doesn't provide webpack (p2b9a9), requested by babel-loader 2024-05-02T21:35:01.715884051Z ➤ YN0002: │ hikari-search@workspace:. doesn't provide @babel/core (p3f267), requested by @babel/eslint-parser 2024-05-02T21:35:01.716099905Z ➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code 2024-05-02T21:35:01.720437887Z ➤ YN0000: └ Completed in 10s 480ms 2024-05-02T21:35:01.788285469Z ➤ YN0000: ┌ Post-resolution validation 2024-05-02T21:35:01.788898866Z ➤ YN0028: │ The lockfile would have been modified by this install, which is explicitly forbidden. 2024-05-02T21:35:01.788921902Z ➤ YN0000: └ Completed 2024-05-02T21:35:01.789377585Z ➤ YN0000: Failed with errors in 10s 551ms 2024-05-02T21:35:01.898234636Z Error: Exit with error code: 1 2024-05-02T21:35:01.898373289Z at ChildProcess.<anonymous> (/snapshot/dist/run-build.js) 2024-05-02T21:35:01.898396181Z at Object.onceWrapper (node:events:652:26) 2024-05-02T21:35:01.898850768Z at ChildProcess.emit (node:events:537:28) 2024-05-02T21:35:01.898870436Z at ChildProcess._handle.onexit (node:internal/child_process:291:12) 2024-05-02T21:35:01.909451892Z Failed: build command exited with code: 1 2024-05-02T21:35:05.604082Z Failed: error occurred while running build command

maotuworkroom commented 6 months ago

看看报错,这个项目很久没有维护了没法正常部署很正常

麻烦大佬啦 感谢感谢!

mnixry commented 6 months ago

cloudflare 莫名其妙用上了 yarn v2 很奇怪

暂时搞不定这个