syncfusion / ej2-vue-ui-components

Syncfusion Vue UI component library offer more than 50+ cross-browser, responsive, and lightweight vue UI controls for building modern web applications.

Home Page:https://www.syncfusion.com/vue-ui-components

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nuxt static pages doesn't work since 19.1.54

waiyanmintun opened this issue · comments

Dear Syncfusion Team,
After upgrading to 19.1.54, 19.1.56 from 18.4, nuxt static pages does not work anymore. It works fine in dev mode, but brick after generate and serve static pages.

Here are a few steps to reproduce.

  • npx create-nuxt-app nuxtapp
  • npm install @syncfusion/ej2-vue-treegrid
  • import TreeGridPlugin in index.vue
  • npm run generate
  • npm run start
  • The page doesn't load anymore.
  • importing in nuxt plugin also doesn't work.

Console error log

TypeError: Object prototype may only be an Object or null: undefined
at setPrototypeOf (<anonymous>)

Environment

  • Mac mini (M1, 2020)
  • macOS 11.2.3
  • VS Code Insiders Version 1.56.0
  • npm 6.14.11
  • Google Chrome Version 89.0.4389.128 (Official Build) (arm64)

I've also attached package.json and index.vue.

Regards,
Wai Yan

package.json.txt
index.vue.txt

I have the same error

Hi waiyanmintun & haiago,

Thanks for using Syncfusion products.

We are able to replicate the problem in our Syncfusion TreeGrid component. We are glad to inform that v19.1.58 has been rolled out and the fix for the issue “Script Error throws when we run TreeGrid componenet in production mode” has been included in this release. Kindly upgrade into v19.1.58 to resolve the problem.

Refer to the release notes Link:-
https://ej2.syncfusion.com/documentation/release-notes/19.1.58/?type=all#tree-grid

Please get back to us if you need any further assistance.

Regards,
Farveen sulthana T

We are closing this issue since there is no recent activity. Feel free to reopen this and update your comments for the reinvestigation.

The same error happened with 19.4.53 nuxt 2.15.7