Tag Archives: npm report error

NPM warn optional skipping optional dependency: 1 [email protected] (node_ modules\fsevents):

when executing NPM install may report the following error:

NPM WARN optional Tours DEPENDENCY: fsevents@node_modules \fsevents> :
NPM WARN notsup Tours optional Tours DEPENDENCY: Unsupported platform for [email protected]: wanted {“os”:”darwin”,”arch”:”any”} (current: {“os”:”win32″,”arch”:”x64″})

query found that fsevent is MAC system, used in win or Linux, so there will be a warning, ignore it. The function of FSEvent is to detect the change of file directory, can record the illegal operation of the malware, obtain the full path of the malware, delete and modify date.