Vercel deploy problem

Asked

Viewed 65 times

0

I have a problem at Vercel’s. I always published projects that use pure javascript, but recently I joined the world of Vue.js and everything was going well, until I migrated to Nuxt.js My Nuxt Projects (SSR) make this mistake. inserir a descrição da imagem aqui

At first many mistakes happened, but I believe I was fixing them one by one, because even the Babel one that said I exceeded the size with the Bootstrap-Vue icon (which I don’t even use) doesn’t appear anymore. I’ll send the log of Vercel, but the problems that had seems to be gone (or only n appear more right).

15:50:36.008    Cloning completed: 455.463ms
15:50:36.024    Analyzing source code...
15:50:36.031    Warning: Due to `builds` existing in your configuration file, the Build and Development Settings defined in your Project Settings will not apply. Learn More: https://vercel.link/unused-build-settings
15:50:37.400    Installing build runtime...
15:50:38.635    Warning: ${builderRegistry.nameAndWarning}: ${builderRegistry.deprecated}
15:50:41.102    Build runtime installed: 3.701s
15:50:44.003    Looking up build cache...
15:50:44.409    Build cache found. Downloading...
15:50:47.092    Build cache downloaded [44.94 MB]: 2682.603ms
15:50:48.219    [log]  ----------------- Prepare build ----------------- 
15:50:48.219    [log] Downloading files...
15:50:48.302    [log] Working directory: /vercel/path1
15:50:48.308    [log] Using npm
15:50:48.309    [info] Prepare build took: 90.056106 ms
15:50:48.309    [log]  ----------------- Install devDependencies ----------------- 
15:50:48.310    [log] Running npm install
15:51:00.244    npm WARN [email protected] requires a peer of [email protected] - 3 but none is installed. You must install peer dependencies yourself.
15:51:00.250    npm WARN [email protected] requires a peer of worker-loader@^3.0.7 but none is installed. You must install peer dependencies yourself.
15:51:00.260    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
15:51:00.260    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
15:51:00.267    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/watchpack-chokidar2/node_modules/fsevents):
15:51:00.267    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
15:51:00.268    added 11 packages from 3 contributors, removed 1 package, updated 11 packages and audited 1297 packages in 11.491s
15:51:00.753    97 packages are looking for funding
15:51:00.753      run `npm fund` for details
15:51:00.754    found 13 vulnerabilities (2 moderate, 10 high, 1 critical)
15:51:00.754      run `npm audit fix` to fix them, or `npm audit` for details
15:51:00.771    [info] Install devDependencies took: 12461.963506 ms
15:51:00.772    [log]  ----------------- Nuxt build ----------------- 
15:51:00.795    [log] Running nuxt build --standalone --no-lock --config-file "nuxt.config.js"
15:51:37.681    [info] Nuxt build took: 36909.652273 ms
15:51:37.682    [log]  ----------------- Install dependencies ----------------- 
15:51:37.683    [log] Running npm install
15:51:41.813    npm WARN [email protected] requires a peer of [email protected] - 3 but none is installed. You must install peer dependencies yourself.
15:51:41.819    npm WARN [email protected] requires a peer of worker-loader@^3.0.7 but none is installed. You must install peer dependencies yourself.
15:51:41.943    audited 170 packages in 3.802s
15:51:41.994    13 packages are looking for funding
15:51:41.994      run `npm fund` for details
15:51:41.995    found 1 critical severity vulnerability
15:51:41.995      run `npm audit fix` to fix them, or `npm audit` for details
15:51:42.011    [info] Install dependencies took: 4329.933677 ms
15:51:42.012    [log]  ----------------- Collect artifacts ----------------- 
15:51:49.307    [info] Collect artifacts took: 7294.241027 ms
15:51:50.088    Uploading build outputs...
15:51:50.088    Deploying build outputs...
15:51:57.876    Build completed. Populating build cache...
15:51:57.877    [log]  ----------------- Collect cache ----------------- 
15:51:57.882    [info] 0 files collected from .now_cache
15:51:59.672    [info] 25373 files collected from node_modules_dev
15:52:00.180    [info] 6527 files collected from node_modules_prod
15:52:00.184    [info] Collect cache took: 2307.269282 ms
15:52:10.192    Uploading build cache [44.87 MB]...
15:52:12.835    Build cache uploaded: 2.643s
15:52:13.352    Done with "nuxt.config.js"

Solutions I have tried: -> I created the now.json file -> I also put this in nuxt.config.js build: { babel: { compact: true } } -> I also put this in nuxt.config.js export default { target: 'static' } -> and finally removed from . gitignore the dist folder.

From these above, I removed again the targer: 'Static'

  • @Danizavtz thanks for the tip. I just did that.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.