Skip to content

[nuxt] Error while initializing app DOMException: Failed to execute 'appendChild' on 'Node': This node type does not support this method. #2004

@atmar

Description

@atmar

I'm having a lot of trouble getting my dev environment to work in production. The latest error I'm receiving is
[nuxt] Error while initializing app DOMException: Failed to execute 'appendChild' on 'Node': This node type does not support this method."
on a specific page when I reload the page ( don't have it while navigating).

<template>
  <div class="ui two column stackable grid">
      <div class="ten wide column">
        <div class="ui row requirements">/div>
      </div>
  </div>
</template>

The very strange thing is that if I remove the class "ui row requirements", that I don't receive the error anymore. Which results into :

<template>
  <div class="ui two column stackable grid">
    <div class="ten wide column">
    </div>
  </div>
</template>

I just use npm run build & npm run start to start the app in production on my live server.
Doing this on my local PC doesn't give me this erorr. Checked both npm, nodejs version & installed packages and they are all the same on both my PC and the live server.
For what it matters, the live server uses nginx (https://engintron.com/).
I've searched the whole day and can't figure this one out.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions