We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Version 20.3.48+ give "TypeError: Object prototype may only be an Object or null: undefined at setPrototypeOf (<anonymous>)"

Every time, updating syncfusion vue components is a really painful task. This time I'm getting a strange error during tests and I can't use the new version.


    TypeError: Object prototype may only be an Object or null: undefined

        at setPrototypeOf (<anonymous>)


The old version "20.3.47" was working fine, but I'm not able to install it in the example repo because it gets the new sub-components with the but inside them.

Tried today with "20.3.49" but same error.

You can try with this repo: https://github.com/dennybiasiolli/vue27-syncfusion-bug

  • - clone the repo
  • `npm install`
  • `npm run test:unit -- -u`

9 Replies

DE Denny October 12, 2022 02:54 AM

If you need more details about this: just try with this test code, it's breaking during the import.

import { Toolbar } from '@syncfusion/ej2-vue-grids';

describe('Fake test', () => {
it('does not work', () => {

DE Denny October 12, 2022 03:08 AM

Same error, in jest tests, if

import foo from '@syncfusion/ej2-vue-base';

DE Denny October 12, 2022 07:45 AM

It seems the problem started with the `ej2-vue-base` 20.3.48 package.

The problem is this commit: https://github.com/syncfusion/ej2-vue-ui-components/commit/08dac8fc4af9c9a92621e37923fc7268f9f35de3#diff-8ce065eecc2fb15bf911535d1b27f523b3768918cb9a3d98e6cbb1e83c2ffab9

You changed `components/base/src/component-base.ts` without even testing.

DE Denny October 12, 2022 07:50 AM

Suggestion on how to fix the issue here: https://github.com/syncfusion/ej2-vue-ui-components/issues/91

DE Denny October 12, 2022 08:28 AM

Maybe it's not even that, but something else in the build process of `dist` files.

I don't know how to help more, let me know if you need something else

RS Ragunath Sukumaran Syncfusion Team October 13, 2022 10:13 AM

Hi Denny,

We are validating your reported query, but we need some time for validation. So we will update you the further details on tomorrow(14th October 2022).

We appreciate your patience until then.

Ragunath S

RS Ragunath Sukumaran Syncfusion Team October 14, 2022 09:29 AM

Hi Denny,

Sorry for the inconvenience caused.

We have considered this as a bug at our end, we will fix this issue in our upcoming weekly patch release which is scheduled to roll out in the 18th of October 2022. Please refer to the below feedback link to track the status of this issue.


We appreciate your patience until.

Ragunath S

DE Denny October 18, 2022 10:12 AM

It's working with the new v20.3.50, thank you

JS Jamuna Sundaram Syncfusion Team October 19, 2022 01:44 AM

Hi Denny,

Thanks for the update.

Please get back to us if you have any queries.

jamuna Sundaram

Live Chat Icon For mobile
Up arrow icon