lifeRestart icon indicating copy to clipboard operation
lifeRestart copied to clipboard

在Vercel中部署失败

Open ghost opened this issue 2 years ago • 1 comments

日志如下

17:54:26.376 Cloning github.com/gd1214b/lifeRestart (Branch: master, Commit: 652c88a) 17:54:26.867 Cloning completed: 491.449ms 17:54:26.884 Analyzing source code... 17:54:28.621 Installing build runtime... 17:54:30.934 Build runtime installed: 2.312s 17:54:33.803 Looking up build cache... 17:54:34.114 Build Cache not found 17:54:35.228 Detected package.json 17:54:35.228 Installing dependencies... 17:54:35.466 yarn install v1.22.11 17:54:35.523 [1/4] Resolving packages... 17:54:35.717 [2/4] Fetching packages... 17:54:41.396 info [email protected]: The platform "linux" is incompatible with this module. 17:54:41.397 info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation. 17:54:41.401 [3/4] Linking dependencies... 17:54:44.400 [4/4] Building fresh packages... 17:54:44.619 Done in 9.16s. 17:54:44.822 Running "yarn run build" 17:54:44.997 yarn run v1.22.11 17:54:45.024 $ webpack --mode production 17:54:48.207 asset bundle.js 754 KiB [emitted] [minimized] [big] (name: main) 17:54:48.207 orphan modules 97.2 KiB [orphan] 8 modules 17:54:48.208 runtime modules 221 bytes 1 module 17:54:48.208 modules by path ./node_modules/core-js/internals/.js 102 KiB 137 modules 17:54:48.208 modules by path ./node_modules/core-js/modules/.js 68.3 KiB 33 modules 17:54:48.208 ./src/index.js + 8 modules 99 KiB [built] [code generated] 17:54:48.208 ./node_modules/regenerator-runtime/runtime.js 24.3 KiB [built] [code generated] 17:54:48.208 WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB). 17:54:48.208 This can impact web performance. 17:54:48.208 Assets: 17:54:48.208 bundle.js (754 KiB) 17:54:48.208 WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance. 17:54:48.208 Entrypoints: 17:54:48.208 main (754 KiB) 17:54:48.209 bundle.js 17:54:48.209 WARNING in webpack performance recommendations: 17:54:48.209 You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application. 17:54:48.209 For more info visit https://webpack.js.org/guides/code-splitting/ 17:54:48.209 webpack 5.51.2 compiled with 3 warnings in 2596 ms 17:54:48.225 Done in 3.23s. 17:54:48.242 Error: No Output Directory named "_site" found after the Build completed. You can configure the Output Directory in your Project Settings. Learn More: https://vercel.link/missing-public-directory

ghost avatar Sep 09 '21 09:09 ghost

设置里面 我自己加了一个redirect

so1ve avatar Sep 13 '21 12:09 so1ve