Hi,
My name is Raj, I am using Next.js on top of React.js and I get the error ReferenceError: window is not defined. And @syncfusion/ej2-base/dist/ej2-base.umd.min.js is using window How Can I solve that.
Hi Dharaksinh,
We have Validated your query and we have considered this as a bug at our end it will be included with our upcoming weekly patch release which is scheduled on 12th April 2022. So, we request you to keep track of the status through the below feedback link.
We appreciate your patience until then.
Regards,
Gokul
Hi Dharaksinh,
Thanks for being patience.
We are glad to announce that our weekly patch release v20.1.48 has been rolled out successfully. The reported bug has been fixed in this release. As a result, we recommend you upgrade to the latest version of our Syncfusion package to avail this fix.
Release Notes: https://ej2.syncfusion.com/react/documentation/release-notes/20.1.48/?type=all
Kindly check the reported defect in the latest version and get back to us if you need any further assistance.
Regards,
Gokul
I also get this same error when refreshing my browser page in my documenteditor (when using nextjs development mode with npm run dev). Is this something that can be a potential bug that is generated but overlooked? It says :
Server Error
ReferenceError: navigator is not defined
Hi Paul,
Currently ,we are evaluating your reported scenario. Since, this error occur due to the nextjs have released a new feature in the
latest version .So We need some additional time validate on this issue And we
will update further details on 19 December 2022.
We appreciate your patience until then.
Regards
Jamuna Sundaram
Hi Paul,
We need additional timeline to validate this issue. We will update further details on this by December 22, 2022
Regards,
Dhanush Sekar
Hi Paul,
We have confirmed the reported issue as a defect and logged a defect report. We will fix this issue in our EJ2 patch release, which is scheduled for the third week of January.
You can track the status of the bug through the below feedback link:
https://www.syncfusion.com/feedback/39992/referenceerror-navigator-is-not-defined
Disclaimer: “Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.”
Regards,
Dhanush Sekar
I also found a new bug which broke my editor. The error message occurred when I was setting up the import functionality for different document formats (such as docx formats).
I already tried deleting the code for the import, but the error is still there.
Hi Paul,
Currently ,we are evaluating your reported scenario and will update the details by January 11, 2023.
Regards,
Kavitha M
Hi Paul,
For further validation, can you please share with us the sample document that you try to import at your end? It will help us to find the exact root cause and to provide the appropriate solution at the earliest possible time.
Regards,
Kavitha M
Hi Dharaksinh,
we are glad to announce that our patch release (v20.4.44) is rolled out successfully. In this release, we have added the fix for the reported issue.
Please upgrade to the latest version packages to resolve this issue.
https://www.npmjs.com/package/@syncfusion/ej2-documenteditor
https://www.npmjs.com/package/@syncfusion/ej2-react-documenteditor
NuGet link:
https://www.nuget.org/packages/Syncfusion.Ej2.Wordeditor.ASPNet.Core/
https://www.nuget.org/packages/Syncfusion.Ej2.Wordeditor.ASPNet.MVC5/
Feedback Link: https://www.syncfusion.com/feedback/39992/referenceerror-navigator-is-not-defined
Please let us know if you need any further assistance.
Regards,
Kavitha M
I am using the library in my next js project and throwing error when i want to use spakrline component. Kindly provide me solution.
Hi Rafaqat,
For your last query, we have created a new forum under your account. Please follow the below forum for further updates.
https://www.syncfusion.com/forums/180638/sparkline-component-query-branched-from-forum-174163