Error when install ej2-vue-layouts

Hi 

I am trying to install the ej2-vue-layouts to use dashboardlayout.

After I run : 

npm install @syncfusion/ej2-vue-layouts --save

Got the error:

npm WARN deprecated [email protected]: "Please update to latest v2.3 or v2.2"

npm WARN deprecated [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.

npm WARN rollback Rolling back [email protected] failed (this is probably harmless): UNKNOWN: unknown error, lstat 'C:\Users\mc29906\OneDrive - McDonalds Corp\Desktop\HTML5\vue20200506\vue\node_modules\connect-history-api-fallback'

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules\chokidar\node_modules\fsevents):

npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules\watchpack-chokidar2\node_modules\chokidar\node_modules\fsevents):

npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules\webpack-dev-server\node_modules\chokidar\node_modules\fsevents):

npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

npm WARN [email protected] requires a peer of [email protected] - 3 but none is installed. You must install peer dependencies yourself.

npm WARN @syncfusion/[email protected] requires a peer of vue-class-component@^8.0.0-rc.1 but none is installed. You must install peer dependencies yourself.


Any advice on this matter? 


Thanks

Fan



2 Replies

FZ Fan Zhang January 11, 2022 08:31 PM UTC

What I found out is  : fsevents is only needed if you are building on a Mac. If you are deploying to ubuntu, windows, etc it's not needed.


I am deploying on windows, don't know why fsevents is need when install the layouts.


Thanks

Fan



SA Shameer Ali Baig Sulaiman Ali Baig Syncfusion Team January 12, 2022 10:42 AM UTC

Hi Fan, 

We have validated your reported problem by creating a Vue 3 sample with Dashboard Layout. But, we were unable to replicate your reported problem as it works and Dashboard Layout renders properly without any issues. 

Please find our validation sample in the below link. 

 
If your reported problem still persists, then please revert by replicating your problem in the attached sample or provide us an issue replicated application/your code files. It would help us to provide you the prompt solution. 

Regards, 
Shameer Ali Baig S. 


Loader.
Up arrow icon