Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WARNING in asset size limit: The following asset(s) exceed the recommended size limit (300 kB) #3879

Closed
begueradj opened this issue Sep 12, 2018 · 2 comments
Labels

Comments

@begueradj
Copy link

begueradj commented Sep 12, 2018

I am trying to deploy my Nuxt.js/Vuetify app on Gitlab.

I am getting this issue:

pages/index.9db655cf9906c2010410.js  8.68 kB       1  [emitted]         pages/index
vendor.a07c6bfdaaaf94137083.js   489 kB       2  [emitted]  [big]  vendor
app.324e27f17fe79caa5d9b.js   264 kB       3  [emitted]         app
manifest.c967da4e088cb186de26.js  1.48 kB       4  [emitted]         manifest
                               LICENSES  78.2 kB          [emitted]         
 + 3 hidden assets

WARNING in asset size limit: The following asset(s) exceed the recommended size limit (300 kB).
This can impact web performance.
Assets: 
  vendor.a07c6bfdaaaf94137083.js (489 kB)
Hash: f417adf5a29354a1b343
Version: webpack 3.12.0
Time: 2267ms
             Asset    Size  Chunks             Chunk Names
server-bundle.json  418 kB          [emitted]  
2018-09-12T10:33:22.028Z nuxt: Call generate:distRemoved hooks (1)
2018-09-12T10:33:22.028Z nuxt:generate Destination folder cleaned
2018-09-12T10:33:22.034Z nuxt: Call generate:distCopied hooks (1)
2018-09-12T10:33:22.034Z nuxt:generate Static & build files copied
2018-09-12T10:33:22.037Z nuxt:render Rendering url /
2018-09-12T10:33:24.320Z nuxt: Call generate:page hooks (1)
2018-09-12T10:33:24.321Z nuxt:generate Generate file: /index.html
2018-09-12T10:33:24.324Z nuxt:render Rendering url /
2018-09-12T10:33:24.325Z nuxt: Call generate:done hooks (1)
2018-09-12T10:33:24.326Z nuxt:generate HTML Files generated in 24.5s
2018-09-12T10:33:24.326Z nuxt:generate Generate done
Creating cache default...
node_modules/: found 22322 matching files          
Uploading cache.zip to http://runners-cache-3-internal.gitlab.com:444/runner/project/8345221/default 
Created cache
Uploading artifacts...
WARNING: public: no matching files                 
ERROR: No files to upload                          
Job succeeded

enter image description here

I increased the chunk size limit as described here:

// nuxt.config.json

  build: {
    maxChunkSize: 400000
  },

But in vain.

Any hints?

This question is available on Nuxt community (#c7726)
@ghost ghost closed this as completed Sep 12, 2018
@ghost ghost added the cmty:question label Sep 12, 2018
@ghost
Copy link

ghost commented Sep 12, 2018

This issue as been imported as question since it does not respect nuxt.js issue template. Only bug reports and feature requests stays open to reduce maintainers workload.
If your issue is not a question, please mention the repo admin or moderator to change its type and it will be re-opened automatically.
Your question is available at https://cmty.app/nuxt/nuxt.js/issues/c7726.

@lock
Copy link

lock bot commented Oct 31, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Oct 31, 2018
@danielroe danielroe added the 2.x label Jan 18, 2023
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants