Skip to content
This repository was archived by the owner on Feb 2, 2021. It is now read-only.
This repository was archived by the owner on Feb 2, 2021. It is now read-only.

Browser tab stalled on application load.  #36

@levibostian

Description

@levibostian

I upgraded my site to the newest version of nuxtent (v0.2.57). When I run nuxt build, my site successfully builds and the command succeeds.

When I then run nuxt start, my nuxt server starts up successfully and listens for me to connect.

When I open my browser, open up to 127.0.0.1:3000/ like I have it configured to, I successfully call the nuxt web server and it begins fetching data and rendering to me successfully. This is good because in a previous version of nuxtent, my site was not working giving me the error:

site_1  | [Vue warn]: Error in render function: "TypeError: Cannot read property 'sort' of undefined"
site_1  |
site_1  | found in
site_1  |
site_1  | ---> <Anonymous>
site_1  |        <Nuxt>
site_1  |          <Anonymous>
site_1  |            <Root>

This seems to be solved in the newest version of nuxtent. However, my browser tab seems to stall. My application in the browser runs out of memory. The progress bar of my browser tab continuously spins, I cannot scroll at all, cannot click anything on my webpage. I cannot do anything. I open up the console, nothing is outputting.

If I close the browser tab within ~5 seconds I am able to wait a couple seconds and then my browser will close the tab. If I wait >10 seconds, however, my browser gets killed. I cannot go to different tabs, I cannot do anything with my browser and I have to force kill the tab.

The output of nuxt doesn't seem to be too weird:

/content-api GET http://127.0.0.1:3000/
   Response sent successfully.
/content-api GET http://127.0.0.1:3000/
   Response sent successfully.
/content-api GET http://127.0.0.1:3000/
   Response sent successfully.
/content-api GET http://127.0.0.1:3000/
   Response sent successfully.
/content-api GET http://127.0.0.1:3000/
   Response sent successfully.
/content-api GET http://127.0.0.1:3000/
   Response sent successfully.
/content-api GET http://127.0.0.1:3000/
   Response sent successfully.
/content-api GET http://127.0.0.1:3000/
   Response sent successfully.
/content-api GET http://127.0.0.1:3000/
   Response sent successfully.
  nuxt:render Data fetching /: 186ms +191ms
  nuxt:render Rendering url /undefined +1s
/content-api GET http://127.0.0.1:3000/undefined
   Page not found.
  nuxt:render Data fetching /undefined: 8ms +14ms

No warnings or errors.

You can pull/view my code on this branch and this commit to see for yourself if you wish.

This question is available on Nuxt.js community (#c35)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions