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

error in node_modules

Screenshot from 2023-01-24 16-48-41.png how to fix this error without doing npm install

1 Reply

KR Keerthana Rajendran Syncfusion Team January 26, 2023 06:57 AM UTC

Hi Himanshu,

We have evaluated the reported issue based on the screenshot provided and suspect that the issue occurs due to referring the path of the style with an additional (../) symbol in your application. We can resolve this issue by referring to the below example.

The issue occurs due to referring the path as shown below.

@import '../../node_modules/@syncfusion/ej2-base/styles/material.css';


To resolve this issue please refer to the path shown below.

@import '../node_modules/@syncfusion/ej2-base/styles/material.css'; 

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


Keerthana R.

Live Chat Icon For mobile
Up arrow icon